From owner-freebsd-questions@freebsd.org Sun Jun 11 00:05:07 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1D54DBF9014 for ; Sun, 11 Jun 2017 00:05:07 +0000 (UTC) (envelope-from friedrich.locke@gmail.com) Received: from mail-qt0-x242.google.com (mail-qt0-x242.google.com [IPv6:2607:f8b0:400d:c0d::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BF57367762 for ; Sun, 11 Jun 2017 00:05:06 +0000 (UTC) (envelope-from friedrich.locke@gmail.com) Received: by mail-qt0-x242.google.com with SMTP id s33so20647351qtg.3 for ; Sat, 10 Jun 2017 17:05:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-transfer-encoding; bh=7ZGcNKB7dLsuUDtgdagrl863egSEVno00IdLAp1iP04=; b=c2bRcL1of64PkYKPRH7rJy7LA4kchZts2u2EFLCpzBJGqj8h0ljP6fdXdvMSQOmYJs BZqtEI56bqqdns+pZSvmAsWvjT0JK9qpxiOnCtXc6ryaAQCih24S/MK9bKO4Y918ypdD gd0W0JAqXGMEJFPwXvUYZTA/w5YD89Qsk1V+nGmOgGeDgX1dOQetIWyDpmWFZSrsigDM 0j+/JhEMq3G+TBsSHVBiP1wxdk44UeBCuFAnpnqU5BBNSIoL/FlAEGdtlF3mU1O64NwW u9sJ7lqJMVnuoYUfaq9Xa8nFH5yUlXYk/dMzvVDClwKp66Qq40w8WPykFRWG3mLRustr tlPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-transfer-encoding; bh=7ZGcNKB7dLsuUDtgdagrl863egSEVno00IdLAp1iP04=; b=UY4wFLJD/g1DkIEXju9UbLA/HrEjW4JnHHLdFnPkHNNpaEtNsZzOwzB96gLCWVib0p CN/Ww13u2NdzUnNwdF5rcwhw/23YlIXitNLuzuYUGUoTs7QLBFRMz4TyPvFYbh03nVCt KWxsjl4ok6CznTK7ly8nUfXPLWk6cPu/BYLseF5RlLFaKrOG+/QoZIv9qHvBaJT0kjVj 7Bd6ZnZhxdloofp1vxUKR9QNeenLwbNgJ4rCHPWGiB0W5iJenEvd41SmXPhH6wqP5hSo 2HTGGyC9LegnP6GUYPFPYF7sJeblUL0NdcFunycCQdddONLnfSwefKFwra1nbeqVkVT1 lAZw== X-Gm-Message-State: AODbwcBiGA/1gPnwJA7zazM5bE6ZnwenkVQlMB0wgqfknshk0z/yPbPD LJByCTp0ddR7jg== X-Received: by 10.200.46.167 with SMTP id h36mr11000698qta.96.1497139505987; Sat, 10 Jun 2017 17:05:05 -0700 (PDT) Received: from [192.168.0.103] (186-247-54-119.user.veloxzone.com.br. [186.247.54.119]) by smtp.gmail.com with ESMTPSA id m3sm3569604qkd.58.2017.06.10.17.05.04 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 10 Jun 2017 17:05:05 -0700 (PDT) Message-ID: <593C892D.4070200@gmail.com> Date: Sat, 10 Jun 2017 21:05:01 -0300 From: Friedrich Locke User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Serpent7776 , freebsd-questions@freebsd.org Subject: Re: -O2 flag References: <593C4679.5010104@gmail.com> <20170610230928.581e3cf9@DaemONX> In-Reply-To: <20170610230928.581e3cf9@DaemONX> 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 00:05:07 -0000 Here you have it: gustav# cc --version FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0) Target: x86_64-unknown-freebsd11.0 Thread model: posix InstalledDir: /usr/bin gustav# Em 10/06/2017 18:09, Serpent7776 escreveu: > On Sat, 10 Jun 2017 16:20:25 -0300 > Friedrich Locke wrote: > >> Hi folks, >> >> i am trying compile a program with cc on freebsd 11. >> When i use -O2 compilation flag, the compiled code is giving error on >> execution, but with i omit -O2 everything works ok. >> >> Have anybody already faced such problem ? > Yes, a few times in the past. Your code may have hidden bug which is triggered > only with optimizations enabled. It might be relying on some kind of undefined > behaviour. > Unfortunately, I don't have any helpful advices on how to find this error - > try enabling all compiler warnings flags. > I'd suspect a bug in your code rather than a bug in compiler, but the latter is > not impossible. > >> Thanks in advance. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > From owner-freebsd-questions@freebsd.org Sun Jun 11 00:25:09 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7DC64BF980A for ; Sun, 11 Jun 2017 00:25:09 +0000 (UTC) (envelope-from friedrich.locke@gmail.com) Received: from mail-qk0-x243.google.com (mail-qk0-x243.google.com [IPv6:2607:f8b0:400d:c09::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 35D6D68217 for ; Sun, 11 Jun 2017 00:25:09 +0000 (UTC) (envelope-from friedrich.locke@gmail.com) Received: by mail-qk0-x243.google.com with SMTP id d14so4129080qkb.1 for ; Sat, 10 Jun 2017 17:25:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-transfer-encoding; bh=JM3So1IB/qvZ+wRwg3i0KyP+Euv9or3f6R1/m0phErY=; b=nLOv9Aiur0gpxUNwCU6nLb5stIj12pSD4qu6P6lwt3sDg4k/amHWlKx0nlI26wy8SK CwN34iIh1R1BC0/cATOHLxJFpGY4GdyX5YrNj1YreH00/UZzRJFKQLvbr/iV2wGW/pxs +M9EpcAyZR1yhVCnrP5Hy0nkintIOr/HF39/xZjaShTAVeVLhhd+qFDPTYMXi1XYvqx3 vWWCOvLA28TWa5Qxhe25WgmyNlAksu9XUQkSvQr8ebipXMCmcTxQ4r/J7/SS5HHOLdh1 3VTbf0QJrDd4nmaj5N9DYXdFMq4DUwbFHs0KLh1auZx2AOYJPOLJpUtHeCbGVc8RSPXP erEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-transfer-encoding; bh=JM3So1IB/qvZ+wRwg3i0KyP+Euv9or3f6R1/m0phErY=; b=PUw89U+ZEPxIXteakWL3LHXeqtl35a22tBUKYg406sqG4UKwR+EVbB0RqWWoBdwsnZ fbY1xEFxXjwhn3/grqdW4zxXdkSxIojqe5y3TsiCUqve8OsculFjIBw8qAGr0UiO4UA3 XuRSMCx34qJ4fZWttV2yarXevhCjkkIMEaV/9+QHcFineVGozNEjS8gP9bH5Hl8icJcN iGS5erkrWI69B35AyhFiM3Uluu1b0y1GkGyt+mX1UxCOlvgO8ty51dfTCHv1TedfFa03 nxyTYAnsFhORGKcOTVKn8/nCKVwSIGEAYVpPhXexcmCZou2XBVDcAdK9KWGzZCy/0VL9 bLFA== X-Gm-Message-State: AKS2vOzGHep1rm/EwqWbRbT8HM8weWClu4OLkAVrjmA3434BwTOg+xeF QOQhfyIVih6mOhV+ X-Received: by 10.55.76.140 with SMTP id z134mr56496861qka.35.1497140708464; Sat, 10 Jun 2017 17:25:08 -0700 (PDT) Received: from [192.168.0.103] (186-247-54-119.user.veloxzone.com.br. [186.247.54.119]) by smtp.gmail.com with ESMTPSA id w81sm4169314qkg.23.2017.06.10.17.25.07 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 10 Jun 2017 17:25:08 -0700 (PDT) Message-ID: <593C8DE1.4060803@gmail.com> Date: Sat, 10 Jun 2017 21:25:05 -0300 From: Friedrich Locke User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Eduardo Morras , freebsd-questions@freebsd.org Subject: Re: -O2 flag References: <593C4679.5010104@gmail.com> <20170610223753.4e37600d2c32d0b689144e00@yahoo.es> In-Reply-To: <20170610223753.4e37600d2c32d0b689144e00@yahoo.es> 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 00:25:09 -0000 i switched to clan40, same error, i.e., it still persist. The problem is that open OpenBSD/amd64 6.1, "gcc -O2" works 100 %. What could it be the problem ? Em 10/06/2017 17:37, Eduardo Morras via freebsd-questions escreveu: > On Sat, 10 Jun 2017 16:20:25 -0300 > Friedrich Locke wrote: > >> Hi folks, >> >> i am trying compile a program with cc on freebsd 11. >> When i use -O2 compilation flag, the compiled code is giving error on >> execution, but with i omit -O2 everything works ok. >> >> Have anybody already faced such problem ? > > No, which compiler are you using? Which version? Are you using the last > version? It looks like a bug in the compiler, perhaps modifying your > code you can bypass it. > > In FreeBSD 11, the default cc is clang38, try with clang40. To install > it, use port llvm40, it includes clang40 now: > > #pkg install llvm40 > > and use clang40 instead cc. > >> Thanks in advance. > > HTH > > --- --- > Eduardo Morras > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Sun Jun 11 01:30:20 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2F5EDBFAAFC for ; Sun, 11 Jun 2017 01:30:20 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cdptpa-oedge", Issuer "cdptpa-oedge" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E922A6AB45 for ; Sun, 11 Jun 2017 01:30:19 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [65.186.81.207] ([65.186.81.207:41026] helo=raspberrypi.bildanet.com) by cdptpa-omsmta03 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id 02/59-00833-42D9C395; Sun, 11 Jun 2017 01:30:12 +0000 Received: from [192.168.1.143] (helo=desktop.example.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1dJrhk-0003wb-2y for freebsd-questions@freebsd.org; Sat, 10 Jun 2017 21:30:12 -0400 Subject: Re: Building base source To: FreeBSD Questions References: <44y3t19e5i.fsf@lowell-desk.lan> <872fe20f-fece-9980-2c8f-10e9492ab786@columbus.rr.com> <20170610052351.000ca108.freebsd@edvax.de> <20170611001151.d3d76bf8.freebsd@edvax.de> From: Baho Utot Message-ID: <9c41c5df-9874-3e37-8f8c-f58c63419887@columbus.rr.com> Date: Sat, 10 Jun 2017 21:30:11 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <20170611001151.d3d76bf8.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.88:25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 01:30:20 -0000 On 06/10/17 18:11, Polytropon wrote: > On Sat, 10 Jun 2017 09:40:37 -0400, Baho Utot wrote: >> >> >> On 06/09/17 23:23, Polytropon wrote: >>> On Fri, 9 Jun 2017 16:01:25 -0400, Baho Utot wrote: >>>> >>>> >>>> On 06/09/17 15:03, Lowell Gilbert wrote: >>>>> Baho Utot writes: >>>>> >>>>>> I am experimenting with building the base source. >>>>>> >>>>>> What do I need to set (which knobs) to be able to build the base >>>>>> source and have the binaries built into a home directory. >>>>>> >>>>>> The source will be in /usr/src but I want all the binaries and all >>>>>> other files produced by the build to goto in >>>>>> /usr/home/FreeBSD/base/target. >>>>>> >>>>>> Will it be a copy of want is installed in the / (root) filesystem? >>>>> >>>>> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html >>>>> >>>> >>>> I have already looked at that. That is why I have the questions. I >>>> want to build the base as a user and have it install its stuff into a >>>> subdirectory. >>> >>> There are two variables that you will need to set: the directory >>> where the build happens, and the one where the result from that >>> build will be written to. The solution is quite simple, and of >>> course already present in the build infrastructure: >>> >>> Set MAKEOBJDIRPREFIX and DESTDIR to locations where your $USER >>> has write access. >>> >>> >>> >> >> I want to build with a user so if I make a mistake ( very likely ) it >> will not damage the running system. I have found that make >> installkernel and installworld requires root user because it sets the >> user as root perms regardless of where the install is going. > > I think the main problem here is things like setuid; those > tasks cannot be performed by a non-root user. Maybe you can > check if a memebership in the groups wheel or operator is > sufficient? In worst case, use su, sudo, or super (while > having MAKEOBJDIRPREFIX and DESTDIR set to non-system > locations). > > The problem is that make installworld wants to chown to root:wheel which will not fly if you are not root. The setuid may be an additional issue. In linux one could still setuid will still not being root. From owner-freebsd-questions@freebsd.org Sun Jun 11 01:40:57 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D0CEBFB01B for ; Sun, 11 Jun 2017 01:40:57 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cdptpa-oedge", Issuer "cdptpa-oedge" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E8DD96E026 for ; Sun, 11 Jun 2017 01:40:56 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [65.186.81.207] ([65.186.81.207:41027] helo=raspberrypi.bildanet.com) by cdptpa-omsmta03 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id 25/CF-00833-0AF9C395; Sun, 11 Jun 2017 01:40:48 +0000 Received: from [192.168.1.143] (helo=desktop.example.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1dJrs0-0003wp-FZ for freebsd-questions@freebsd.org; Sat, 10 Jun 2017 21:40:48 -0400 Subject: Re: -O2 flag To: freebsd-questions@freebsd.org References: <593C4679.5010104@gmail.com> <20170610223753.4e37600d2c32d0b689144e00@yahoo.es> <593C8DE1.4060803@gmail.com> From: Baho Utot Message-ID: Date: Sat, 10 Jun 2017 21:40:48 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <593C8DE1.4060803@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.88:25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 01:40:57 -0000 On 06/10/17 20:25, Friedrich Locke wrote: > i switched to clan40, same error, i.e., it still persist. > > The problem is that open OpenBSD/amd64 6.1, "gcc -O2" works 100 %. > > What could it be the problem ? > is the code ANSI C, C99 or KR compliant? From owner-freebsd-questions@freebsd.org Sun Jun 11 01:48:09 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13BBFBFB298 for ; Sun, 11 Jun 2017 01:48:09 +0000 (UTC) (envelope-from jim@mailman-hosting.com) Received: from maurice.jlkmail.com (maurice.jlkmail.com [IPv6:2606:c700:1:30::23:2a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F25D06E41B for ; Sun, 11 Jun 2017 01:48:08 +0000 (UTC) (envelope-from jim@mailman-hosting.com) Received: from maurice.jlkmail.com (localhost [127.0.0.1]) by maurice.jlkmail.com (Postfix) with ESMTP id 30DE624C1296 for ; Sat, 10 Jun 2017 21:48:08 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at maurice.jlkmail.com Received: from maurice.jlkmail.com ([127.0.0.1]) by maurice.jlkmail.com (maurice.jlkmail.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id wInMZxgEfY-r for ; Sat, 10 Jun 2017 21:48:07 -0400 (EDT) Received: from schrodinger.fios-router.home (static-70-104-198-156.nrflva.fios.verizon.net [70.104.198.156]) by maurice.jlkmail.com (Postfix) with ESMTPSA id 4CB3024C00AB; Sat, 10 Jun 2017 21:48:06 -0400 (EDT) Message-ID: <1497145677.3245.5.camel@mailman-hosting.com> Subject: Re: -O2 flag From: Jim Ohlstein To: Friedrich Locke , Eduardo Morras , freebsd-questions@freebsd.org Date: Sat, 10 Jun 2017 21:47:57 -0400 In-Reply-To: <593C8DE1.4060803@gmail.com> References: <593C4679.5010104@gmail.com> <20170610223753.4e37600d2c32d0b689144e00@yahoo.es> <593C8DE1.4060803@gmail.com> Organization: Mailman Hosting Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.2-0ubuntu3.2 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 01:48:09 -0000 On Sat, 2017-06-10 at 21:25 -0300, Friedrich Locke wrote: > i switched to clan40, same error, i.e., it still persist. > > The problem is that open OpenBSD/amd64 6.1, "gcc -O2" works 100 %. > > What could it be the problem ? As a practical suggestion, how about installing one of the versions of gcc in ports and using that to compile your app? -- Jim Ohlstein Professional Mailman Hosting https://mailman-hosting.com/ From owner-freebsd-questions@freebsd.org Sun Jun 11 02:31:03 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07FCABFBEAF for ; Sun, 11 Jun 2017 02:31:03 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from h2.pinyon.org (h2.pinyon.org [65.101.20.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D14C370035 for ; Sun, 11 Jun 2017 02:31:02 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: by h2.pinyon.org (Postfix, from userid 58) id E53B9F5F7; Sat, 10 Jun 2017 19:24:24 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pinyon.org; s=DKIM; t=1497147864; bh=oN/gyLfJWd2S60eFwLxfv5FhVzbqMduwXtRZPH5W+9w=; h=Subject:To:References:From:Date:In-Reply-To; b=XO8QWOK6bqTPHcUywS8msGME9TTL/ZY6Yk1N4eDaauiMTN6nzIBEdZX/GnFoUcFf5 Y/JC3+fM8ddfpaBi0ge9ZIuxJtKv8urAGty/bhiBF4gid7P4iUFuANorI7T6/o7e5R EX6Pw9was2THO31hFg3N4Nm+52wZ8GG8u4lA5Xls= X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on h2.n1.pinyon.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.1 Received: from [10.0.10.15] (h1.pinyon.org [65.101.20.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by h2.pinyon.org (Postfix) with ESMTPSA id 513ACF5EA for ; Sat, 10 Jun 2017 19:24:24 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pinyon.org; s=DKIM; t=1497147864; bh=oN/gyLfJWd2S60eFwLxfv5FhVzbqMduwXtRZPH5W+9w=; h=Subject:To:References:From:Date:In-Reply-To; b=XO8QWOK6bqTPHcUywS8msGME9TTL/ZY6Yk1N4eDaauiMTN6nzIBEdZX/GnFoUcFf5 Y/JC3+fM8ddfpaBi0ge9ZIuxJtKv8urAGty/bhiBF4gid7P4iUFuANorI7T6/o7e5R EX6Pw9was2THO31hFg3N4Nm+52wZ8GG8u4lA5Xls= Subject: Re: -O2 flag To: freebsd-questions@freebsd.org References: <593C4679.5010104@gmail.com> <20170610223753.4e37600d2c32d0b689144e00@yahoo.es> <593C8DE1.4060803@gmail.com> <1497145677.3245.5.camel@mailman-hosting.com> From: "Russell L. Carter" Message-ID: <74d71bbd-a177-5fbc-8ed2-ca42e3f4915c@pinyon.org> Date: Sat, 10 Jun 2017 19:24:23 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <1497145677.3245.5.camel@mailman-hosting.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 02:31:03 -0000 On 06/10/17 18:47, Jim Ohlstein wrote: > On Sat, 2017-06-10 at 21:25 -0300, Friedrich Locke wrote: >> i switched to clan40, same error, i.e., it still persist. >> >> The problem is that open OpenBSD/amd64 6.1, "gcc -O2" works 100 %. >> >> What could it be the problem ? > > As a practical suggestion, how about installing one of the versions of > gcc in ports and using that to compile your app? > > He's tried both gcc and clang and the result was the same. The problem is most likely an assumption about the values on the stack, given that the application "works" on openbsd. These stack details were pointed out previously and all the new evidence only increases the likelihood that it is a stack problem in the code. No guarantees, though. HtH, Russell From owner-freebsd-questions@freebsd.org Sun Jun 11 06:10:07 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C1E55BFF333 for ; Sun, 11 Jun 2017 06:10:07 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay14.qsc.de (mailrelay14.qsc.de [212.99.163.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4639B7525A for ; Sun, 11 Jun 2017 06:10:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay14.qsc.de; Sun, 11 Jun 2017 08:10:02 +0200 Received: from r56.edvax.de (port-92-195-58-9.dynamic.qsc.de [92.195.58.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id E21553CBF9; Sun, 11 Jun 2017 08:10: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 v5B6A0Sj002011; Sun, 11 Jun 2017 08:10:00 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 11 Jun 2017 08:10:00 +0200 From: Polytropon To: Baho Utot Cc: FreeBSD Questions Subject: Re: Building base source Message-Id: <20170611081000.0916e602.freebsd@edvax.de> In-Reply-To: <9c41c5df-9874-3e37-8f8c-f58c63419887@columbus.rr.com> References: <44y3t19e5i.fsf@lowell-desk.lan> <872fe20f-fece-9980-2c8f-10e9492ab786@columbus.rr.com> <20170610052351.000ca108.freebsd@edvax.de> <20170611001151.d3d76bf8.freebsd@edvax.de> <9c41c5df-9874-3e37-8f8c-f58c63419887@columbus.rr.com> Reply-To: Polytropon 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 X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay14.qsc.de with 63B73683E8A X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1293 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 06:10:07 -0000 On Sat, 10 Jun 2017 21:30:11 -0400, Baho Utot wrote: > > > On 06/10/17 18:11, Polytropon wrote: > > On Sat, 10 Jun 2017 09:40:37 -0400, Baho Utot wrote: > >> > >> > >> On 06/09/17 23:23, Polytropon wrote: > >>> On Fri, 9 Jun 2017 16:01:25 -0400, Baho Utot wrote: > >>>> > >>>> > >>>> On 06/09/17 15:03, Lowell Gilbert wrote: > >>>>> Baho Utot writes: > >>>>> > >>>>>> I am experimenting with building the base source. > >>>>>> > >>>>>> What do I need to set (which knobs) to be able to build the base > >>>>>> source and have the binaries built into a home directory. > >>>>>> > >>>>>> The source will be in /usr/src but I want all the binaries and all > >>>>>> other files produced by the build to goto in > >>>>>> /usr/home/FreeBSD/base/target. > >>>>>> > >>>>>> Will it be a copy of want is installed in the / (root) filesystem? > >>>>> > >>>>> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html > >>>>> > >>>> > >>>> I have already looked at that. That is why I have the questions. I > >>>> want to build the base as a user and have it install its stuff into a > >>>> subdirectory. > >>> > >>> There are two variables that you will need to set: the directory > >>> where the build happens, and the one where the result from that > >>> build will be written to. The solution is quite simple, and of > >>> course already present in the build infrastructure: > >>> > >>> Set MAKEOBJDIRPREFIX and DESTDIR to locations where your $USER > >>> has write access. > >>> > >>> > >>> > >> > >> I want to build with a user so if I make a mistake ( very likely ) it > >> will not damage the running system. I have found that make > >> installkernel and installworld requires root user because it sets the > >> user as root perms regardless of where the install is going. > > > > I think the main problem here is things like setuid; those > > tasks cannot be performed by a non-root user. Maybe you can > > check if a memebership in the groups wheel or operator is > > sufficient? In worst case, use su, sudo, or super (while > > having MAKEOBJDIRPREFIX and DESTDIR set to non-system > > locations). > > > > > > The problem is that make installworld wants to chown to root:wheel which > will not fly if you are not root. > > The setuid may be an additional issue. In linux one could still setuid > will still not being root. That is a precise answer, thank you. It illustrates very well the difference between the security concepts implemented in FreeBSD vs. in Linux. The install* targets require root access (because that's what they do: they install stuff to the location given in DESTDIR, and doing "root only stuff" belongs to that task). It seems to be impossible to run the install* targets as a non-root user (except you modify the parts that require root permissions manually). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Jun 11 07:52:24 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A618C3113F for ; Sun, 11 Jun 2017 07:52:24 +0000 (UTC) (envelope-from steve@sohara.org) Received: from smtp1.irishbroadband.ie (smtp2.irishbroadband.ie [62.231.32.43]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 416D57EBBD for ; Sun, 11 Jun 2017 07:52:23 +0000 (UTC) (envelope-from steve@sohara.org) Received: from [89.127.62.20] (helo=smtp.lan.sohara.org) by smtp1.irishbroadband.ie with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1dJxQ2-0004xc-CP for freebsd-questions@freebsd.org; Sun, 11 Jun 2017 08:36:18 +0100 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1dJxQy-000GvT-NR for freebsd-questions@freebsd.org; Sun, 11 Jun 2017 07:37:16 +0000 Date: Sun, 11 Jun 2017 08:36:08 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Building base source Message-Id: <20170611083608.6338577f99f71364623f7446@sohara.org> In-Reply-To: <9c41c5df-9874-3e37-8f8c-f58c63419887@columbus.rr.com> References: <44y3t19e5i.fsf@lowell-desk.lan> <872fe20f-fece-9980-2c8f-10e9492ab786@columbus.rr.com> <20170610052351.000ca108.freebsd@edvax.de> <20170611001151.d3d76bf8.freebsd@edvax.de> <9c41c5df-9874-3e37-8f8c-f58c63419887@columbus.rr.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd10.3) X-Clacks-Overhead: "GNU Terry Pratchett" 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 07:52:24 -0000 On Sat, 10 Jun 2017 21:30:11 -0400 Baho Utot wrote: > The problem is that make installworld wants to chown to root:wheel which > will not fly if you are not root. Indeed and it should because parts of the system must be owned by root to work properly. > The setuid may be an additional issue. In linux one could still setuid > will still not being root. You can in FreeBSD too, you can set the setuid bit on any file you own - but only root can make a file setuid root and some files need to be. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Sun Jun 11 11:22:16 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CDF2DC79AA9 for ; Sun, 11 Jun 2017 11:22:16 +0000 (UTC) (envelope-from jim@mailman-hosting.com) Received: from maurice.jlkmail.com (maurice.jlkmail.com [IPv6:2606:c700:1:30::23:2a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B7D371F9C for ; Sun, 11 Jun 2017 11:22:16 +0000 (UTC) (envelope-from jim@mailman-hosting.com) Received: from maurice.jlkmail.com (localhost [127.0.0.1]) by maurice.jlkmail.com (Postfix) with ESMTP id 7B03A24C0FB0 for ; Sun, 11 Jun 2017 07:22:15 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at maurice.jlkmail.com Received: from maurice.jlkmail.com ([127.0.0.1]) by maurice.jlkmail.com (maurice.jlkmail.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id FhGeLd0GKaGJ for ; Sun, 11 Jun 2017 07:22:14 -0400 (EDT) Received: from schrodinger.fios-router.home (static-70-104-198-156.nrflva.fios.verizon.net [70.104.198.156]) by maurice.jlkmail.com (Postfix) with ESMTPSA id 37EC724C0022; Sun, 11 Jun 2017 07:22:14 -0400 (EDT) Message-ID: <1497180132.3245.9.camel@mailman-hosting.com> Subject: Re: -O2 flag From: Jim Ohlstein To: "Russell L. Carter" , freebsd-questions@freebsd.org Date: Sun, 11 Jun 2017 07:22:12 -0400 In-Reply-To: <74d71bbd-a177-5fbc-8ed2-ca42e3f4915c@pinyon.org> References: <593C4679.5010104@gmail.com> <20170610223753.4e37600d2c32d0b689144e00@yahoo.es> <593C8DE1.4060803@gmail.com> <1497145677.3245.5.camel@mailman-hosting.com> <74d71bbd-a177-5fbc-8ed2-ca42e3f4915c@pinyon.org> Organization: Mailman Hosting Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.2-0ubuntu3.2 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 11:22:16 -0000 On Sat, 2017-06-10 at 19:24 -0700, Russell L. Carter wrote: > On 06/10/17 18:47, Jim Ohlstein wrote: > > > > On Sat, 2017-06-10 at 21:25 -0300, Friedrich Locke wrote: > > > > > > i switched to clan40, same error, i.e., it still persist. > > > > > > The problem is that open OpenBSD/amd64 6.1, "gcc -O2" works 100 > > > %. > > > > > > What could it be the problem ? > > As a practical suggestion, how about installing one of the versions > > of > > gcc in ports and using that to compile your app? > > > > > He's tried both gcc and clang and the result was the same.  The > problem > is most likely an assumption about the values on the stack, given > that > the application "works" on openbsd. One of us has misread, but I took his statement to read that it compiles with gcc -02 on OpenBSD. He's tried two versions of clang on FreeBSD (38 and 40). > > These stack details were pointed out previously and all the new > evidence > only increases the likelihood that it is a stack problem in the code. > > No guarantees, though. > -- Jim Ohlstein Professional Mailman Hosting https://mailman-hosting.com/ From owner-freebsd-questions@freebsd.org Sun Jun 11 12:26:36 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 39E2DD8641F for ; Sun, 11 Jun 2017 12:26:36 +0000 (UTC) (envelope-from serpent7776@gmail.com) Received: from mail-lf0-x243.google.com (mail-lf0-x243.google.com [IPv6:2a00:1450:4010:c07::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AC22B3F01 for ; Sun, 11 Jun 2017 12:26:35 +0000 (UTC) (envelope-from serpent7776@gmail.com) Received: by mail-lf0-x243.google.com with SMTP id o28so7832774lfk.1 for ; Sun, 11 Jun 2017 05:26:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Tnq6nEet+i5zijyOSs6HNm1st9PY8Vr2bte11Om5Syc=; b=JOjTeynTn4QuF/W4W5jGVb3rXw8qvNyehulqe4KRn4WxevbdX8KM278+XRQCClcgcS qW9hXPa/rct1r4kG4CwovNbKWs84AnY/wcPpZtXYoLlcf2X2LGfXeaKSrqLsHMhTO7l+ UOSgDzq1ByxP1k6i2ykjypszHFlypxRmaL08R57nA/YjDdOutOMo1WF4Rqwk7o4Yw8xQ ZRzthfZHEYUHCdi1b8nGcxHqnt33VHbzn7eKhHNwO68v/s9vrH4SZwiIm30kNZJHf/oB kXh6AqB9uCCRcXXCpfjFQcvRuOcwvxJML6mUJEkGWC+cC48WrSwTbwgxJPzkkfMBaVO7 y/Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Tnq6nEet+i5zijyOSs6HNm1st9PY8Vr2bte11Om5Syc=; b=EnGGQKmBkKyWkqeB/blCtgqlhmkcZvL6Vnd7gaCkUO8i6d5IxhDpoPqF5IW+pjwMsH qdMyCndxmhVHbwshKAOWbz992l+ObI83yDr/NGZKqFUtwLrPtcPSe9npjAQtPT9ZLkKm RWeI38msxQjrOKZqJNfhKkGA1LI3iAQFHYEHnGw8vyEvDtJR3TOX9qGRmWZAw/OudFkw bcXGwmgCZgPniawUwDnN9PKTux9OODxfK4Xro6UBbJiTtm6FWyeh72oqs1z31KRYfXKs WBMuZ6p9zLmrXdkq5nEs1U8S4NR3Oaso4TQINmUd69VAHAx2LDa403k002vSIjKOSpFi tCdw== X-Gm-Message-State: AODbwcCu9L7/yBv5BwIjdCJRI3V9vnZI84G6ORMRZ20oPKsmHBb9ycFd oW0wrIwHniCS7g== X-Received: by 10.25.221.136 with SMTP id w8mr3237948lfi.14.1497183993585; Sun, 11 Jun 2017 05:26:33 -0700 (PDT) Received: from DaemONX (90-156-31-193.internetia.net.pl. [90.156.31.193]) by smtp.gmail.com with ESMTPSA id f16sm1813682lff.48.2017.06.11.05.26.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Jun 2017 05:26:33 -0700 (PDT) Date: Sun, 11 Jun 2017 14:25:17 +0200 From: Serpent7776 To: Friedrich Locke Cc: freebsd-questions@freebsd.org Subject: Re: -O2 flag Message-ID: <20170611142517.5898c64e@DaemONX> In-Reply-To: <593C892D.4070200@gmail.com> References: <593C4679.5010104@gmail.com> <20170610230928.581e3cf9@DaemONX> <593C892D.4070200@gmail.com> X-Mailer: Claws Mail 3.15.0 (GTK+ 2.24.31; amd64-portbld-freebsd10.3) 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 12:26:36 -0000 On Sat, 10 Jun 2017 21:05:01 -0300 Friedrich Locke wrote: > Here you have it: > > gustav# cc --version > FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on > LLVM 3.8.0) > Target: x86_64-unknown-freebsd11.0 > Thread model: posix > InstalledDir: /usr/bin > gustav# This is not telling much. As pointed by Patrick this might be due to uninitialized stack variables in a function. You might want to try to: - rebuild with enabled compiler warning flags (-W flags) https://clang.llvm.org/docs/DiagnosticsReference.html - rebuild with sanitizer enabled https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html - try running in debugger and find place where this error occurs HTH > Em 10/06/2017 18:09, Serpent7776 escreveu: > > On Sat, 10 Jun 2017 16:20:25 -0300 > > Friedrich Locke wrote: > > > >> Hi folks, > >> > >> i am trying compile a program with cc on freebsd 11. > >> When i use -O2 compilation flag, the compiled code is giving error on > >> execution, but with i omit -O2 everything works ok. > >> > >> Have anybody already faced such problem ? > > Yes, a few times in the past. Your code may have hidden bug which is > > triggered only with optimizations enabled. It might be relying on some kind > > of undefined behaviour. > > Unfortunately, I don't have any helpful advices on how to find this error - > > try enabling all compiler warnings flags. > > I'd suspect a bug in your code rather than a bug in compiler, but the > > latter is not impossible. > > > >> Thanks in advance. > >> _______________________________________________ > >> freebsd-questions@freebsd.org mailing list > >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> To unsubscribe, send any mail to > >> "freebsd-questions-unsubscribe@freebsd.org" > > > > > > -- /* * Serpent7776 */ From owner-freebsd-questions@freebsd.org Sun Jun 11 17:24:43 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3DCF0D8B33F for ; Sun, 11 Jun 2017 17:24:43 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wr0-x241.google.com (mail-wr0-x241.google.com [IPv6:2a00:1450:400c:c0c::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C572870689 for ; Sun, 11 Jun 2017 17:24:42 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wr0-x241.google.com with SMTP id u101so17312421wrc.1 for ; Sun, 11 Jun 2017 10:24:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=lK9Jsr8JAfuEBhG++qhcHNzHtwMlR9blQeP2JIcssf0=; b=mkdwM9bb+e75mDe0nJKqfVtk6KBzISCerrW6tMfcnA1V5iUVdZsXm52uHT3c1u4K9P 3NcO+/jSe7aeooVBNyvc4X/tHGxu4P0b41lOOpAE9SHdAi/J1CZprv3Rk4SMqkgPOZX2 aYuh2BBvVUawspIA81r3bG+LoHhbwKCPKwQr9QkrfdqgRJb9PLm9ei+dKuGt2HsNFkv+ 8PBGAyBDwIshbm2fQ25ZtE+IcRZi+vkkA3KL/WeQXByXfIR3fIDgSSOOc5TthZv2QVcr T9c7afOPktnHfcWiNFkO5ENdHH+jzMRu41zpfvT98vDCFbWm7/FPStcMFM0klfGWtOv3 tHmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lK9Jsr8JAfuEBhG++qhcHNzHtwMlR9blQeP2JIcssf0=; b=P5fQs7nvenQU3N1pT/REP2/vNFjJv72fYk81RpxY6pvEVbzloBU/vKtVeuBQruEXsG ChnVR4fO3qH9vOIaHK5H0xB3y9bsnFuseRPHSw0xlPoR1phAJDIf1NDvXcf57h1QocZ5 +XaUiJ356dHhqHBI0vtfyonoqtC5CdZqj1XcfHz3pnmmqRfEUXuHey5L13tMewilx4Fd jdMbghvVgEQtCHZU9GpSnBhaOiqezpax/nYKeoRVviNCUTbzyHRoIA/m7W2SCVF7ZW0y awziBNViHlgCmNj35PvAZs2tNVBNOIlH+D3+JfPreSaj4Deagc2q4dL3WPJGJqGrovg8 eidA== X-Gm-Message-State: AODbwcBgwQi56vRZ7NP7fBYEi4DoMUm/95ywwnXx+O6/2rfwxOU8hsc1 Bqe4mz2d5FwtBUIm X-Received: by 10.223.133.208 with SMTP id 16mr4365942wru.199.1497201880704; Sun, 11 Jun 2017 10:24:40 -0700 (PDT) Received: from gumby.homeunix.com ([81.17.24.158]) by smtp.gmail.com with ESMTPSA id z12sm7465323wrb.41.2017.06.11.10.24.38 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Jun 2017 10:24:39 -0700 (PDT) Date: Sun, 11 Jun 2017 18:24:37 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: how to know what DNS server is being used Message-ID: <20170611182437.3210235a@gumby.homeunix.com> In-Reply-To: <20170610201735.GB3141@HP> References: <80AB0139-6BF5-4B8D-9CCF-1FE445AA26CF@bellsouth.net> <1495679620.341619.987871464.4177A961@webmail.messagingengine.com> <20170610201735.GB3141@HP> X-Mailer: Claws Mail 3.15.0 (GTK+ 2.24.31; amd64-portbld-freebsd10.3) 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 17:24:43 -0000 On Sun, 11 Jun 2017 04:17:38 +0800 Yubin Ruan wrote: > On Wed, May 24, 2017 at 11:33:40PM -0300, Fernando Milovich wrote: > > cat /etc/resolv.conf > > Is this the standard? I mean, can a system use some other files to > specify their DNS server? Some software will let you override what's in resolv.com in its configuration, for example squid and spamassassin can be configured to use DNS servers that aren't in resolv.conf. Also if you are using something like a ppp or dhcp client that overwrites resolv.conf, you might want to specify additional or alternate servers in their configuration. From owner-freebsd-questions@freebsd.org Sun Jun 11 21:03:42 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DC496B951CA for ; Sun, 11 Jun 2017 21:03:42 +0000 (UTC) (envelope-from anonymous@s2.venga-business.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id CBA3A76F5E for ; Sun, 11 Jun 2017 21:03:42 +0000 (UTC) (envelope-from anonymous@s2.venga-business.com) Received: by mailman.ysv.freebsd.org (Postfix) id C7EE3B951C8; Sun, 11 Jun 2017 21:03:42 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C768CB951C7 for ; Sun, 11 Jun 2017 21:03:42 +0000 (UTC) (envelope-from anonymous@s2.venga-business.com) Received: from s2.venga-business.com (s2.venga-business.com [185.95.45.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2EA4176F5D for ; Sun, 11 Jun 2017 21:03:41 +0000 (UTC) (envelope-from anonymous@s2.venga-business.com) Received: (qmail 8365 invoked by uid 48); 11 Jun 2017 22:56:59 +0200 To: questions@freebsd.org Subject: Project Funding From Bahrain... Date: Sun, 11 Jun 2017 22:56:59 +0200 From: Mr Ebrahim Khalid Reply-To: ebrahim@asigbh.com Message-ID: <8f8e806f3723b456cfb791f27b0d7f2c@agent46.com> X-Mailer: Leaf PHPMailer 2.7 (leafmailer.pw) MIME-Version: 1.0 Content-Type: text/plain; charset X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 21:03:43 -0000 From owner-freebsd-questions@freebsd.org Mon Jun 12 00:51:39 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D6FF7BF07CD for ; Mon, 12 Jun 2017 00:51:39 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from h2.pinyon.org (h2.pinyon.org [65.101.20.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 98AA07C324 for ; Mon, 12 Jun 2017 00:51:38 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: by h2.pinyon.org (Postfix, from userid 58) id 60380FF1E; Sun, 11 Jun 2017 17:51:37 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pinyon.org; s=DKIM; t=1497228697; bh=cku2BkVasK5CyiBUCrgeq0UUYY2W2ynNh02kOVyuxpQ=; h=Subject:To:References:From:Date:In-Reply-To; b=Lc+5VGR30B3CC252zJFEB9Np5nFS2jb++uE/qAi9JwDHCMuuSQCt6qC67tD7lJZLj 703lLkZGN4sc4jPipp5cW/BNsW+wblv1O0Ap/YHjPeaOrid2DyMvWC7fX9lA8WT/SB PjRfgkiCMkb63tqTEjPu+hTpToFEedz/yAv58Fk0= X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on h2.n1.pinyon.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.1 Received: from [10.0.10.15] (h1.pinyon.org [65.101.20.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by h2.pinyon.org (Postfix) with ESMTPSA id 5138BFF00 for ; Sun, 11 Jun 2017 17:51:36 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pinyon.org; s=DKIM; t=1497228696; bh=cku2BkVasK5CyiBUCrgeq0UUYY2W2ynNh02kOVyuxpQ=; h=Subject:To:References:From:Date:In-Reply-To; b=iBpqojz52ZOQo34JZXKWR98++8VSsSB7zm26k5n/VtlCZ/OSVlH7VIbFtY1h5hNJn yqirr4HEyODoc1Tpd2Fm2dh6Mw1tmdaZozavmicE+Qi9qyHNoUHJg9mjagUmVEp8cT YeXRIrjd1IA98v7Ij773GFfl4cZQD/gJ4IXZMEnA= Subject: Re: -O2 flag To: freebsd-questions@freebsd.org References: <593C4679.5010104@gmail.com> <20170610223753.4e37600d2c32d0b689144e00@yahoo.es> <593C8DE1.4060803@gmail.com> <1497145677.3245.5.camel@mailman-hosting.com> <74d71bbd-a177-5fbc-8ed2-ca42e3f4915c@pinyon.org> <1497180132.3245.9.camel@mailman-hosting.com> From: "Russell L. Carter" Message-ID: Date: Sun, 11 Jun 2017 17:51:36 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <1497180132.3245.9.camel@mailman-hosting.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 00:51:40 -0000 On 06/11/17 04:22, Jim Ohlstein wrote: > On Sat, 2017-06-10 at 19:24 -0700, Russell L. Carter wrote: >> On 06/10/17 18:47, Jim Ohlstein wrote: >>> >>> On Sat, 2017-06-10 at 21:25 -0300, Friedrich Locke wrote: >>>> >>>> i switched to clan40, same error, i.e., it still persist. >>>> >>>> The problem is that open OpenBSD/amd64 6.1, "gcc -O2" works 100 >>>> %. >>>> >>>> What could it be the problem ? >>> As a practical suggestion, how about installing one of the versions >>> of >>> gcc in ports and using that to compile your app? >>> >>> >> He's tried both gcc and clang and the result was the same. The >> problem >> is most likely an assumption about the values on the stack, given >> that >> the application "works" on openbsd. > > One of us has misread, but I took his statement to read that it > compiles with gcc -02 on OpenBSD. He's tried two versions of clang on > FreeBSD (38 and 40). Oh I misread, sorry. However, I am trying to emphasize that after multiple compiler (major versions), it is unlikely that it's a compiler bug. I've compiled millions of LOC over hundreds of different compilers in the last 30 years and not once has this sort of error been the compiler's fault. (I am sure somebody else has had the misfortune to have it happen to them, though, law of nature) In addition to the potential stack issue, there's another source of behavior like this. If it's numeric code it can be an unstable algorithm. Back in the early '90s when we were developing the first version of the NAS Parallel Benchmarks we saw this quite frequently. There a variety of ways a numerical algorithm can fail, but for instance sometimes the imputed threshold for "success" is not sufficient for a non-deterministic mapping out to multiple processors. Sometimes algorithms are very sensitive to eg the summation order. So we had to work hard to get algorithms that produced "correct" results over many quite different parallel hardware and programming architectures. As a form of nostalgia for simpler times when details like these mattered, I take probably inordinate interest in Steve Kargl and BDE's algorithm discussions. It takes a lot of work to get the corner cases correct. Best, Russell >> >> These stack details were pointed out previously and all the new >> evidence >> only increases the likelihood that it is a stack problem in the code. >> >> No guarantees, though. >> > From owner-freebsd-questions@freebsd.org Mon Jun 12 14:08:15 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22723BFD4FA for ; Mon, 12 Jun 2017 14:08:15 +0000 (UTC) (envelope-from friedrich.locke@gmail.com) Received: from mail-qt0-x229.google.com (mail-qt0-x229.google.com [IPv6:2607:f8b0:400d:c0d::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CB82E70B10 for ; Mon, 12 Jun 2017 14:08:14 +0000 (UTC) (envelope-from friedrich.locke@gmail.com) Received: by mail-qt0-x229.google.com with SMTP id w1so126472138qtg.2 for ; Mon, 12 Jun 2017 07:08:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-transfer-encoding; bh=MQO7mC4n2HC7yNwGL9b0rdp5egAyMiuVopsU0zji60k=; b=vdnNnO7soQL1U5qV/xVrDmotXPYu0TxXh3OIVUEtLXZDH5bH+4uPCZWodp6SM6CqFT vbIlOdBR2V1gDyBKd1qgzccg2oN2bNMUSQDXVgKY1Nas7CmSgcTpPF88tKGcHMa8VzOn l0Y3l6ZYe83ZHhFEbad4/Y9fBU+vx0t/FTcdLViP7afMui36S5nyOC6XwZhKRugV+a4S cqp5lKCgrUhgPzat6NYThAm4cnw7wVGeS8dWm34KEKN4TsVrhMqEJjXta0rbhFyEkAeh GitxLbIfhFgVvy1xeCp5/gAlzDyPqKr5EOp7raFDbNOBBlBC5tiuko7FJtGmE/fUteD1 SbBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-transfer-encoding; bh=MQO7mC4n2HC7yNwGL9b0rdp5egAyMiuVopsU0zji60k=; b=Ez3iYYT16GEEqk1h7rXV6hcz/oe/eYL36AiuzyX8Jn6dkIvj6ARsrQMUjuI9TbOHO/ jdnMAMKT2UYOTdo9gd8sbkQJ9ABGsLX2PT/neXzkDY9b99yB5FLzVvR4uLWnAhm6Zt52 9RkpXyGgEdZVOSP3rn8C4jd7imSMdulUYmH8z5+jJx+gfb0ajpsI21QOJvdpIyQ85YPC Xw+ijYHrS8ryLmlBzcjFslZjqhGY1CLrzkUj4j97P2x7A3xryxbFYak02iTs/mz8DrVo L8A89XM6yloufKImH7VEmOh+7fjDPVqdF0WA717s2d8xf0ejtz6O9POrjGi2j1VixpAU M2VQ== X-Gm-Message-State: AODbwcADzfLVkyEcWEhqTkrCJ8CpxYeQkAR0A80y9xHu/OaQZ/WsAINE dW+JmCRiaIhWY/jB X-Received: by 10.55.129.7 with SMTP id c7mr61913319qkd.255.1497276494040; Mon, 12 Jun 2017 07:08:14 -0700 (PDT) Received: from [200.235.203.104] (200-235-203-104.wifi.ufv.br. [200.235.203.104]) by smtp.gmail.com with ESMTPSA id j8sm160116qta.72.2017.06.12.07.08.12 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Jun 2017 07:08:13 -0700 (PDT) Message-ID: <593EA049.8010904@gmail.com> Date: Mon, 12 Jun 2017 11:08:09 -0300 From: Friedrich Locke User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Baho Utot , freebsd-questions@freebsd.org Subject: Re: -O2 flag References: <593C4679.5010104@gmail.com> <20170610223753.4e37600d2c32d0b689144e00@yahoo.es> <593C8DE1.4060803@gmail.com> In-Reply-To: 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 14:08:15 -0000 ANSI C Em 10/06/2017 22:40, Baho Utot escreveu: > > > On 06/10/17 20:25, Friedrich Locke wrote: >> i switched to clan40, same error, i.e., it still persist. >> >> The problem is that open OpenBSD/amd64 6.1, "gcc -O2" works 100 %. >> >> What could it be the problem ? >> > > is the code ANSI C, C99 or KR compliant? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > . > From owner-freebsd-questions@freebsd.org Mon Jun 12 15:18:06 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF965BFE79E for ; Mon, 12 Jun 2017 15:18:06 +0000 (UTC) (envelope-from ml@netfence.it) Received: from smtp207.alice.it (smtp207.alice.it [82.57.200.103]) by mx1.freebsd.org (Postfix) with ESMTP id 75A9372E2C for ; Mon, 12 Jun 2017 15:18:05 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.ventu (87.19.230.171) by smtp207.alice.it (8.6.060.28) (authenticated as acanedi@alice.it) id 588F428367A95A29 for freebsd-questions@freebsd.org; Mon, 12 Jun 2017 17:17:54 +0200 Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) by soth.ventu (8.15.2/8.15.2) with ESMTP id v5CFHrWP091075 for ; Mon, 12 Jun 2017 17:17:53 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.ventu: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu Subject: Re: -O2 flag To: freebsd-questions@freebsd.org References: <593C4679.5010104@gmail.com> <20170610230928.581e3cf9@DaemONX> <593C892D.4070200@gmail.com> <20170611142517.5898c64e@DaemONX> From: Andrea Venturoli Message-ID: Date: Mon, 12 Jun 2017 17:17:53 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <20170611142517.5898c64e@DaemONX> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 15:18:07 -0000 On 06/11/17 14:25, Serpent7776 wrote: > You might want to try to: > - rebuild with enabled compiler warning flags (-W flags) > https://clang.llvm.org/docs/DiagnosticsReference.html > - rebuild with sanitizer enabled > https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html > - try running in debugger and find place where this error occurs Perhaps running your (unoptimized) code under Valgrind can help find such an error. bye av. From owner-freebsd-questions@freebsd.org Mon Jun 12 16:09:02 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9EB16BFF4CA for ; Mon, 12 Jun 2017 16:09:02 +0000 (UTC) (envelope-from smartn2s@bzm.mobi) Received: from zoniac1.nmsrv.com (zoniac1.nmsrv.com [204.187.13.47]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "*.nmsrv.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 73A84746F9 for ; Mon, 12 Jun 2017 16:09:01 +0000 (UTC) (envelope-from smartn2s@bzm.mobi) Received: (qmail 15254 invoked from network); 12 Jun 2017 16:08:29 -0000 Received: from ec2-54-197-242-119.compute-1.amazonaws.com (HELO ip-10-141-7-163.ec2.internal) (smartn2s@bzm.mobi@54.197.242.119) by zoniac1.nmsrv.com with ESMTPA; 12 Jun 2017 16:08:29 -0000 Date: Mon, 12 Jun 2017 16:08:13 +0000 (UTC) From: Avinash Bakka Reply-To: avi@smtworks.com To: freebsd-questions@freebsd.org Message-ID: <1497283693051.04206486741114035.avi@smtworks.com> Subject: Updated list as on 06/12/2017 Importance: Normal X-Mailer: Zoniac Mailer System X-Zoniac-TrackerID: b890c0e2d7d7ad938d70276e59db438cd19c69c9edac007423363083633820298d31466cdd4f18f3204bdd22291db62bc8603c7f222c0a5a MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 16:09:02 -0000 From owner-freebsd-questions@freebsd.org Mon Jun 12 16:10:20 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 35FEBBFF5B9 for ; Mon, 12 Jun 2017 16:10:20 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-qt0-x22f.google.com (mail-qt0-x22f.google.com [IPv6:2607:f8b0:400d:c0d::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E9AC7747F3 for ; Mon, 12 Jun 2017 16:10:19 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: by mail-qt0-x22f.google.com with SMTP id u12so131508905qth.0 for ; Mon, 12 Jun 2017 09:10:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yabarana-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=6PbzE3C06KfQuVu/YVhE1rU0Gp84D9S5PLh951VmJzc=; b=f3DY6ulnR1/5SZCw8gkgwr8mNZebNzxbeREdMxRGnh2HOlx+aA6IWjuAsPIsXszXoS zifWcM4fxMryPDEx/7HHtZU3H2d+uoKCQ2hXS6a5/LsXNCvgQzLY/R7ifgiIx187jo3Q YbxcxuaFu3r4hVEdV+BeH8iE71hhA6K+qNLB16tMrXf8cPvEGk1CdoR2YwKoI5lsGdbB mibqiznrJG/+IJtBvQylkRTj50wX7GDS2OO02eD0yyurn95QAs89QHRk6hwSeaxLk1tV Pwh0bSl/MWkAvNrjJnb4Ie8aZy8yBEvfmczS8gT8Q5OZh6QzWa3hA6E5V/p1XEAjU5vu EqOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=6PbzE3C06KfQuVu/YVhE1rU0Gp84D9S5PLh951VmJzc=; b=AoDv7D9Tcdl23tzzClELCfxPCwI3cvEkL9b/TFg0TRdj/D3oQb3IIwyj2peaidGWWw /zR41vVUQduH/DKTMPLBtZ8tROZQq+fm4jtYoMhlZMoY0V+mTZ0qDOwPY7jGf0lNIGlG jibRi+TbuEqapOBfpWLDQ1M9Ga8RqcK6SQ6A8TgA/JWdKdyCFR0pj4MfVXi9JN02sCoh CMamSYzHt29IzIQwYtkgd6WJUHQLhTcvfjuhCRHRr6xcdHIaqkeu4d1AeJmjvbn1GVHB VX8bH8guuhQ4FMLaVS5D3Egq90VTqMZoqqh9s54J87B6VTnZGOuvN5ZviVjhkeLeGB/8 C/bA== X-Gm-Message-State: AODbwcB3dgkEHHZ4mcx1sqPglX95PApWDU7kVJJ4sBgWyq+uo1oYn2J5 Rd6jGlCF/ZH2vL196Ab1alVewfM4riUx X-Received: by 10.237.42.129 with SMTP id t1mr56940874qtd.55.1497283818884; Mon, 12 Jun 2017 09:10:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.176.38 with HTTP; Mon, 12 Jun 2017 09:10:18 -0700 (PDT) In-Reply-To: <20170609230523.GA18442@milliways.localdomain> References: <20170609230523.GA18442@milliways.localdomain> From: Alejandro Imass Date: Mon, 12 Jun 2017 12:10:18 -0400 Message-ID: Subject: Re: Processor recommendation for LGA771, PLGA771 that has EPT To: Ken Moffat Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 16:10:20 -0000 On Fri, Jun 9, 2017 at 7:05 PM, Ken Moffat wrote: > On Fri, Jun 09, 2017 at 04:02:56PM -0400, Alejandro Imass wrote: >> >> Yeah and even with 775 adaptors there is no EPT version for 775 socket >> either :-( Wondering if there was an Opteron with RVI or NPT for the >> 771 or 775 sockets but appears not. >> > > I don't think 64-bit AMD CPUs have ever used a socket compatible with > intel processors - the days of pentium/K5/K6 are long gone. > > =C4=B8en > -- Thanks man, I am not much of a hardware guy but since the chipset is reported as AMD I thought the cpu socket would support an AMD chip. It seems I'm stuck here and would need to change the motherboard. From owner-freebsd-questions@freebsd.org Mon Jun 12 19:34:10 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCFBCC312AD for ; Mon, 12 Jun 2017 19:34:10 +0000 (UTC) (envelope-from friedrich.locke@gmail.com) Received: from mail-qt0-x230.google.com (mail-qt0-x230.google.com [IPv6:2607:f8b0:400d:c0d::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 872B87B70C for ; Mon, 12 Jun 2017 19:34:10 +0000 (UTC) (envelope-from friedrich.locke@gmail.com) Received: by mail-qt0-x230.google.com with SMTP id c10so139780546qtd.1 for ; Mon, 12 Jun 2017 12:34:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=ty/QYGyJHaEeOg6uHJQUgq/nt40zGAlqIG058I0zaZY=; b=cHK1s1AaYr4L31O8MmJ8hlcAXdgTvgVbPFSlm8lzk4M2HodUmAedFySaCgbq+vFErB E0sYJlh8vVY8Tx8yvDanr2Xyh//tRFYmIA9gZnTTPY76cVJQaJGB85NrPwYkBay7bi4C +yVHutzPL/wzJrL+k7rWPdTEkIUbWHAvso9Kss1drz47mG0/HGteBweA2b505P3nAqOq tPuD9VolmiAlCjtADbgtlf80iUSbB2EMqAWZ4Gn/wBkdYcU1wKB4ZrYTzm2Jyku4ETw5 gLhrQJmx54fl/3TOuGEHJDJi4f9V1MKEa5vL8ZnznJ40x/iAfJe8LvJ4ZSZgOQxceYq5 M6Nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=ty/QYGyJHaEeOg6uHJQUgq/nt40zGAlqIG058I0zaZY=; b=nFTsoBZ5Q9TUJbOKQc7NMV7JOZG2Wu8vk6I8bx4NmGx6ZpDuwYlIRhVbxYvUQiGfTt 7oPBcGSAXJBsH7SBbN9nGWmbZ4/CojnK8WEf8KKlsZD8tHqTZyioqBlTsjBk54+zZGr8 EH9RUwE0/rM6AAwW4vE1Id4IBOESmOkZUSLMUQhyAZp0AXriGqUaBMaBmc+a98zvFqeh 2TcVqPh8DQXdErwzszFygj65th8HTAG8xoAaOvHIse64vBAs7kxBDxGSAvJG1PzaiqkF 4pVOAhGwchOevciSiuJZkELvIrce6EnXfW4js2T/XCoXNUhbWUmIGBhXg76dML5VkCEI l/sQ== X-Gm-Message-State: AKS2vOxJPPtSkCd74uCerSGhx+haZo/eTRZXzAIgg1CC9x8KBBXYq+DN +SpAnj70SnyAxJip X-Received: by 10.200.52.246 with SMTP id x51mr28287694qtb.70.1497296049613; Mon, 12 Jun 2017 12:34:09 -0700 (PDT) Received: from [200.235.202.154] (200-235-202-154.wifi.ufv.br. [200.235.202.154]) by smtp.gmail.com with ESMTPSA id x31sm7289319qtx.12.2017.06.12.12.34.07 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Jun 2017 12:34:08 -0700 (PDT) Message-ID: <593EECAC.7050208@gmail.com> Date: Mon, 12 Jun 2017 16:34:04 -0300 From: Friedrich Locke User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: security options 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 19:34:10 -0000 Hi folks, i wonder what are the sysctl variables and its value to those list of options, related to security, that are given us the chance to change in the fbsd install program. I mean options like: [ ] prevent users from seeing other processes [ ] prevent users from other groups processes Thanks. From owner-freebsd-questions@freebsd.org Mon Jun 12 19:37:47 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0F732C31426 for ; Mon, 12 Jun 2017 19:37:47 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 93E507B89A for ; Mon, 12 Jun 2017 19:37:46 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id v5CJbauc034861 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 12 Jun 2017 21:37:36 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id v5CJbZhf034858; Mon, 12 Jun 2017 21:37:35 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Mon, 12 Jun 2017 21:37:35 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Friedrich Locke cc: freebsd-questions@freebsd.org Subject: Re: security options In-Reply-To: <593EECAC.7050208@gmail.com> Message-ID: References: <593EECAC.7050208@gmail.com> User-Agent: Alpine 2.21 (BSF 202 2017-01-01) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-2.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.fig.ol.no Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 19:37:47 -0000 On Mon, 12 Jun 2017 16:34-0300, Friedrich Locke wrote: > Hi folks, > > i wonder what are the sysctl variables and its value to those list of options, > related to security, that are given us the chance to change in the fbsd > install program. > > I mean options like: [ ] prevent users from seeing other processes > [ ] prevent users from other groups processes It looks like it can be these two: security.bsd.see_other_gids: 1 security.bsd.see_other_uids: 1 1 are the default values as far as I can tell. -- +-------------------------------+------------------------------------+ | 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. | +-------------------------------+------------------------------------+ From owner-freebsd-questions@freebsd.org Mon Jun 12 23:21:21 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47C57D86612 for ; Mon, 12 Jun 2017 23:21:21 +0000 (UTC) (envelope-from friedrich.locke@gmail.com) Received: from mail-qt0-x241.google.com (mail-qt0-x241.google.com [IPv6:2607:f8b0:400d:c0d::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F259783E90 for ; Mon, 12 Jun 2017 23:21:20 +0000 (UTC) (envelope-from friedrich.locke@gmail.com) Received: by mail-qt0-x241.google.com with SMTP id w1so30156130qtg.0 for ; Mon, 12 Jun 2017 16:21:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=m+r6xUwPYe6w4pEJ+7rnJIFnkOxB5n/e0xO++5ei3yc=; b=mtcON4qh2aXH130TZt2aP/T5MxwQ/QkZ7EMldxfDqV0AEDfn0IQNo8ij/77AnVkANf 6yyCDrcex2A7NNQQyYSPN9giLoklneQ59ezCj+N3VBuTns09LwVDCPNFQ+Irrz3ex+4/ LIXhIN2sz+r8fonVtEdtfZSaAAjXaX9/0bZ5qiejW9Up/c6N7DA4mbKZRFRirDw2darc Bd0mvuQLaMZFyTOl4YqMGGvcukz69/Ha8qFkZYcZ9k/YksYWtpJrzS/Z9vuUmumrvggO J765q3q8ANCCsVhkgdP/qGNiRnRy6BEAGmiWaHkMgKdgrTm20WR3cqtStRcMadjiuKo6 0buQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=m+r6xUwPYe6w4pEJ+7rnJIFnkOxB5n/e0xO++5ei3yc=; b=jwG9kNBkFzn8vL5MmBkk3Km3vLAH+PxnpvHNmvRQaEXmPx4wjngnb/XRJLiCruHas2 ExapI/Wd1ZY0ayOg9DtoIlOgVzMUDwsyKytejXfSADtHcQq0LhkCEbBlkxpMYJknbLRh DyajhWqqpYQsc24MbJxKb+hOr5rsD13eJdqz6RYEMMTkNuKqEM9Wx1jF3OmSloQXUO3q 34eNMaXNdqUkC6TAY5j/RKmfe20xSj5qGz6T/VvdGN4vXGVKCNEPYhcGPqjUo9ZSk7Ui Eiq92I/OwYGUXhyuVMpMUISZFvpVUTK9sGHbAi6TChcpvahLfy49n0iItxJgBo/dKczG +iqw== X-Gm-Message-State: AODbwcB5hV8tTvKKHlEVAPO4e/kO7pb/YwtOH0nTv5sXKulvcYDuF2KZ wZ1tk2jeaHBcaw== X-Received: by 10.237.36.174 with SMTP id t43mr32166116qtc.180.1497309680263; Mon, 12 Jun 2017 16:21:20 -0700 (PDT) Received: from [192.168.0.103] ([191.40.87.47]) by smtp.gmail.com with ESMTPSA id b23sm7953048qtb.5.2017.06.12.16.21.17 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Jun 2017 16:21:19 -0700 (PDT) Message-ID: <593F21EA.9090301@gmail.com> Date: Mon, 12 Jun 2017 20:21:14 -0300 From: Friedrich Locke User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Patrick McMunn , freebsd-questions@freebsd.org Subject: Re: -O2 flag References: <593C4679.5010104@gmail.com> In-Reply-To: Content-Type: multipart/mixed; boundary="------------050807080701060202010509" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 23:21:21 -0000 This is a multi-part message in MIME format. --------------050807080701060202010509 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Here you have the output of truss in x.txt. Em 11/06/2017 00:46, Patrick McMunn escreveu: > I have not, but if the problem occurs with only one program, it is > likely a compiler bug. You should probably report a bug to Clang (or GCC > if that applies). You could try using a different compiler to see if the > problem still occurs. > > On Jun 10, 2017 2:20 PM, "Friedrich Locke" > wrote: > > Hi folks, > > i am trying compile a program with cc on freebsd 11. > When i use -O2 compilation flag, the compiled code is giving error > on execution, but with i omit -O2 everything works ok. > > Have anybody already faced such problem ? > > Thanks in advance. > _______________________________________________ > freebsd-questions@freebsd.org > mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org > " > --------------050807080701060202010509 Content-Type: text/plain; charset=windows-1252; name="x.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="x.txt" U2NyaXB0IHN0YXJ0ZWQgb24gTW9uIEp1biAxMiAxNjo1OToxNyAyMDE3CiMgY2QgL2FzZC92 YXIvc2RiDQojIHRydXNzIG1kYiBnZXQgc3ZkIDwgYXNsLmFjZAgbW0sIG1tLCBtbSwgbW0sI G1tLCBtbSwgbW0tyc2MuYWNkDQptbWFwKDB4MCwzMjc2OCxQUk9UX1JFQUR8UFJPVF9XUklU RSxNQVBfUFJJVkFURXxNQVBfQU5PTiwtMSwweDApID0gMzQzNjYxODEzNzYgKDB4ODAwNjI1 MDAwKQ0KaXNzZXR1Z2lkKCkJCQkJCSA9IDAgKDB4MCkNCmxzdGF0KCIvZXRjIix7IG1vZGU9 ZHJ3eHIteHIteCAsaW5vZGU9MTI4NDA5NixzaXplPTI1NjAsYmxrc2l6ZT0zMjc2OCB9KSA9 IDAgKDB4MCkNCmxzdGF0KCIvZXRjL2xpYm1hcC5jb25mIix7IG1vZGU9LXJ3LXItLXItLSAs aW5vZGU9MTI4NDE3OCxzaXplPTEwOSxibGtzaXplPTMyNzY4IH0pID0gMCAoMHgwKQ0Kb3Bl bmF0KEFUX0ZEQ1dELCIvZXRjL2xpYm1hcC5jb25mIixPX0NMT0VYRUMsMDApID0gMyAoMHgz KQ0KZnN0YXQoMyx7IG1vZGU9LXJ3LXItLXItLSAsaW5vZGU9MTI4NDE3OCxzaXplPTEwOSxi bGtzaXplPTMyNzY4IH0pID0gMCAoMHgwKQ0KbW1hcCgweDAsMTA5LFBST1RfUkVBRCxNQVBf UFJJVkFURSwzLDB4MCkJID0gMzQzNjYyMTQxNDQgKDB4ODAwNjJkMDAwKQ0KY2xvc2UoMykJ CQkJCSA9IDAgKDB4MCkNCmxzdGF0KCIvdXNyIix7IG1vZGU9ZHJ3eHIteHIteCAsaW5vZGU9 MTc2NTYzMixzaXplPTUxMixibGtzaXplPTMyNzY4IH0pID0gMCAoMHgwKQ0KbHN0YXQoIi91 c3IvbG9jYWwiLHsgbW9kZT1kcnd4ci14ci14ICxpbm9kZT0xODQ1ODkxLHNpemU9NTEyLGJs a3NpemU9MzI3NjggfSkgPSAwICgweDApDQpsc3RhdCgiL3Vzci9sb2NhbC9ldGMiLHsgbW9k ZT1kcnd4ci14ci14ICxpbm9kZT0xMDYwOTMsc2l6ZT01MTIsYmxrc2l6ZT0zMjc2OCB9KSA9 IDAgKDB4MCkNCmxzdGF0KCIvdXNyL2xvY2FsL2V0Yy9saWJtYXAuZCIsMHg3ZmZmZmZmZmNi ZjgpCSBFUlIjMiAnTm8gc3VjaCBmaWxlIG9yIGRpcmVjdG9yeScNCm11bm1hcCgweDgwMDYy ZDAwMCwxMDkpCQkJCSA9IDAgKDB4MCkNCm9wZW5hdChBVF9GRENXRCwiL3Zhci9ydW4vbGQt ZWxmLnNvLmhpbnRzIixPX0NMT0VYRUMsMDApID0gMyAoMHgzKQ0KcmVhZCgzLCJFaG50XF5B XDBcMFwwXE1eQFwwXDBcMGdcMFwwXDBcMCIuLi4sMTI4KSA9IDEyOCAoMHg4MCkNCmZzdGF0 KDMseyBtb2RlPS1yLS1yLS1yLS0gLGlub2RlPTI2ODk5MSxzaXplPTIzMSxibGtzaXplPTMy NzY4IH0pID0gMCAoMHgwKQ0KbHNlZWsoMywweDgwLFNFRUtfU0VUKQkJCQkgPSAxMjggKDB4 ODApDQpyZWFkKDMsIi9saWI6L3Vzci9saWI6L3Vzci9saWIvY29tcGF0Oi91Ii4uLiwxMDMp ID0gMTAzICgweDY3KQ0KY2xvc2UoMykJCQkJCSA9IDAgKDB4MCkNCmFjY2VzcygiL2xpYi9s aWJjLnNvLjciLEZfT0spCQkJID0gMCAoMHgwKQ0Kb3BlbmF0KEFUX0ZEQ1dELCIvbGliL2xp YmMuc28uNyIsT19DTE9FWEVDfE9fVkVSSUZZLDAwKSA9IDMgKDB4MykNCmZzdGF0KDMseyBt b2RlPS1yLS1yLS1yLS0gLGlub2RlPTgwMzA1LHNpemU9MTc0NDMwNCxibGtzaXplPTMyNzY4 IH0pID0gMCAoMHgwKQ0KbW1hcCgweDAsNDA5NixQUk9UX1JFQUQsTUFQX1BSSVZBVEV8TUFQ X1BSRUZBVUxUX1JFQUQsMywweDApID0gMzQzNjYyMTQxNDQgKDB4ODAwNjJkMDAwKQ0KbW1h cCgweDAsMzg4MzAwOCxQUk9UX05PTkUsTUFQX1BSSVZBVEV8TUFQX0FOT058TUFQX05PQ09S RSwtMSwweDApID0gMzQzNjgyODY3MjAgKDB4ODAwODI3MDAwKQ0KbW1hcCgweDgwMDgyNzAw MCwxNjM0MzA0LFBST1RfUkVBRHxQUk9UX0VYRUMsTUFQX1BSSVZBVEV8TUFQX0ZJWEVEfE1B UF9OT0NPUkV8TUFQX1BSRUZBVUxUX1JFQUQsMywweDApID0gMzQzNjgyODY3MjAgKDB4ODAw ODI3MDAwKQ0KbW1hcCgweDgwMGJiNTAwMCw0OTE1MixQUk9UX1JFQUR8UFJPVF9XUklURSxN QVBfUFJJVkFURXxNQVBfRklYRUR8TUFQX1BSRUZBVUxUX1JFQUQsMywweDE4ZTAwMCkgPSAz NDM3MjAxNDA4MCAoMHg4MDBiYjUwMDApDQptbWFwKDB4ODAwYmMxMDAwLDEwNjQ5NixQUk9U X1JFQUR8UFJPVF9XUklURSxNQVBfUFJJVkFURXxNQVBfRklYRUR8TUFQX0FOT04sLTEsMHgw KSA9IDM0MzcyMDYzMjMyICgweDgwMGJjMTAwMCkNCm11bm1hcCgweDgwMDYyZDAwMCw0MDk2 KQkJCSA9IDAgKDB4MCkNCmNsb3NlKDMpCQkJCQkgPSAwICgweDApDQptbWFwKDB4MCwxMDI0 MDAsUFJPVF9SRUFEfFBST1RfV1JJVEUsTUFQX1BSSVZBVEV8TUFQX0FOT04sLTEsMHgwKSA9 IDM0MzY2MjE0MTQ0ICgweDgwMDYyZDAwMCkNCnN5c2FyY2goQU1ENjRfU0VUX0ZTQkFTRSww eDdmZmZmZmZmZTVjOCkJID0gMCAoMHgwKQ0Kc2lncHJvY21hc2soU0lHX0JMT0NLLHsgU0lH SFVQfFNJR0lOVHxTSUdRVUlUfFNJR0tJTEx8U0lHUElQRXxTSUdBTFJNfFNJR1RFUk18U0lH VVJHfFNJR1NUT1B8U0lHVFNUUHxTSUdDT05UfFNJR0NITER8U0lHVFRJTnxTSUdUVE9VfFNJ R0lPfFNJR1hDUFV8U0lHWEZTWnxTSUdWVEFMUk18U0lHUFJPRnxTSUdXSU5DSHxTSUdJTkZP fFNJR1VTUjF8U0lHVVNSMiB9LHsgfSkgPSAwICgweDApDQpzaWdwcm9jbWFzayhTSUdfU0VU TUFTSyx7IH0sMHgwKQkJID0gMCAoMHgwKQ0KcmVhZGxpbmsoIi9ldGMvbWFsbG9jLmNvbmYi LDB4N2ZmZmZmZmZkY2MwLDEwMjQpIEVSUiMyICdObyBzdWNoIGZpbGUgb3IgZGlyZWN0b3J5 Jw0KaXNzZXR1Z2lkKCkJCQkJCSA9IDAgKDB4MCkNCl9fc3lzY3RsKDB4N2ZmZmZmZmZkYjMw LDB4MiwweDdmZmZmZmZmZGI4MCwweDdmZmZmZmZmZGI3OCwweDgwMDk4NjY0NywweGQpID0g MCAoMHgwKQ0KX19zeXNjdGwoMHg3ZmZmZmZmZmRiODAsMHgyLDB4N2ZmZmZmZmZkYzQ0LDB4 N2ZmZmZmZmZkYzM4LDB4MCwweDApID0gMCAoMHgwKQ0KbW1hcCgweDAsMjA5NzE1MixQUk9U X1JFQUR8UFJPVF9XUklURSxNQVBfUFJJVkFURXxNQVBfQU5PTiwtMSwweDApID0gMzQzNzIx Njk3MjggKDB4ODAwYmRiMDAwKQ0KbXVubWFwKDB4ODAwYmRiMDAwLDIwOTcxNTIpCQkJID0g MCAoMHgwKQ0KbW1hcCgweDAsNDE5MDIwOCxQUk9UX1JFQUR8UFJPVF9XUklURSxNQVBfUFJJ VkFURXxNQVBfQU5PTiwtMSwweDApID0gMzQzNzIxNjk3MjggKDB4ODAwYmRiMDAwKQ0KbXVu bWFwKDB4ODAwYmRiMDAwLDE1MTU1MikJCQkgPSAwICgweDApDQptdW5tYXAoMHg4MDBlMDAw MDAsMTk0MTUwNCkJCQkgPSAwICgweDApDQpzaWdwcm9jbWFzayhTSUdfQkxPQ0sseyBTSUdI VVB8U0lHSU5UfFNJR1FVSVR8U0lHS0lMTHxTSUdQSVBFfFNJR0FMUk18U0lHVEVSTXxTSUdV Ukd8U0lHU1RPUHxTSUdUU1RQfFNJR0NPTlR8U0lHQ0hMRHxTSUdUVElOfFNJR1RUT1V8U0lH SU98U0lHWENQVXxTSUdYRlNafFNJR1ZUQUxSTXxTSUdQUk9GfFNJR1dJTkNIfFNJR0lORk98 U0lHVVNSMXxTSUdVU1IyIH0seyB9KSA9IDAgKDB4MCkNCnNpZ3Byb2NtYXNrKFNJR19TRVRN QVNLLHsgfSwweDApCQkgPSAwICgweDApDQpzaWdwcm9jbWFzayhTSUdfQkxPQ0sseyBTSUdI VVB8U0lHSU5UfFNJR1FVSVR8U0lHS0lMTHxTSUdQSVBFfFNJR0FMUk18U0lHVEVSTXxTSUdV Ukd8U0lHU1RPUHxTSUdUU1RQfFNJR0NPTlR8U0lHQ0hMRHxTSUdUVElOfFNJR1RUT1V8U0lH SU98U0lHWENQVXxTSUdYRlNafFNJR1ZUQUxSTXxTSUdQUk9GfFNJR1dJTkNIfFNJR0lORk98 U0lHVVNSMXxTSUdVU1IyIH0seyB9KSA9IDAgKDB4MCkNCnNpZ3Byb2NtYXNrKFNJR19TRVRN QVNLLHsgfSwweDApCQkgPSAwICgweDApDQpzaWdhY3Rpb24oU0lHUElQRSx7IDB4NDAxYjIw IDB4MCBzc190IH0seyBTSUdfREZMIDB4MCBzc190IH0pID0gMCAoMHgwKQ0KbXVubWFwKDB4 ZmZmZmZmZmZmZmZmZmZmZiwwKQkJCSBFUlIjMjIgJ0ludmFsaWQgYXJndW1lbnQnDQptbWFw KDB4MCwyMDk3MTUyLFBST1RfUkVBRHxQUk9UX1dSSVRFLE1BUF9QUklWQVRFfE1BUF9BTk9O LC0xLDB4MCkgPSAzNDM3NDQxODQzMiAoMHg4MDBlMDAwMDApDQpnZXRwaWQoKQkJCQkJID0g MjIyOSAoMHg4YjUpDQpmc3luYygweDEpCQkJCQkgPSAwICgweDApDQptZGIvZ2V0WzIyMjld OiBiYWQgcHJvdG9jb2wNCndyaXRlKDIsIm1kYi9nZXRbMjIyOV06IGJhZCBwcm90b2NvbFxu IiwyOCkJID0gMjggKDB4MWMpDQpmc3luYygweDIpCQkJCQkgPSAwICgweDApDQpleGl0KDB4 MSkJCQkJCQ0KcHJvY2VzcyBleGl0LCBydmFsID0gMQ0KIyBleGl0DQoKU2NyaXB0IGRvbmUg b24gTW9uIEp1biAxMiAxNzowMDozMiAyMDE3Cg== --------------050807080701060202010509-- From owner-freebsd-questions@freebsd.org Tue Jun 13 12:57:08 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6EA6CBF3AC2; Tue, 13 Jun 2017 12:57:08 +0000 (UTC) (envelope-from baijiaju1990@163.com) Received: from m12-13.163.com (m12-13.163.com [220.181.12.13]) by mx1.freebsd.org (Postfix) with ESMTP id 8345E7ADFE; Tue, 13 Jun 2017 12:57:06 +0000 (UTC) (envelope-from baijiaju1990@163.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Message-ID:Date:From:MIME-Version:Subject; bh=FCpqg Q6/YH51f4vEb4KhA/0F3cbFe44Ny+1OZ9HhXeE=; b=RX2gfLmA6EPbXbPlM8+AF HZvibOTxeeBY66D3EWEKtoIoRe9nnK8gitb7nHNIAZOZ0CUYzH0NB1+M2xId9Xjf 3+bG+JvHayuU3d3tioOJokil0UglfGJa8V4jx/7TGF+Rp2ENx3uQ2WOcHWcxwkF1 f/0US7QR3FN2zmrFFqaIqk= Received: from [166.111.70.19] (unknown [166.111.70.19]) by smtp9 (Coremail) with SMTP id DcCowACHt+Mc4T9ZjLnlKQ--.54220S2; Tue, 13 Jun 2017 20:57:00 +0800 (CST) Message-ID: <593FE1C9.2060706@163.com> Date: Tue, 13 Jun 2017 20:59:53 +0800 From: Jia-Ju Bai User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120410 Thunderbird/11.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org, freebsd-drivers@freebsd.org Subject: A question about in lock usage in FreeBSD Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-CM-TRANSID: DcCowACHt+Mc4T9ZjLnlKQ--.54220S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrZF4fXr4kGF1kury8WF47XFb_yoWfJrg_Ca y0kFWDCa1agr4Sqa1jgF4fCr4jgF48ury5AFyrAF13Jw1fJa97WF1kua4xZF4fJF45Aw4D tr98Aa4a9rya9jkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IU56uWJUUUUU== X-Originating-IP: [166.111.70.19] X-CM-SenderInfo: xedlyx5dmximizq6il2tof0z/1tbiYxv1elaDtXir4AAAsk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 12:57:08 -0000 Hi, I am a freshman in developing FreeBSD drivers, and I have a question in lock usage in FreeBSD. The kernel provides some kinds of locks in developing drivers, such as "mutex lock", "mutex spin lock", "rw lock" and "sx lock". I want to know which locks should be held when the thread can sleep. From my knowledge of FreeBSD document, I make the following points: (1) "rw lock" and "sx lock" can be used in this situation; (2) "mutex lock" and "mutex spin lock" are forbidden in this situation. If my points are right, I will make another point: mutex_lock will let the thread sleep when the lock is requested, so the mutex_lock can not be called in nested style (namely it is unsafe that mutex_lock is called again when a "mutex lock" is held). Are my points are right? I am looking forward to useful opinions and answers :) Thanks in advance :) Jia-Ju Bai From owner-freebsd-questions@freebsd.org Tue Jun 13 13:31:15 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8AF37BF4851 for ; Tue, 13 Jun 2017 13:31:15 +0000 (UTC) (envelope-from friedrich.locke@gmail.com) Received: from mail-qt0-x234.google.com (mail-qt0-x234.google.com [IPv6:2607:f8b0:400d:c0d::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3B73A7BFCD for ; Tue, 13 Jun 2017 13:31:15 +0000 (UTC) (envelope-from friedrich.locke@gmail.com) Received: by mail-qt0-x234.google.com with SMTP id u12so171815108qth.0 for ; Tue, 13 Jun 2017 06:31:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=0Qz+cWMRflwBNcC2SGTe+hzVOuLD49vCOYoNJwJaUdM=; b=ZEslfg/6X/AsbF7+TGf66X5lqj1Rbvv6zYaXUhgtkxOVUab6GwbQ8XDeO8zlAS3Jzm 7XmEtJQn5V8kU9tB91yXnqQQFa/dTWQIT1qz1swG5wQI8ME2xKfuIIZYsfvbgv9T2GOp t/nuxlGbtV8Z8rtFm42brtEB5xgP1vxdaBla1wemYFAYqIgASVVt9Eo1Egr5w5eNXbzl W8YZqwe+kx+Qli98+dEP0UOSJWXpvHSnNmzmzZ39b4pGjDE8wEmcbInXxlb123FBbJqf +KzdO+fZBYF6n94n+s9VRL6wtYAROOaN1ugrdDkk0W6O28iXrOgufIZUrsvNhvht2tGk k3yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=0Qz+cWMRflwBNcC2SGTe+hzVOuLD49vCOYoNJwJaUdM=; b=ig+9QsvlkMMs1jCRSgH3kolSF6F2ypmDx00ljb/lk+m91Mt9l60NE59y/EXoxbJCBt JUYYvXJ8xiEEtxjIBwi71UqryAMWximKlJH737n3OgAtxn0sKveMQCCZ3R06SckWn2pu yZrbtRlEWwaAz/nAESxJz1LuH70Yo0MndfhnKdug71IiFIMq3YN7P/tu7eIZ0Bu3lpRA 3uARKQwVjD6lrnPSssx+nTIweR6La1UNzYOGisErdyZjL2Lu8RcxiRhQUggFaZ8RS6Q7 x/N+TWdTpT8PxOrNygGMhCg3Y3wpsC0mKDxhFF22n3HmwUzfD/rLJDLBu5Hk+LTc+Xpz O3TQ== X-Gm-Message-State: AKS2vOyhyGpjV5x5MmUjNQnwkOiRcsnv7nEm/g4LDUxSyy8XiKPJPMTp 25Wln6M6g6L7ZCXe X-Received: by 10.237.46.65 with SMTP id j59mr15848144qtd.72.1497360674237; Tue, 13 Jun 2017 06:31:14 -0700 (PDT) Received: from [200.235.203.117] (200-235-203-117.wifi.ufv.br. [200.235.203.117]) by smtp.gmail.com with ESMTPSA id y19sm8841292qkb.10.2017.06.13.06.31.12 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 13 Jun 2017 06:31:13 -0700 (PDT) Message-ID: <593FE91E.8050402@gmail.com> Date: Tue, 13 Jun 2017 10:31:10 -0300 From: Friedrich Locke User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: perl from ports failed compiling 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 13:31:15 -0000 I am trying to get perl installed, but all i see on the terminal is: cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -Wthread-safety -O2 -pipe -fstack-protector -fno-strict-aliasing -DVERSION=\"1.38\" -DXS_VERSION=\"1.38\" -DPIC -fPIC "-I../.." -DLIBC="" DynaLoader.c rm -rf ../../DynaLoader.o cp DynaLoader.o ../../DynaLoader.o /usr/sbin/dtrace -G -s perldtrace.d -o dtrace_main.o perlmain.o dtrace: failed to link script perldtrace.d: No probe sites found for declared provider *** [dtrace_main.o] Error code 1 make[2]: stopped in /usr/ports/lang/perl5.24/work/perl-5.24.1 1 error make[2]: stopped in /usr/ports/lang/perl5.24/work/perl-5.24.1 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/lang/perl5.24 *** Error code 1 Stop. make: stopped in /usr/ports/lang/perl5.24 My system version is: etosha# uname -a FreeBSD etosha 11.0-RELEASE-p8 FreeBSD 11.0-RELEASE-p8 #0: Wed Feb 22 06:12:04 UTC 2017 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 Any ideia ? From owner-freebsd-questions@freebsd.org Tue Jun 13 13:58:46 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7FA08BF527F for ; Tue, 13 Jun 2017 13:58:46 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 110007CDE7 for ; Tue, 13 Jun 2017 13:58:46 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from host-4-75.office.adestra.com (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id AAA5897E9 for ; Tue, 13 Jun 2017 13:58:43 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/AAA5897E9; dkim=none; dkim-atps=neutral Subject: Re: A question about in lock usage in FreeBSD To: freebsd-questions@freebsd.org References: <593FE1C9.2060706@163.com> From: Matthew Seaman Message-ID: Date: Tue, 13 Jun 2017 14:58:36 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <593FE1C9.2060706@163.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="LnjcnolROOmvPJNHrsvLQ27S5Ag51VGOD" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 13:58:46 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --LnjcnolROOmvPJNHrsvLQ27S5Ag51VGOD Content-Type: multipart/mixed; boundary="drxjQBkJ3LOTbqEALV43h8Gsd9aDlD029"; protected-headers="v1" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: Subject: Re: A question about in lock usage in FreeBSD References: <593FE1C9.2060706@163.com> In-Reply-To: <593FE1C9.2060706@163.com> --drxjQBkJ3LOTbqEALV43h8Gsd9aDlD029 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2017/06/13 13:59, Jia-Ju Bai wrote: > I am a freshman in developing FreeBSD drivers, and I have a question in= > lock usage in FreeBSD. >=20 > The kernel provides some kinds of locks in developing drivers, such as > "mutex lock", "mutex spin lock", "rw lock" and "sx lock". I want to kno= w > which locks should be held when the thread can sleep. > From my knowledge of FreeBSD document, I make the following points: > (1) "rw lock" and "sx lock" can be used in this situation; > (2) "mutex lock" and "mutex spin lock" are forbidden in this situation.= >=20 > If my points are right, I will make another point: > mutex_lock will let the thread sleep when the lock is requested, so the= > mutex_lock can not be called in nested style (namely it is unsafe that > mutex_lock is called again when a "mutex lock" is held). >=20 > Are my points are right? > I am looking forward to useful opinions and answers :) Hi, I think you'll get better results if you ask your question on the freebsd-hackers@freebsd.org mailing list. That way it will be seen by people who are familiar with programming drivers and other internals of the kernel and who will know precisely how to answer you. Cheers, Matthew --drxjQBkJ3LOTbqEALV43h8Gsd9aDlD029-- --LnjcnolROOmvPJNHrsvLQ27S5Ag51VGOD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJZP++SXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTn9ewP/RV9I3msWn1WwTVBbMEn/gr5 u2hzQvTSWNLsmO2xgG1R5EidoIEZMDI+rwjeidmiJXz1P2MtZy45BBYyicohoTjO Vr2SCr/ByxxNK5OjdqQjg8e2IInGdvgNP6trYYRs20YRHrmQN8o6tTZo1dwI+Ypb D442rUheFkuaxVFOB0O3awzrcfgOx6me2a943O2nSyqzps+n3J6enZG2SkEaU56d UTVchJpOij3AlEQ4adDvyxpkn2bzc9H1OIjWDmG3ZfZVMwobQ6u7ssLIOnooOv/+ kL9IaG6AC2xYw0vesm2Ie8kcxtDOotuJqONReoMKm4NONJy3scFe+gbME6M9ZAq1 pi/ElUNLvoQQLdjt3ttFfgxt1H5FVS0TIX2UsZPKULHJXgIzABH7VbQOmaLrKwRw 0JPHS99EhymBlmB6EgHIE/rMKnBGtBYloy+beDnUJhHLgVr8VQ97t8TJIRlFfO/p 4ZyJ+A3Qeu9U2HZzwPNkbNovkaTLAqXo/5/NBJtMFZxcnDN+6B4OOmr9AnwBC104 zRdwornyJCbzcYGvmuP5uCduq3i3cgWXny+jN+idHeMx+6473t03wZ8x6atgAMH8 2xETSExcLpFuTj7ZOqF3LNfdH4WM5TAnaRtCIfMFn5xJm2T5ZXlpPsTzT8BORzNC eovXT+dRef9nDkhEg09j =pTjb -----END PGP SIGNATURE----- --LnjcnolROOmvPJNHrsvLQ27S5Ag51VGOD-- From owner-freebsd-questions@freebsd.org Tue Jun 13 14:17:23 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 97C47BF5CA0 for ; Tue, 13 Jun 2017 14:17:23 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1DB707D80D for ; Tue, 13 Jun 2017 14:17:23 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from host-4-75.office.adestra.com (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 4E8F197EF for ; Tue, 13 Jun 2017 14:17:21 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/4E8F197EF; dkim=none; dkim-atps=neutral Subject: Re: perl from ports failed compiling To: freebsd-questions@freebsd.org References: <593FE91E.8050402@gmail.com> From: Matthew Seaman Message-ID: <1e9b4a94-5a3c-2b79-f644-6bf6251aa572@FreeBSD.org> Date: Tue, 13 Jun 2017 15:17:14 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <593FE91E.8050402@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fboANHrEvsCch03DXIJN9orLk9quswlhm" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 14:17:23 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --fboANHrEvsCch03DXIJN9orLk9quswlhm Content-Type: multipart/mixed; boundary="UiFVk7tI0Ch2SII4tISoLthcx1EGDRsi1"; protected-headers="v1" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: <1e9b4a94-5a3c-2b79-f644-6bf6251aa572@FreeBSD.org> Subject: Re: perl from ports failed compiling References: <593FE91E.8050402@gmail.com> In-Reply-To: <593FE91E.8050402@gmail.com> --UiFVk7tI0Ch2SII4tISoLthcx1EGDRsi1 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2017/06/13 14:31, Friedrich Locke wrote: > I am trying to get perl installed, but all i see on the terminal is: >=20 > cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing > -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=3D= 2 > -Wall -Werror=3Ddeclaration-after-statement -Wextra -Wc++-compat > -Wwrite-strings -Wthread-safety -O2 -pipe -fstack-protector > -fno-strict-aliasing -DVERSION=3D\"1.38\" -DXS_VERSION=3D\"1.38\" -= DPIC > -fPIC "-I../.." -DLIBC=3D"" DynaLoader.c > rm -rf ../../DynaLoader.o > cp DynaLoader.o ../../DynaLoader.o > /usr/sbin/dtrace -G -s perldtrace.d -o dtrace_main.o perlmain.o > dtrace: failed to link script perldtrace.d: No probe sites found for > declared provider > *** [dtrace_main.o] Error code 1 >=20 > make[2]: stopped in /usr/ports/lang/perl5.24/work/perl-5.24.1 > 1 error >=20 > make[2]: stopped in /usr/ports/lang/perl5.24/work/perl-5.24.1 > =3D=3D=3D> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the fail= ure to > the maintainer. > *** Error code 1 >=20 > Stop. > make[1]: stopped in /usr/ports/lang/perl5.24 > *** Error code 1 >=20 > Stop. > make: stopped in /usr/ports/lang/perl5.24 >=20 > My system version is: > etosha# uname -a > FreeBSD etosha 11.0-RELEASE-p8 FreeBSD 11.0-RELEASE-p8 #0: Wed Feb 22 > 06:12:04 UTC 2017 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >=20 So, you've clearly enabled the DTRACE option, which should work as you're compiling on a supported architecture (amd64) and OS version (11.0). However, dtrace capabilities can be a tricky thing to compile in properly. Have you done a 'make clean' since enabling the DTRACE option? You need to recompile everything as one of the effects of turning on DTRACE is to enable some conditionally included blocks of code. Are you using poudriere or similar, that compiles software in a separate jail? If so, and the jail doesn't contain a copy of the kernel, then dtrace will likely fail. I believe you should be able to get round this by adding -xnolibs to the dtrace command line -- unfortunately it seems this version of perl doesn't have an equivalent to DTRACEFLAGS that I can see, so you might have to resort to hacking on the Makefiles in the perl sources. Cheers, Matthew --UiFVk7tI0Ch2SII4tISoLthcx1EGDRsi1-- --fboANHrEvsCch03DXIJN9orLk9quswlhm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJZP/PwXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnY3wQAJ0OQgcdN3zruEkyZIOGCNbQ Ewt2eQuq+YbxGELGJd0U2veBw2XQArvYLQFdqgpUI1evh7LV7q5pysSjV3JP6p7r 1ryeb+8ws9hPmepXU0ReT8YqidvS2gYuD+RBnMeerl0wurTUQsqRU42bPnkd+Sqj GGpe4ad7EsSUEwLXfKFDQg2XyeU/pr/QcjewbdEhvBUOO1fYQc8sJkLb144NdhA+ yoytsadoezg9IGWPMZ7ZjA3OM9/Vx99e+9mgE+vGwue5jpUF3GS2/JNAGl4MdDXH yiwKLJ9Rdh3QZ1NLcs1DdgvBOFw8mQRhyRs7bJlKJ/BFmVxMzVuuOndrHP1KzrBx HpmDKxklvvO7GuyMp1ePlHI9beKi+VBcbZA9EH5BpKpDf50t7cryT3aU423zw7VG RD962mtrvCT8FQ7xbqYj3LxLH7xlr9O+a8Lbu+MrP715FnZQcRTw0ZuYE9UW52qn zwU/HT9bHnXismdQ2jBOGlBxPEj7irsZ3ns9HHWSdvHyo6+oBc0mZvpb3O/M2Z7w ap21EnX+d9GzSw3YdXZzjle8DTSbIwvG1MzjfEpTn2IiT/uS22GXRElDDWsYX11j Y9UI471wQo5S8AjVw8W0zfQ7ydVcmFaLLeMV/eLNU4Frr9dLx4gju8xP1664aecn ExvM76OKSJE7dwdkYRjg =Asqu -----END PGP SIGNATURE----- --fboANHrEvsCch03DXIJN9orLk9quswlhm-- From owner-freebsd-questions@freebsd.org Tue Jun 13 14:18:14 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E0176BF5D4E for ; Tue, 13 Jun 2017 14:18:14 +0000 (UTC) (envelope-from friedrich.locke@gmail.com) Received: from mail-yb0-x229.google.com (mail-yb0-x229.google.com [IPv6:2607:f8b0:4002:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A076B7D8F1 for ; Tue, 13 Jun 2017 14:18:14 +0000 (UTC) (envelope-from friedrich.locke@gmail.com) Received: by mail-yb0-x229.google.com with SMTP id f192so36066347yba.2 for ; Tue, 13 Jun 2017 07:18:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=+cUyBsGg0sBNo3RsbQ5/oHq5VVUn8TgMwQANmkq/jQQ=; b=smez4mpGboVf/2uNZXQQWbkEcRgC8bXnjige8v7/gvvhhMT9r5+O/AojAPE+hfn1tZ Kd/2UiNpLrfkFi7WOEw7rYXN1oYAg0uD7iD+wznwxcTo2xn5m8xpn6Ux27LRX0DgNKyZ ItUBB0TxS2QQM0xxiQx3orN2gyUEhJGdAJhD84hFrgxf1LMN1xz4VL3uk2DrXUFqd1ou 7wSs5UWvz8aCVK/V6rIOTe2hMp4go+Bo9YXX9wwK6yhFMY/wY2j2Wen9Pg+IA+kQxCpZ zREHWMi9h/YsA8GiMgd4lyCN7o5Bf4YO+ZuPnHIjZ4kJ0R3i3cdFISVNsbGqzPkXZatn f0nA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=+cUyBsGg0sBNo3RsbQ5/oHq5VVUn8TgMwQANmkq/jQQ=; b=LUt0TmvBmw5VsxNShIAbykwTBDkplxseGttcv7A+tkVy+T5HjFp35ly6UZtc05T993 JKgIDJ435+BeYlk2V0a2uNowRFVCxlKknPx5yAZE3oMBPx7lItHbIfMl/4e7s6NZFUu3 Kf9brC/8fMH9mpmbdj/Z9gb7X1JwMQPT5s6qwU8atCT8vd/DsP7mqlfY9f0h3a85QIRl aDp3Ej3m/tDYFNxGjWhqgHEYf36xEXovlJ+u3P1dFAcj2x+EumCnkYIQyTMzJnwLf1ic NXFQCawsBWQLVyw4mNBUmbEk5dqI9WBSIuFTXNjK/cwqhBAj2Bzp1+0aufAoMqXfVymZ lfRA== X-Gm-Message-State: AKS2vOwY+KUCDg0mbMZyLIqGkIo9xdzY/APf3iL1Ma5GoUfq5U43o0TH hpEet4aDDVH2o3SYDiiwvwSrXNpgLQ== X-Received: by 10.37.111.194 with SMTP id k185mr3267751ybc.116.1497363493708; Tue, 13 Jun 2017 07:18:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.207.206 with HTTP; Tue, 13 Jun 2017 07:18:13 -0700 (PDT) From: Friedrich Locke Date: Tue, 13 Jun 2017 11:18:13 -0300 Message-ID: Subject: perl is broken To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 14:18:15 -0000 Hi folks, i am trying to get perl 5.24 installed from ports, but it cannot be compiled. The problem is related to dtrace on miniperl i think. Have anybody here already faced such problem ? What experience do you have to report ? Thanks. From owner-freebsd-questions@freebsd.org Tue Jun 13 14:24:34 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4363FBF5F8B for ; Tue, 13 Jun 2017 14:24:34 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EE8DA7DD18 for ; Tue, 13 Jun 2017 14:24:33 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from host-4-75.office.adestra.com (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 4761497F2 for ; Tue, 13 Jun 2017 14:24:32 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/4761497F2; dkim=none; dkim-atps=neutral Subject: Re: perl is broken To: freebsd-questions@freebsd.org References: From: Matthew Seaman Message-ID: Date: Tue, 13 Jun 2017 15:24:31 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="A026Ndwp3iF5o7rMqSl7V1WqeUJi833a7" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 14:24:34 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --A026Ndwp3iF5o7rMqSl7V1WqeUJi833a7 Content-Type: multipart/mixed; boundary="P9GSc3iL4qfmrajlS9hfV6okVNks8saCf"; protected-headers="v1" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: Subject: Re: perl is broken References: In-Reply-To: --P9GSc3iL4qfmrajlS9hfV6okVNks8saCf Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2017/06/13 15:18, Friedrich Locke wrote: > i am trying to get perl 5.24 installed from ports, but it cannot be > compiled. > The problem is related to dtrace on miniperl i think. >=20 > Have anybody here already faced such problem ? > What experience do you have to report ? perl is a pretty high priority port for fixes, given that something like half the ports tree has at least a build-time dependency on it. If what you need is a working perl right now, then try turning off the DTRACE option for the time being. That's basically 'cd $PORTSDIR/lang/perl5.24 ; make config' but different port/pkg building systems may require something different. Cheers, Matthew --P9GSc3iL4qfmrajlS9hfV6okVNks8saCf-- --A026Ndwp3iF5o7rMqSl7V1WqeUJi833a7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJZP/WfXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnAJgP+QEPe3KgsrBcLUM+iB/CigB6 /3E7osgXfBUPlV+pjw3/SeDTifmFWsU4uMaEitusMs4sp7BGCN7W4705cu6QOwki GU5WWiaDrDqCVDA29rUSfNT8OK2bS0htat6jwy7slyPAznVPXscbiD1JppBva+3t 5MrTcSYePZQWJrQMbZr5KEgVy+nuovho76QdQN9CRnRAvxNgUQUVrEzaXoP+PyeT NQQk6G9GXjwRbMBANS+qcaPvQLyxXYgPlbckRLtRi+/rMGkIL03x9gqH5NL+qNGa WkZULzeeA8Q1xvwa7ZQScW/9FhmXYISXf1rnhrCZmr9sE3zv1qvNkxjXopINV80G gnzoITj8cZ/O5n5szfX9XfE0db+iN7WUGWh8XJWcjagyVTXoBYhov3QBpGak4x5F 5u/GWFuRBDnjiDz8/NZ5xBnv+NmJp7ouYYvxb/60NiQpoQUYEsWa36277b9XAsN1 hlZRHH4isj46rOFP5CH6sknjAN2pcZ+/oVVjUkrU9q09Aj3x/yLJLEnyFRIZJyDF a/Rs//vpvnSWayuRnELc8MS5Lb6lyQf6raiZtfy2e1sNEYEhiMa7R5R6f3UgNR8u 8Vi3ZCWtf+KmACDTp2nZoo5AMLCRvlpsbQ1XBgH9BQFmg750jMFo5LodLSu8DkwZ Oz2atIEXsaHnRXmndzv1 =dAwl -----END PGP SIGNATURE----- --A026Ndwp3iF5o7rMqSl7V1WqeUJi833a7-- From owner-freebsd-questions@freebsd.org Tue Jun 13 14:53:42 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EC615BF6AB0 for ; Tue, 13 Jun 2017 14:53:42 +0000 (UTC) (envelope-from friedrich.locke@gmail.com) Received: from mail-yw0-x232.google.com (mail-yw0-x232.google.com [IPv6:2607:f8b0:4002:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A9CE87ED15; Tue, 13 Jun 2017 14:53:42 +0000 (UTC) (envelope-from friedrich.locke@gmail.com) Received: by mail-yw0-x232.google.com with SMTP id l75so51250963ywc.3; Tue, 13 Jun 2017 07:53:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=dKCgsKsfWQcwMNtu1jev6KfJAn8Hu65pvbvXL/IGFHI=; b=f0BVo/9FmX3HakI971bnFYXoL+Y3FyTwi1/W4ypcNbhDt5s62cCMs/pAojQ9l91ADW nQ7Arlpz8LNL4f+O8qJlshUpGNkdnxWBqZOBE1+B0TCJrbgFhM2o+ZmJaDSBvakp3c3w oBrtaTu3Vsanx/SU3ej5DMRmz8pKm/t0fYHleXCufyr6x+d2Hm+h98PjLinAKVBP8/4x l9AZQXG4EXZrMtNuWGIxprPWBpPIEKphgOqm24bt6RmruUOh0d3Vvw2P4lhUQTHXk3qK aQgS6iRbd12qzVFgbd8OOv6szPgvLNN54NamrXPJau2LfeUmce5WFj2YZPk3eK6TtGkw /iyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=dKCgsKsfWQcwMNtu1jev6KfJAn8Hu65pvbvXL/IGFHI=; b=ZbI6Um0i6oduk2i/SYrNA+ss9w9nHE+J8QgN6l4r3wuvD7bSVH/0A4ANCFyIzhuGSW cJEDy5kGZxt9QSIaNTa8StrrmaR2gTjWMz060V6kEsBdA3xtqEa9eLZCUq93BLpkBTC8 hUG3U+qgPQ4skU2Eekpd7l9kgF2QKnNK7e+KSAUCzrp3WXCc5JhsRRP8kgu/nvDjE0XV nHy4uWUkX7zID5YXmSh5lSAmCh0vu4c0jTaRXZYznGtdxH2hiLJ+2qQGJKMOFovRyEzu 6l2G+7RKKou/LmrniewHKt3/j+s5d5mfmYlYSndKq5rqN0+f2xZJDseBoBFBarxHfpms 1YIQ== X-Gm-Message-State: AKS2vOww54RW1j87ys/S9VETS/0M1mMm7SwBOvnZ2AGN7aSemUNXl3ym 9+pl9rtT3th8c8OxLpn3VPoJvGIMaBSG X-Received: by 10.129.162.14 with SMTP id z14mr3487584ywg.276.1497365621620; Tue, 13 Jun 2017 07:53:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.207.206 with HTTP; Tue, 13 Jun 2017 07:53:41 -0700 (PDT) In-Reply-To: References: From: Friedrich Locke Date: Tue, 13 Jun 2017 11:53:41 -0300 Message-ID: Subject: Re: perl is broken To: Matthew Seaman Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 14:53:43 -0000 I have disable everything option in "make config". Here is the error i get: rm -f ../../lib/auto/Math/BigInt/FastCalc/FastCalc.so cc -shared -L/usr/ports/lang/perl5.24/work/perl-5.24.1 -L/usr/local/lib/perl5/5.24/mach/CORE -lperl -L/usr/local/lib -fstack-protector-strong FastCalc.o -o ../../lib/auto/Math/BigInt/FastCalc/FastCalc.so chmod 755 ../../lib/auto/Math/BigInt/FastCalc/FastCalc.so /usr/ports/lang/perl5.24/work/perl-5.24.1/cpan/Math-BigInt-FastCalc/../../miniperl "-I../../lib" "-I../../lib" -MExtUtils::Command::MM -e 'cp_nonempty' -- FastCalc.bs ../../lib/auto/Math/BigInt/FastCalc/FastCalc.bs 644 LD_LIBRARY_PATH=/usr/ports/lang/perl5.24/work/perl-5.24.1 ./perl -Ilib -f pod/buildtoc -q Unknown option: q pod/buildtoc: Usage: pod/buildtoc [--quiet] *** [pod/perltoc.pod] Error code 255 make[2]: stopped in /usr/ports/lang/perl5.24/work/perl-5.24.1 1 error make[2]: stopped in /usr/ports/lang/perl5.24/work/perl-5.24.1 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/lang/perl5.24 *** Error code 1 Stop. make: stopped in /usr/ports/lang/perl5.24 etosha# What the hell is this unknown option:q ? On Tue, Jun 13, 2017 at 11:24 AM, Matthew Seaman wrote: > On 2017/06/13 15:18, Friedrich Locke wrote: > > i am trying to get perl 5.24 installed from ports, but it cannot be > > compiled. > > The problem is related to dtrace on miniperl i think. > > > > Have anybody here already faced such problem ? > > What experience do you have to report ? > > perl is a pretty high priority port for fixes, given that something like > half the ports tree has at least a build-time dependency on it. > > If what you need is a working perl right now, then try turning off the > DTRACE option for the time being. > > That's basically 'cd $PORTSDIR/lang/perl5.24 ; make config' but > different port/pkg building systems may require something different. > > Cheers, > > Matthew > > > From owner-freebsd-questions@freebsd.org Tue Jun 13 22:03:36 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 73CD2BFF5E9 for ; Tue, 13 Jun 2017 22:03:36 +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)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1DB876ACC7 for ; Tue, 13 Jun 2017 22:03:35 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from [192.168.1.35] (host86-191-88-133.range86-191.btcentralplus.com [86.191.88.133]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v5DLqtVR093160 for ; Tue, 13 Jun 2017 22:52:55 +0100 (BST) (envelope-from freebsd-doc@fjl.co.uk) To: freebsd-questions@freebsd.org From: Frank Leonhardt Subject: Drive labelling with ZFS Message-ID: <03643051-38e8-87ef-64ee-5284e2567cb8@fjl.co.uk> Date: Tue, 13 Jun 2017 22:52:56 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 22:03:36 -0000 Can anyone help me? I'm going quietly crazy here with FreeBSD 11-RELEASE If you're creating a non-trivial ZFS raidz zpool, I've heard it said that labelling the GPT partitioned drives with their shelf and row number is A Good Thing. (I'm not talking about sticky labels stuck on the drive, but they're good too). When you look at a healthy zpool status you get a list of all the GEOMs, but when one fails it's identified by the GUID and not the device. Good luck tracking it down from that piece of information, unless it's also making a strange buzzing noise. So I though I'd just use use glabel label to set a label on the vdev (e.g "/dev/da7p3") and zpool would use that instead. Nope; only the GUID. I also, naively, thought that setting the label would cause it to appear as a device in /dev/gpt/ What have I not understood? I have a theory - label the partitions before creating the zpool, and add them to the zpool afterwas by a /dev/gpt/ name. Except I have lost confidence that the label would appear in /dev/gpt/. It could be that /dev/gpt names don't appear if they're part of a zpool. However, testing this theory is going to involve hassle (i.e. the destruction and rebuilding of the entire zpool) so if anyone could tell me if I'm heading in the right direction I'd appreciate it. I may well have missed something trivial here. Thanks, Frank. From owner-freebsd-questions@freebsd.org Tue Jun 13 22:33:14 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4594BBFFF98 for ; Tue, 13 Jun 2017 22:33:14 +0000 (UTC) (envelope-from bounce@mailer.ge) Received: from srv1.mailer.ge (srv1.mailer.ge [46.101.115.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BC9F06EA23 for ; Tue, 13 Jun 2017 22:33:13 +0000 (UTC) (envelope-from bounce@mailer.ge) Received: from [46.101.115.47] (helo=mailer.ge) by srv1.mailer.ge with esmtpa (Exim 4.84_2) (envelope-from ) id 1dKuN5-0007Su-Se for freebsd-questions@freebsd.org; Tue, 13 Jun 2017 22:33:12 +0000 DKIM-Signature: v=1; a=rsa-sha1; bh=kmRsykHAv+cXt/uhEnRIY8wZa74=; d=smartlogistic.net; h=Message-ID: Date: Subject: From: Reply-To: To: MIME-Version: Content-Type: Precedence: List-Unsubscribe: List-Id: Feedback-ID; i=@smartlogistic.net; s=mailer; c=relaxed/relaxed; t=1497393191; b=R+ePTOUsz+Y1xFredb2SuxC+mxvT78QZFCw6tmfWSXBBeGLzR54pwd4z7N9+6qLCT02POkiC8 K0hoclhh2DF5Hc24mqHA+xEYhldMjEye/UgFELl/LIv9tyvYxG+6rph7qFzY/6uVR9SOwNK8q jkeSUAzaAh5Rk8Z4q2ER23ykk= Message-ID: <8198a6a7839cc529d5d9a09675c08554@mailer.ge> Date: Tue, 13 Jun 2017 22:33:11 +0000 Subject: Rates China- Tbilisi From: Smart Logistic Reply-To: Smart Logistic To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 X-Sender: bounce@mailer.ge X-Report-Abuse: Please report abuse for this campaign here: https://mailer.ge/campaigns/md862ajasfb8c/report-abuse/qp646klsj30ad/gw833ngxvd966 X-Receiver: freebsd-questions@freebsd.org X-Pjep-Tracking-Did: 0 X-Pjep-Subscriber-Uid: gw833ngxvd966 X-Pjep-Mailer: SwiftMailer - 5.4.x X-Pjep-EBS: https://mailer.ge/lists/block-address X-Pjep-Delivery-Sid: 1 X-Pjep-Customer-Uid: gg409nxme0b52 X-Pjep-Customer-Gid: 4 X-Pjep-Campaign-Uid: md862ajasfb8c Precedence: bulk Feedback-ID: md862ajasfb8c:gw833ngxvd966:qp646klsj30ad:gg409nxme0b52 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 22:33:14 -0000 =C2=A0=20 =E1=83=9B=E1=83=9D=E1=83=92=E1=83=94=E1=83=A1=E1=83=90= =E1=83=9A=E1=83=9B=E1=83=94=E1=83=91=E1=83=90=E1=83=97=C2=A0 =E1=83=A1= =E1=83=90=E1=83=A2=E1=83=A0=E1=83=90=E1=83=9C=E1=83=A1=E1=83=9E=E1=83=9D= =E1=83=A0=E1=83=A2=E1=83=9D=C2=A0 =E1=83=99=E1=83=9D=E1=83=9B=E1=83=9E= =E1=83=90=E1=83=9C=E1=83=98=E1=83=90 =E1=83=A1=E1=83=9B=E1=83=90=E1=83= =A0=E1=83=A2=C2=A0 =E1=83=9A=E1=83=9D=E1=83=AF=E1=83=98=E1=83=A1=E1=83= =A2=E1=83=98=E1=83=A5=E1=83=A1 =E1=83=92=E1=83=97=E1=83=90=E1=83=95= =E1=83=90=E1=83=96=E1=83=9D=E1=83=91=E1=83=97 =E1=83=A2=E1=83=95=E1=83= =98=E1=83=A0=E1=83=97=E1=83=94=E1=83=91=E1=83=98=E1=83=A1 =E1=83=A2= =E1=83=A0=E1=83=90=E1=83=9C=E1=83=A1=E1=83=9E=E1=83=9D=E1=83=A0=E1=83=A2= =E1=83=98=E1=83=A0=E1=83=94=E1=83=91=E1=83=90=E1=83=A1 =E1=83=A9=E1=83= =98=E1=83=9C=E1=83=94=E1=83=97=E1=83=98=E1=83=A1 =E1=83=9C=E1=83=94= =E1=83=91=E1=83=98=E1=83=A1=E1=83=9B=E1=83=98=E1=83=94=E1=83=A0=E1=83=98 = =E1=83=A5=E1=83=90=E1=83=9A=E1=83=90=E1=83=A5=E1=83=98=E1=83=93=E1=83=90= =E1=83=9C=C2=A0 =E1=83=97=E1=83=91=E1=83=98=E1=83=9A=E1=83=98=E1=83=A1= =E1=83=90=E1=83=9B=E1=83=93=E1=83=94 =E1=83=A7=E1=83=95=E1=83=94=E1=83= =9A=E1=83=90=E1=83=96=E1=83=94 =E1=83=93=E1=83=90=E1=83=91=E1=83=90= =E1=83=9A =E1=83=A4=E1=83=90=E1=83=A1=E1=83=90=E1=83=93, =E1=83=A8= =E1=83=A3=E1=83=90=E1=83=9B=E1=83=90=E1=83=95=E1=83=9A=E1=83=94=E1=83=91= =E1=83=98=E1=83=A1 =E1=83=93=E1=83=90 =E1=83=93=E1=83=90=E1=83=A4= =E1=83=90=E1=83=A0=E1=83=A3=E1=83=9A=E1=83=98 =E1=83=AE=E1=83=90=E1=83= =A0=E1=83=AF=E1=83=94=E1=83=91=E1=83=98=E1=83=A1 =E1=83=92=E1=83=90= =E1=83=A0=E1=83=94=E1=83=A8=E1=83=94. =E1=83=A1=E1=83=90=E1=83=AE= =E1=83=9B=E1=83=94=E1=83=9A=E1=83=94=E1=83=97=E1=83=9D =E1=83=92=E1=83= =90=E1=83=93=E1=83=90=E1=83=96=E1=83=98=E1=83=93=E1=83=95=E1=83=94=E1=83= =91=E1=83=A1 =E1=83=95=E1=83=90=E1=83=99=E1=83=94=E1=83=97=E1=83=94= =E1=83=91=E1=83=97 =E1=83=A1=E1=83=90=E1=83=99=E1=83=A3=E1=83=97=E1=83= =90=E1=83=A0=E1=83=98 =E1=83=90=E1=83=95=E1=83=A2=E1=83=9D=E1=83=9B= =E1=83=9D=E1=83=91=E1=83=98=E1=83=9A=E1=83=94=E1=83=91=E1=83=98=E1=83=97.= =C2=A0 =E1=83=A5=E1=83=95=E1=83=94=E1=83=9B=E1=83=9D=E1=83=97 =E1=83= =9B=E1=83=9D=E1=83=AA=E1=83=94=E1=83=9B=E1=83=A3=E1=83=9A=E1=83=98=E1=83= =90=C2=A0 =E1=83=93=E1=83=98=E1=83=93=E1=83=98 =E1=83=9E=E1=83=9D= =E1=83=A0=E1=83=A2=E1=83=94=E1=83=91=E1=83=98=E1=83=93=E1=83=90=E1=83=9C= =C2=A0 =E1=83=99=E1=83=9D=E1=83=9C=E1=83=A2=E1=83=94=E1=83=98=E1=83=9C= =E1=83=94=E1=83=A0=E1=83=94=E1=83=91=E1=83=98=E1=83=A1 =E1=83=A9=E1=83= =90=E1=83=9B=E1=83=9D=E1=83=A2=E1=83=90=E1=83=9C=E1=83=98=E1=83=A1 = =E1=83=A4=E1=83=90=E1=83=A1=E1=83=94=E1=83=91=E1=83=98 =E1=83=93=E1=83= =90 =E1=83=93=E1=83=A0=E1=83=9D. =E1=83=93=E1=83=90=E1=83=98=E1=83=9C= =E1=83=A2=E1=83=94=E1=83=A0=E1=83=94=E1=83=A1=E1=83=94=E1=83=91=E1=83=98= =E1=83=A1 =E1=83=A8=E1=83=94=E1=83=9B=E1=83=97=E1=83=AE=E1=83=95=E1=83= =94=E1=83=95=E1=83=90=E1=83=A8=E1=83=98 =E1=83=92=E1=83=95=E1=83=90= =E1=83=AA=E1=83=9C=E1=83=9D=E1=83=91=E1=83=94=E1=83=97 =E1=83=A0=E1=83= =9D=E1=83=9B=E1=83=94=E1=83=9A=E1=83=98 =E1=83=A5=E1=83=90=E1=83=9A= =E1=83=90=E1=83=A5=E1=83=98=E1=83=93=E1=83=90=E1=83=9C =C2=A0=E1=83=92= =E1=83=90=E1=83=A5=E1=83=95=E1=83=97 =E1=83=A2=E1=83=95=E1=83=98=E1=83= =A0=E1=83=97=E1=83=98 =E1=83=AC=E1=83=90=E1=83=9B=E1=83=9D=E1=83=A1= =E1=83=90=E1=83=A6=E1=83=94=E1=83=91=E1=83=98 =E1=83=93=E1=83=90 20 = =E1=83=AC=E1=83=A3=E1=83=97=E1=83=A8=E1=83=98 =E1=83=9B=E1=83=9D=E1=83= =92=E1=83=90=E1=83=AC=E1=83=95=E1=83=93=E1=83=98=E1=83=97 =E1=83=A2= =E1=83=90=E1=83=A0=E1=83=98=E1=83=A4=E1=83=A1. =C2=A0=E1=83=A2=E1=83= =A0=E1=83=90=E1=83=9C=E1=83=A1=E1=83=9E=E1=83=9D=E1=83=A0=E1=83=A2=E1=83= =98=E1=83=A0=E1=83=94=E1=83=91=E1=83=90=E1=83=A1 =E1=83=95=E1=83=90= =E1=83=9C=E1=83=AE=E1=83=9D=E1=83=A0=E1=83=AA=E1=83=98=E1=83=94=E1=83=9A= =E1=83=94=E1=83=91=E1=83=97=C2=A0 =E1=83=A0=E1=83=9D=E1=83=92=E1=83=9D= =E1=83=A0=E1=83=AA FOB =E1=83=98=E1=83=A1=E1=83=94 EXW =E1=83=9E=E1=83= =98=E1=83=A0=E1=83=9D=E1=83=91=E1=83=98=E1=83=97.=20 =C2=A0=C2=A0=C2= =A0 =C2=A0=E1=83=A2=E1=83=95=E1=83=98=E1=83=A0=E1=83=97=E1=83=94=E1=83= =91=E1=83=98=C2=A0 =E1=83=93=E1=83=90=E1=83=96=E1=83=A6=E1=83=95=E1=83= =94=E1=83=A3=E1=83=9A=E1=83=98=E1=83=90=C2=A0 =E1=83=93=E1=83=90=E1=83= =A2=E1=83=95=E1=83=98=E1=83=A0=E1=83=97=E1=83=95=E1=83=98=E1=83=A1 = =E1=83=9E=E1=83=9D=E1=83=A0=E1=83=A2=E1=83=98=E1=83=93=E1=83=90=E1=83=9C = =E1=83=9B=E1=83=98=E1=83=9B=E1=83=A6=E1=83=94=E1=83=91=E1=83=98=E1=83=A1 = =E1=83=A1=E1=83=90=E1=83=AC=E1=83=A7=E1=83=9D=E1=83=91=E1=83=90=E1=83=9B= =E1=83=93=E1=83=94.=20 =C2=A0=C2=A0=C2=A0=C2=A0 =E1=83=90=E1=83=A1= =E1=83=94=E1=83=95=E1=83=94 =E1=83=92=E1=83=97=E1=83=90=E1=83=95=E1=83= =90=E1=83=96=E1=83=9D=E1=83=91=E1=83=97 =E1=83=99=E1=83=9D=E1=83=9C= =E1=83=A2=E1=83=94=E1=83=98=E1=83=9C=E1=83=94=E1=83=A0=E1=83=94=E1=83=91= =E1=83=98=E1=83=A1 =E1=83=A2=E1=83=A0=E1=83=90=E1=83=9C=E1=83=A1=E1=83= =9E=E1=83=9D=E1=83=A0=E1=83=A2=E1=83=98=E1=83=A0=E1=83=94=E1=83=91=E1=83= =90=E1=83=A1=C2=A0 =E1=83=A4=E1=83=9D=E1=83=97=E1=83=98=E1=83=A1 = =E1=83=9E=E1=83=9D=E1=83=A0=E1=83=A2=E1=83=98=E1=83=93=E1=83=90=E1=83=9C= =C2=A0 =E1=83=9C=E1=83=94=E1=83=91=E1=83=98=E1=83=A1=E1=83=9B=E1=83=98= =E1=83=94=E1=83=A0=E1=83=98 =E1=83=9B=E1=83=98=E1=83=9B=E1=83=90=E1=83= =A0=E1=83=97=E1=83=A3=E1=83=9A=E1=83=94=E1=83=91=E1=83=98=E1=83=97.=20 = =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =E1=83=A9=E1=83=95=E1=83=94=E1=83=9C= =E1=83=98=C2=A0 =E1=83=99=E1=83=9D=E1=83=9B=E1=83=9E=E1=83=90=E1=83=9C= =E1=83=98=E1=83=98=E1=83=A1=C2=A0 10=C2=A0 =E1=83=AC=E1=83=9A=E1=83=98= =E1=83=90=E1=83=9C=E1=83=98 =E1=83=92=E1=83=90=E1=83=9B=E1=83=9D=E1=83= =AA=E1=83=93=E1=83=98=E1=83=9A=E1=83=94=E1=83=91=E1=83=90=C2=A0 =E1=83= =A1=E1=83=90=E1=83=A3=E1=83=99=E1=83=94=E1=83=97=E1=83=94=E1=83=A1=E1=83= =9D=C2=A0 =E1=83=AE=E1=83=90=E1=83=A0=E1=83=98=E1=83=A1=E1=83=AE=E1=83= =98=E1=83=A1 =E1=83=93=E1=83=90 =E1=83=A4=E1=83=90=E1=83=A1=E1=83=98= =E1=83=A1=C2=A0 =E1=83=92=E1=83=90=E1=83=A0=E1=83=90=E1=83=9C=E1=83=A2= =E1=83=98=E1=83=90=E1=83=90.=20 =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=E1=83= =92=E1=83=97=E1=83=AE=E1=83=9D=E1=83=95=E1=83=97 =E1=83=9B=E1=83=9D= =E1=83=92=E1=83=95=E1=83=90=E1=83=AC=E1=83=9D=E1=83=93=E1=83=9D=E1=83=97 = =E1=83=97=E1=83=A5=E1=83=95=E1=83=94=E1=83=9C=E1=83=98 =E1=83=A8=E1=83= =94=E1=83=9C=E1=83=98=E1=83=A8=E1=83=95=E1=83=9C=E1=83=94=E1=83=91=E1=83= =98 =E1=83=93=E1=83=90 =E1=83=A1=E1=83=90=E1=83=A5=E1=83=9B=E1=83=98= =E1=83=90=E1=83=9C=E1=83=98 =E1=83=AC=E1=83=98=E1=83=9C=E1=83=90=E1=83= =93=E1=83=90=E1=83=93=E1=83=94=E1=83=91=E1=83=94=E1=83=91=E1=83=98.=20 = =C2=A0=20 =C2=A0=20 =09=09=C2=A0 POTI=20 =E3=80=80=20 = =E3=80=80=20 =E3=80=80=20 =E3=80=80=20 TRANSIT PORT:=20 VIA AMB= ARLI=20 =E3=80=80=20 =E3=80=80=20 =E3=80=80=20 =E3=80=80=20 = =E3=80=80=20 =E3=80=80=20 =E3=80=80=20 =E3=80=80=20 =E3=80= =80=20 =E3=80=80=20 =E3=80=80=20 =E3=80=80=20 =E3=80=80=20 P= OL=20 =E1=83=A9=E1=83=98=E1=83=9C=E1=83=94=E1=83=97=E1=83=98-=E1=83= =97=E1=83=91=E1=83=98=E1=83=9A=E1=83=98=E1=83=A1=E1=83=98 (USD)=20 ETD o= r Transit Port=20 T/T (DAYS)=20 SERVICE=20 Validity=20 20'GP = 40'GP=20 40'HQ=20 From=20 To=20 QINGDAO=20 1850=20 = 3000=20 3000=20 Fri=20 38=20 AE15=20 01.06.17=20 30.06.17= =20 =C2=A0=C2=A0=C2=A0=C2=A0 NOVSHANGHAI=20 1850=20 3000=20 300= 0=20 Tue=20 34=20 AE15=20 01.06.17=20 30.06.17=20 NINGBO = 1850=20 3000=20 3000=20 Thu=20 32=20 AE15=20 01.06.= 17=20 30.06.17=20 XIAMEN=20 1850=20 3000=20 3000=20 Sat = 30=20 AE15=20 01.06.17=20 30.06.17=20 CHIWAN=20 1850 = 3000=20 3000=20 Sun=20 29=20 AE15=20 01.06.17=20 30= .06.17=20 YANTIAN=20 1850=20 3000=20 3000=20 Mon=20 35 = ***=20 01.06.17=20 30.06.17=20 HONGKONG=20 1850=20 300= 0=20 3000=20 Thu=20 32=20 ***=20 01.06.17=20 30.06.17=20 = NANSHA=20 1850=20 3000=20 3000=20 Wed=20 32=20 ***=20 = 01.06.17=20 30.06.17=20 TIANJIN XINGANG=20 1850=20 3000=20 = 3000=20 Thu=20 39=20 ***=20 01.06.17=20 30.06.17=20 DA= LIAN=20 1850=20 3000=20 3000=20 Mon=20 42=20 ***=20 01= .06.17=20 30.06.17=20 *Based on FOB terms,subject to both end of loca= l charges=20 =09=09=C2=A0 =C2=A0=20 =C2=A0=20 =E1=83=A4= =E1=83=90=E1=83=A1=E1=83=94=E1=83=91=E1=83=98=C2=A0 =E1=83=9B=E1=83=9D= =E1=83=AA=E1=83=94=E1=83=9B=E1=83=A3=E1=83=9A=E1=83=98=E1=83=90=C2=A0 = =E1=83=97=E1=83=91=E1=83=98=E1=83=9A=E1=83=98=E1=83=A1=E1=83=90=E1=83=9B= =E1=83=93=E1=83=94=20 =C2=A0=20 Note: Prices are for delivery to Tbil= isi=20 =C2=A0=20 Transportation=C2=A0 Poti =C2=A0Tbilisi=C2=A0 20GP 3= 00USD /=C2=A0 40GP 350USD=20 =C2=A0=20 =E1=83=A2=E1=83=A0=E1=83=90= =E1=83=9C=E1=83=A1=E1=83=9E=E1=83=9D=E1=83=A0=E1=83=A2=E1=83=98=E1=83=A0= =E1=83=94=E1=83=91=E1=83=90=C2=A0=C2=A0=C2=A0 =E1=83=A4=E1=83=9D=E1=83= =97=E1=83=98-=E1=83=97=E1=83=91=E1=83=98=E1=83=9A=E1=83=98=E1=83=A1= =E1=83=98=C2=A0=C2=A0 20GP 300USD /=C2=A0 40GP 350USD=20 =C2=A0=20 CO= NSIGNMENT=C2=A0 90 DAYS=20 =C2=A0=20 =E1=83=99=E1=83=9D=E1=83=9C= =E1=83=A1=E1=83=98=E1=83=92=E1=83=9C=E1=83=90=E1=83=AA=E1=83=98=E1=83=90= =C2=A0 90 =E1=83=93=E1=83=A6=E1=83=94=20 =C2=A0=20 _ALL THE BEST_=20 = _Koba Magnaradze_=20 _Chairmen_=20 _+995 593 555552_=20 _+995 5= 51 477777_=20 _Activity address: 31 Peking Street, Apt. 18, Tbilisi 0160= , Georgia_=20 =C2=A0=20 =C2=A0=20 =C2=A0=20 ----------------------= --- click here to unsubscribe https://mailer.ge/lists/qp646klsj30ad/= unsubscribe/gw833ngxvd966/md862ajasfb8c/unsubscribe-direct =C2=A0=20 From owner-freebsd-questions@freebsd.org Tue Jun 13 23:11:52 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C7C0C08CD5 for ; Tue, 13 Jun 2017 23:11:52 +0000 (UTC) (envelope-from christofer.c.bell@gmail.com) Received: from mail-vk0-x231.google.com (mail-vk0-x231.google.com [IPv6:2607:f8b0:400c:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B43C36FF4B for ; Tue, 13 Jun 2017 23:11:51 +0000 (UTC) (envelope-from christofer.c.bell@gmail.com) Received: by mail-vk0-x231.google.com with SMTP id p62so72612241vkp.0 for ; Tue, 13 Jun 2017 16:11:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=92b68gJTwJtZgkh3L4gz32E4tuYcu+5d2Eqc6bgMKLY=; b=hzzri/rg76eCM/gaXOECzGXzrZ/sU6SBXPEg6YmuRsaTRKKtKWdnsur69tHG7fwhbh qbFCJbU85WxfVCK95DVmXVekXz6VcWFc5r9+jxl7uLqZ3NUnxLgBcVh3jYlRdmu6RbNt PruNFtGB2w1t4oS35j/o9z/y4fq0xoN7nlrO307O2jPGM18mruoXoEL3VtUgi/786lrg V27eplSDlxN8T7nxNYWlblpk6FgMOJm1FHP1GvcS5BeEzg7io73HTl//D1s6RMjfei9i 8UN0cREz2tBVa6/6PPqjx0ZU/e+FSZSupwcks9vbS3JSsnJtDSjamSKEs8UjeXI8ZcGg ADwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=92b68gJTwJtZgkh3L4gz32E4tuYcu+5d2Eqc6bgMKLY=; b=PrP7nVNRodb5N2nawsZKla5ZumMfaDFwA3SWiVQevlKBQidaRfYspKxAW4PV+U410G oGlo0yx8TVCBtlI0ksLcdTZzjlQCY79HKCXna6skSLo/UyzAeV8rz0JuokGkCRW3/P9/ Te23mxzGoka5EOBfUmLBINn12bfwKBUguejiwawutvvquWhEgL9KAMOtLYAeY1SBkRL8 y/IJ5BYWEMStUo7bIiQYjeQr2f8GPrycJ5sYgDGkS0s8hrFkuB71LyofTBmBN2ZWXg5C RvNVB5UZXP+W0RN+Rc63CNZwAzeoHi9eItkhAnhv3jL0psCJaCvjFUUUh7mU/qWLSJ9N 8evg== X-Gm-Message-State: AKS2vOxAcmlCmCddXYSDCQTMST7PzX7VJWbUgJmdPJRbeWTkG4gZCamW 9WMLASREVRO9FzLvKLMbiPS3c7h0qQ== X-Received: by 10.31.124.8 with SMTP id x8mr1461058vkc.143.1497395510733; Tue, 13 Jun 2017 16:11:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.171.14 with HTTP; Tue, 13 Jun 2017 16:11:30 -0700 (PDT) In-Reply-To: <593EECAC.7050208@gmail.com> References: <593EECAC.7050208@gmail.com> From: "Christofer C. Bell" Date: Tue, 13 Jun 2017 18:11:30 -0500 Message-ID: Subject: Re: security options To: Friedrich Locke Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 23:11:52 -0000 On Mon, Jun 12, 2017 at 2:34 PM, Friedrich Locke wrote: > Hi folks, > > i wonder what are the sysctl variables and its value to those list of > options, related to security, that are given us the chance to change in the > fbsd install program. > > I mean options like: [ ] prevent users from seeing other processes > [ ] prevent users from other groups processes > > Thanks. > Friedrich, If you have the 'src' component installed, you can see what that screen in the installer is doing here: /usr/src/usr.sbin/bsdinstall/scripts/hardening If you can read a standard shell script, it's pretty easy to see what's what in there. And if you want to retroactively apply (or remove) the changes made by that dialog, you can work out how to do that pretty easily. -- Chris "If you wish to make an apple pie from scratch, you must first invent the Universe." -- Carl Sagan From owner-freebsd-questions@freebsd.org Tue Jun 13 23:32:58 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 021E8C093D3 for ; Tue, 13 Jun 2017 23:32:58 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "holgerdanske.com", Issuer "holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E6373709BA for ; Tue, 13 Jun 2017 23:32:57 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Tue, 13 Jun 2017 16:32:51 -0700 Subject: Re: Drive labelling with ZFS To: freebsd-questions@freebsd.org References: <03643051-38e8-87ef-64ee-5284e2567cb8@fjl.co.uk> From: David Christensen Message-ID: Date: Tue, 13 Jun 2017 16:32:14 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <03643051-38e8-87ef-64ee-5284e2567cb8@fjl.co.uk> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 23:32:58 -0000 On 06/13/2017 02:52 PM, Frank Leonhardt wrote: > Can anyone help me? I'm going quietly crazy here with FreeBSD 11-RELEASE > > If you're creating a non-trivial ZFS raidz zpool, I've heard it said > that labelling the GPT partitioned drives with their shelf and row > number is A Good Thing. (I'm not talking about sticky labels stuck on > the drive, but they're good too). When you look at a healthy zpool > status you get a list of all the GEOMs, but when one fails it's > identified by the GUID and not the device. Good luck tracking it down > from that piece of information, unless it's also making a strange > buzzing noise. > > So I though I'd just use use glabel label to set a label on the vdev > (e.g "/dev/da7p3") and zpool would use that instead. Nope; only the > GUID. I also, naively, thought that setting the label would cause it to > appear as a device in /dev/gpt/ > > What have I not understood? > > I have a theory - label the partitions before creating the zpool, and > add them to the zpool afterwas by a /dev/gpt/ name. Except I have lost > confidence that the label would appear in /dev/gpt/. It could be that > /dev/gpt names don't appear if they're part of a zpool. > > However, testing this theory is going to involve hassle (i.e. the > destruction and rebuilding of the entire zpool) so if anyone could tell > me if I'm heading in the right direction I'd appreciate it. I may well > have missed something trivial here. > > Thanks, Frank. [1] pp. 30-35 and [3] pp. 4-8 discuss various choices for labels, and recommend meaningful GPT label strings set manually by the administrator. For example, [3] p. 6: # gpart add -t freebsd-zfs -l zfs-mirror-1 da2 If you've used GPT partitioning on the drives in your zpool, it might be possible to add GPT labels now. For example, [3] p. 6: # gpart modify -i 2 -l f01-serialnum da2 Both [1] and [3] discuss the fact that a given drive, partition, file system, etc., can be identified in various ways, manual or automatic, but the kernel will pick one and "wither" the rest. Once a GPT label is set manually, other methods should be disabled via settings in /boot/loader.conf and the system rebooted ([1] p. 35): kern.geom.label.disk_ident.enable="0" kern.geom.label.gptid.enable="0" I'd suggest experimenting with USB flash drives on another machine. David [1] Michael W. Lucas, 2014, "FreeBSD Mastery: Storage Essentials", https://www.michaelwlucas.com/os/fmse [2] Michael W. Lucas & Allan Jude, 2015, "FreeBSD Mastery: ZFS", https://www.michaelwlucas.com/os/fmzfs [3] Allan Jude & Michael W. Lucas, 2015, "FreeBSD Mastery: Advanced ZFS", https://www.michaelwlucas.com/os/fmaz From owner-freebsd-questions@freebsd.org Wed Jun 14 01:11:07 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3AA21C31232 for ; Wed, 14 Jun 2017 01:11:07 +0000 (UTC) (envelope-from baijiaju1990@163.com) Received: from m12-11.163.com (m12-11.163.com [220.181.12.11]) by mx1.freebsd.org (Postfix) with ESMTP id 68B7673392; Wed, 14 Jun 2017 01:11:05 +0000 (UTC) (envelope-from baijiaju1990@163.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Message-ID:Date:From:MIME-Version:Subject; bh=RFu0X rSmLZ8W7RvCOpIyLZDL4FcoYQGBkd4BHVck2ps=; b=Te8zC86URwes7D2H3n/ln +oj2bMNo9/ykfNSA6getIVpML2J90y5uCVLJimqf/w0RxngpeSfvxR/768Qs8xb7 3Hqo42hXWd7cmmkpZZ332AX+Sx8OpTI4qCwWMD1aTsEWt5nHBCLC7oJmOgLpKUvd V+UNuTjS+GUyfYmc9IeMBE= Received: from [166.111.70.19] (unknown [166.111.70.19]) by smtp7 (Coremail) with SMTP id C8CowABXHSoljUBZd5xjLQ--.33798S2; Wed, 14 Jun 2017 09:11:02 +0800 (CST) Message-ID: <59408DD4.9090603@163.com> Date: Wed, 14 Jun 2017 09:13:56 +0800 From: Jia-Ju Bai User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120410 Thunderbird/11.0.1 MIME-Version: 1.0 To: matthew@freebsd.org CC: freebsd-questions@freebsd.org Subject: Re: Re: A question about in lock usage in FreeBSD X-CM-TRANSID: C8CowABXHSoljUBZd5xjLQ--.33798S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUTDDGUUUUU X-Originating-IP: [166.111.70.19] X-CM-SenderInfo: xedlyx5dmximizq6il2tof0z/1tbipQf2elUMFRNwpgAAsn Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 01:11:07 -0000 > Hi, > > I think you'll get better results if you ask your question on the > freebsd-hackers at freebsd.org mailing list. That way it will be seen by > people who are familiar with programming drivers and other internals of > the kernel and who will know precisely how to answer you. > > Cheers, > > Matthew Thanks, Matthew. I will post my question to freebsd-hackers. Jia-Ju Bai From owner-freebsd-questions@freebsd.org Wed Jun 14 02:03:18 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8084FC77351 for ; Wed, 14 Jun 2017 02:03:18 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "holgerdanske.com", Issuer "holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6AA6874C60 for ; Wed, 14 Jun 2017 02:03:18 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Tue, 13 Jun 2017 19:03:16 -0700 Subject: Re: Drive labelling with ZFS To: freebsd-questions@freebsd.org References: <03643051-38e8-87ef-64ee-5284e2567cb8@fjl.co.uk> From: David Christensen Message-ID: <7fa67076-3ec8-4c25-67b9-a1b8a0aa5afc@holgerdanske.com> Date: Tue, 13 Jun 2017 19:02:39 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 02:03:18 -0000 On 06/13/2017 04:32 PM, David Christensen wrote: > Both [1] and [3] discuss the fact that a given drive, partition, file > system, etc., can be identified in various ways, manual or automatic, > but the kernel will pick one and "wither" the rest. Once a GPT label is > set manually, other methods should be disabled via settings in > /boot/loader.conf and the system rebooted ([1] p. 35): > > kern.geom.label.disk_ident.enable="0" > kern.geom.label.gptid.enable="0" Beware that all your disks need to have GPT labels, and those labels need to be carried forward into /etc/fstab, etc., before you reboot, as the kernel won't be able to find the disks using Disk ID or GPT GUID labels once those methods are disabled. David From owner-freebsd-questions@freebsd.org Wed Jun 14 02:23:33 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 59595C7789A for ; Wed, 14 Jun 2017 02:23:33 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: from mail-vk0-x22b.google.com (mail-vk0-x22b.google.com [IPv6:2607:f8b0:400c:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 103E675522 for ; Wed, 14 Jun 2017 02:23:33 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: by mail-vk0-x22b.google.com with SMTP id y70so35430478vky.3 for ; Tue, 13 Jun 2017 19:23:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=OPauCnlRVDWzZashQ3tQsh4c9a8AoHwwkSaAAav4Rmc=; b=ONaiuTAF4N/e/07jx1lugo5r+zo6i4enoBvWSYDf38RHQ/rNs53qPjqd2UA67z5Qiz iv65h6xY3HaROPzmhYNuJZREf3JfhRnC+yYL6KWfNFeNgvD0f1QFN77nXk1dhZNaxq7F o4/hZ8mlz+HTUwQNfxJblBigdS0S7k3r5CuE+Ap1p2h38m4kxvPLzleAl/fmPSEbqOEp jcb+iN3eGKqQvE7E1YPyIrBt7gNQt2KvoJYcvKYUzVM5I1tt3u0lc2S7Tj/oDJPaOB+B wpVbJci1X00Wlrlc98N0R8eXkmkCvo5rnEIy1mDYxHH7jgoMWUYvWRRyJfyBqVbrCSgc LZDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=OPauCnlRVDWzZashQ3tQsh4c9a8AoHwwkSaAAav4Rmc=; b=JlDfFRKz5PRV03n4gt+3vStEVDIutvE3aEheQxGWSCHdSYcPOhOHFswC8nV12t83qD Kcy18dxYRkHIGTYuS0oNCg5HXzsCoafZfRhglvSiTOmBwunPpQJct53ZxgsYGck5z3MY JlVh4Vprm236Iae997M+6aG1dlDnGY2FILNK9fJieG82PN6yW6PpiTQeTUa3eCWAQo/k AtPqwjOWiuHhYtHdpHJDibtM0vERbWzd00avrYQ6nv8Pns1yI4iLlnjzdQCyCtoVK6xL U7sEVTfdJZfKn6zfn/yB6ZkJmhTxaVRDEantFk3zSQ66HRX9Q2nysQpIPQT3K1WTk6M/ X31Q== X-Gm-Message-State: AKS2vOzoS8uU8Qum26EBiWeIL/FXDqQ2zRyPMrsTO1dpo1BtiDdls3u4 z4SUI/Amz2UTlz1GWDS8GMqtkxMywQ== X-Received: by 10.31.48.15 with SMTP id w15mr1547331vkw.130.1497407011903; Tue, 13 Jun 2017 19:23:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.71.73 with HTTP; Tue, 13 Jun 2017 19:23:31 -0700 (PDT) From: B J Date: Wed, 14 Jun 2017 02:23:31 +0000 Message-ID: Subject: Sound Volume In Xfce To: freebsd-questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 02:23:33 -0000 I recently installed FreeBSD 11 and Xfce on an old HP Pavilion DV6000 laptop. I've noticed that the sound from the built-in speakers isn't very loud compared with what I might get if I was running a Linux distro on it. Is there some way of adjusting that as I can't find any control panel for changing the volume. Any suggestions or ideas? Thank you. B. M. Jatzeck From owner-freebsd-questions@freebsd.org Wed Jun 14 02:53:20 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCF74C7815F for ; Wed, 14 Jun 2017 02:53:20 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail04.adl6.internode.on.net (ipmail04.adl6.internode.on.net [150.101.137.141]) by mx1.freebsd.org (Postfix) with ESMTP id 5ED11763DD for ; Wed, 14 Jun 2017 02:53:19 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ppp121-45-27-221.bras1.adl4.internode.on.net (HELO leader.local) ([121.45.27.221]) by ipmail04.adl6.internode.on.net with ESMTP; 14 Jun 2017 12:23:10 +0930 Subject: Re: Sound Volume In Xfce To: B J , freebsd-questions References: From: Shane Ambler Message-ID: <6f880b59-d58f-90c9-30cb-923f2da6e38d@ShaneWare.Biz> Date: Wed, 14 Jun 2017 12:23:08 +0930 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 02:53:20 -0000 On 14/06/2017 11:53, B J wrote: > I recently installed FreeBSD 11 and Xfce on an old HP Pavilion DV6000 laptop. > > I've noticed that the sound from the built-in speakers isn't very loud > compared with what I might get if I was running a Linux distro on it. > Is there some way of adjusting that as I can't find any control panel > for changing the volume. > > Any suggestions or ideas? Thank you. > I use audio/mixmos for gui volume adjustment. You could also try audio/xfce4-mixer and deskutils/xfce4-volumed It will also depend on what program you use, I find that vlc is very soft compared to any other app. The vlc advanced audio settings has a gain option that can boost it's volume. -- FreeBSD - the place to B...Software Developing Shane Ambler From owner-freebsd-questions@freebsd.org Wed Jun 14 06:20:33 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4AD7BD86E58 for ; Wed, 14 Jun 2017 06:20:33 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "holgerdanske.com", Issuer "holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3B6017BA8E for ; Wed, 14 Jun 2017 06:20:33 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Tue, 13 Jun 2017 23:20:29 -0700 To: freebsd-questions@freebsd.org From: David Christensen Subject: How to change passphrase for FreeBSD 11.0 encrypted ZFS root? Message-ID: <1fb7f3d1-dfb5-ab75-ab75-12dcc81423ca@holgerdanske.com> Date: Tue, 13 Jun 2017 23:19:53 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 06:20:33 -0000 FreeBSD: I have a FreeBSD 11.0 i386 machine with encrypted ZFS on root and encrypted swap as created by the FreeBSD installer. I would like to change the root password. I issued the following command: toor@freebsd:/root # geli setkey -n 0 /dev/ada0s1d Enter new passphrase: Reenter new passphrase: Note, that the master key encrypted with old keys and/or passphrase may still exists in a metadata backup file. Now when I boot, I enter the passphrase at the boot menu, a bunch of stuff scrolls by, and then I see: Enter passphrase for ada0s1d: I enter the new passphrase and I see: GEOM_ELI: Wrong key for ada0s1d. Tries left: 2. Enter passphrase for ada0s1d: I enter it again and I see: GEOM_ELI: Wrong key for ada0s1d. Tries left: 1. Enter passphrase for ada0s1d: I enter the old passphrase and I see: GEOM_ELI: Wrong key for ada0s1d. No tries left. Mounting from zfs:zroot/ROOT/default failed with error 2. I am then presented with some brief documentation and a prompt: mountroot> If I enter "?" to get a list of valid disk boot devices, I see: List of GEOM managed disk devices: ada0s1d ada0s1b ada0s1a ada0s1 ada0 cd0 I do not see ada0s1d.eli, which should be my decrypted root file system. I have rebooted and tried more than once -- same result. It would be useful to know why GELI for the root device is now broken, and if it is possible to fix it (other than re-imaging/ re-installing). What is the correct way to change the passphrase for FreeBSD 11.0 encrypted ZFS root? Is this specific use-case documented anywhere? David From owner-freebsd-questions@freebsd.org Wed Jun 14 08:06:01 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7B0D0D88780 for ; Wed, 14 Jun 2017 08:06:01 +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)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C1557EBB8 for ; Wed, 14 Jun 2017 08:06:00 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [192.168.1.119] (host81-134-87-65.range81-130.btcentralplus.com [81.134.87.65]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v5E85nqo007446 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO) for ; Wed, 14 Jun 2017 09:05:52 +0100 (BST) (envelope-from frank2@fjl.co.uk) Message-ID: <5940EE63.2080904@fjl.co.uk> Date: Wed, 14 Jun 2017 09:05:55 +0100 From: Frank Leonhardt Reply-To: frank2@fjl.co.uk Organization: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Drive labelling with ZFS References: <03643051-38e8-87ef-64ee-5284e2567cb8@fjl.co.uk> <7fa67076-3ec8-4c25-67b9-a1b8a0aa5afc@holgerdanske.com> In-Reply-To: <7fa67076-3ec8-4c25-67b9-a1b8a0aa5afc@holgerdanske.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 08:06:01 -0000 On 14/06/2017 03:02, David Christensen wrote: > On 06/13/2017 04:32 PM, David Christensen wrote: >> Both [1] and [3] discuss the fact that a given drive, partition, file >> system, etc., can be identified in various ways, manual or automatic, >> but the kernel will pick one and "wither" the rest. Once a GPT label is >> set manually, other methods should be disabled via settings in >> /boot/loader.conf and the system rebooted ([1] p. 35): >> >> kern.geom.label.disk_ident.enable="0" >> kern.geom.label.gptid.enable="0" > > Beware that all your disks need to have GPT labels, and those labels > need to be carried forward into /etc/fstab, etc., before you reboot, > as the kernel won't be able to find the disks using Disk ID or GPT > GUID labels once those methods are disabled. > > Thanks David. I'd actually tried all the things you suggested, and read and re-read the Lucas books which blithely suggest setting GEOM labels but without going in to detail. The first chapter is all over the place in structure. However, I didn't try the sysctrl tweaks you suggest to disable the other methods. I recall the books suggesting that other methods are disabled, but without telling you how. You may well have supplied the missing piece of the jigsaw here. It's a shame ZFS can't be told which labelling method to use (or can it?) Current situation is less than helpful. The new SAS enclosure utility in 11.0 is great. It can flash the light on any drive you like, but it only takes device names, not GUIDs. And if ZFS fails /dev/da87p3 it immediately changes to referring to it by the GUID only. I can see why assuming the drive is completely off-line but in most cases it's JUST failed, and therefore knowing where it was is the same as knowing where it is. Part of the problem is that zpools created by sysinstall during installation are on unlabelled partitions. Actually it does label them, but not in any helpful way. Regards, Frank. From owner-freebsd-questions@freebsd.org Wed Jun 14 09:29:13 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9B9FFD89AB5 for ; Wed, 14 Jun 2017 09:29:13 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-oln040092065019.outbound.protection.outlook.com [40.92.65.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F10FC80C64 for ; Wed, 14 Jun 2017 09:29:12 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=FPxOg2SHvQ48nRsRbaeUgdyBVNELsNXGmqckUxF5lAg=; b=Lo9E2ebhHPPs9WYZC0KYWRhXWJ02KihNV1AQ/J7FIRG0+f3kOxcgBYvjmf2pmqCKvMs9BUUL7O9WhnhcYmeTjhfQhN31XEVq7gFxYwu9ALKmB4XCpemjkpZTblI6N/jiRi0UPLFB44txmd4Ris1GRnaBvNGcHB6ErPrXWcDz3H5MVOsXmbMDQC47zqr0e7Ocf+fj6CPnp+7jby25vjtn9HO6d10CCPDI7gebQVGI2s7tN0yolDpBU4cm9QCrQMkSZe0UZCB9DzQV3Vz06PdiUU5B18l1E7t7fQJsmTMtRd4eIq+ZZislbxAXUM0AxDL6o1hcQHkXVut/S1It6FbB/Q== Received: from DB5EUR01FT050.eop-EUR01.prod.protection.outlook.com (10.152.4.57) by DB5EUR01HT111.eop-EUR01.prod.protection.outlook.com (10.152.5.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1157.12; Wed, 14 Jun 2017 09:29:09 +0000 Received: from VI1PR02MB1200.eurprd02.prod.outlook.com (10.152.4.59) by DB5EUR01FT050.mail.protection.outlook.com (10.152.5.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12 via Frontend Transport; Wed, 14 Jun 2017 09:29:09 +0000 Received: from VI1PR02MB1200.eurprd02.prod.outlook.com ([fe80::5890:54c7:b212:b92c]) by VI1PR02MB1200.eurprd02.prod.outlook.com ([fe80::5890:54c7:b212:b92c%14]) with mapi id 15.01.1157.017; Wed, 14 Jun 2017 09:29:09 +0000 From: Manish Jain To: Shane Ambler CC: B J , freebsd-questions Subject: Re: Sound Volume In Xfce Thread-Topic: Sound Volume In Xfce Thread-Index: AQHS5PCsRWnjiKyRgkaDP/lOCVz4QA== Date: Wed, 14 Jun 2017 09:29:09 +0000 Message-ID: References: <6f880b59-d58f-90c9-30cb-923f2da6e38d@ShaneWare.Biz> In-Reply-To: <6f880b59-d58f-90c9-30cb-923f2da6e38d@ShaneWare.Biz> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: ShaneWare.Biz; dkim=none (message not signed) header.d=none;ShaneWare.Biz; dmarc=none action=none header.from=hotmail.com; x-incomingtopheadermarker: OriginalChecksum:C9E1B968D13C71234AC37DD46B32D2F574E7C0C6B0B521D98E55D446B53A4E8D; UpperCasedChecksum:9D0341EC1AEABF8777CD8719B61F2D09FDEF978FB2ED0A4CFD7DD44C04B9FE24; SizeAsReceived:7348; Count:46 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [+sb11kwviOq2RYvxMaGixvKSW6BZNokd] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB5EUR01HT111; 24:LdolwChq4XaW5smqA28FvDHlEa2BP4zObvbNGGJ9IT/kZuXvo6azLUjOIi2w+coxf8PfvvjXOhJvJkv74tr0d+kODOienTOXVQGv8whi0WE=; 7:KRPzNcOIV9xJqvR5jsJa7gm3GYJoNrgnrAEjXT6tHmrIyHkBUpWCj6qaAMYpoHFRDSAKpbmr5Ef2bS6+uawmsQBWDz9Vui2QR78m4IxtxAdGluxW3XkY3gWx7t9CMd3zVX8UhAeI/bx4N3RPZ9p9XA3hq+liaUZPeGBMmEv/Erzj4Ot9ev5r0P5ipxeMj6iBiHweGHTjRSUva5LyZN7VKhMpsSpmcDAT/9RpScV7yKjEXyAAQAUSrkb4Bs3DyAAt4p1MIm2asSb5HhCz3GnmsK+LpeinqUPMJKR+4UQrsVES5gqDwtdqn3pHkRHCGHXH x-incomingheadercount: 46 x-eopattributedmessage: 0 x-forefront-antispam-report: EFV:NLI; SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:DB5EUR01HT111; H:VI1PR02MB1200.eurprd02.prod.outlook.com; FPR:; SPF:None; LANG:en; x-ms-traffictypediagnostic: DB5EUR01HT111: x-ms-office365-filtering-correlation-id: 3ddb30f9-3ca0-474c-219b-08d4b307ce52 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322274)(1601125374)(1603101448)(1701031045); SRVR:DB5EUR01HT111; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031); SRVR:DB5EUR01HT111; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB5EUR01HT111; x-forefront-prvs: 033857D0BD spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jun 2017 09:29:09.0433 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5EUR01HT111 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 09:29:13 -0000 DQoNCk9uIFdlZCwgSnVuIDE0LCAyMDE3IGF0IDg6MjMgQU0sIFNoYW5lIEFtYmxlciA8RnJlZUJT REBTaGFuZVdhcmUuQml6PiB3cm90ZToNCk9uIDE0LzA2LzIwMTcgMTE6NTMsIEIgSiB3cm90ZToN CkkgcmVjZW50bHkgaW5zdGFsbGVkIEZyZWVCU0QgMTEgYW5kIFhmY2Ugb24gYW4gb2xkIEhQIFBh dmlsaW9uIERWNjAwMCBsYXB0b3AuIEkndmUgbm90aWNlZCB0aGF0IHRoZSBzb3VuZCBmcm9tIHRo ZSBidWlsdC1pbiBzcGVha2VycyBpc24ndCB2ZXJ5IGxvdWQgY29tcGFyZWQgd2l0aCB3aGF0IEkg bWlnaHQgZ2V0IGlmIEkgd2FzIHJ1bm5pbmcgYSBMaW51eCBkaXN0cm8gb24gaXQuIElzIHRoZXJl IHNvbWUgd2F5IG9mIGFkanVzdGluZyB0aGF0IGFzIEkgY2FuJ3QgZmluZCBhbnkgY29udHJvbCBw YW5lbCBmb3IgY2hhbmdpbmcgdGhlIHZvbHVtZS4NCg0KDQpQZXJoYXBzIHRoZSBmaXJzdCB0aGlu ZyB0byBkbyBpcyBoYXZlIGEgbWl4ZXIgbGlrZSBhdW1peCwgYW5kIHNlZSB0aGF0IHRoZSB2b2x1 bWUgaGFuZGxlcyBhcmUgY3JhbmtlZCB1cC4NCg0KUmVnYXJkcw0KTWFuaXNoIEphaW4NCg0K From owner-freebsd-questions@freebsd.org Wed Jun 14 09:37:31 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2FDC8D89CEA for ; Wed, 14 Jun 2017 09:37:31 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay12.qsc.de (mailrelay12.qsc.de [212.99.163.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9461D81029 for ; Wed, 14 Jun 2017 09:37:29 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay12.qsc.de; Wed, 14 Jun 2017 11:36:23 +0200 Received: from r56.edvax.de (port-92-195-58-9.dynamic.qsc.de [92.195.58.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 3B5623CC71; Wed, 14 Jun 2017 11:36:22 +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 v5E9aLAs002192; Wed, 14 Jun 2017 11:36:21 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 14 Jun 2017 11:36:21 +0200 From: Polytropon To: Manish Jain Cc: Shane Ambler , B J , freebsd-questions Subject: Re: Sound Volume In Xfce Message-Id: <20170614113621.39af302f.freebsd@edvax.de> In-Reply-To: References: <6f880b59-d58f-90c9-30cb-923f2da6e38d@ShaneWare.Biz> Reply-To: Polytropon 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 X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay12.qsc.de with C19FA6A4E46 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1289 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 09:37:31 -0000 On Wed, 14 Jun 2017 09:29:09 +0000, Manish Jain wrote: > Perhaps the first thing to do is have a mixer like aumix, and see > that the volume handles are cranked up. With aumix (aumix-gtk) you get a nice little GUI mixer inside X, and an interactive text mode mixer, too. But I'd still suggest you start with the real basics and check what % mixer tells you - that is FreeBSD's native interface to the mixer. If you have more than one mixer device, check those as well. See "man mixer" for details. "So simple?" - "Good ideas are always simple." -- Dr. Mabuse ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Jun 14 11:36:03 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 39930D8BB13 for ; Wed, 14 Jun 2017 11:36:03 +0000 (UTC) (envelope-from friedrich.locke@gmail.com) Received: from mail-vk0-x231.google.com (mail-vk0-x231.google.com [IPv6:2607:f8b0:400c:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D84348451A for ; Wed, 14 Jun 2017 11:36:02 +0000 (UTC) (envelope-from friedrich.locke@gmail.com) Received: by mail-vk0-x231.google.com with SMTP id g66so79056238vki.1 for ; Wed, 14 Jun 2017 04:36:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=23AABBzFJC1S85rF7pZ+z2UQFvudwStfRTFWx8ME29E=; b=aXGjGF+oI29mEgEHFJr2XQYT9IWt8O0GSfsQfVzKE/wBCKRJs4mw7XL+aCrr3qKlC+ CuySMqFiGaUWs0FIbnJuFTHo9ul5Zv+Rs/WwVwPVAdXcih9P04RYfSJ0rhERfEtpH0sB Tl6sWpkqImy0yrrqRyNO9kpbhDBgIVi+nyB7rjuBLnBr+mlxJ4jsXENJ9xwjlJkfrvZN l/mvUKpsWrD8uxM5cKy6tJTe4vn0UIxe2kJg92B1kLpMLtHsBLGuoP7VLD6M6GnhvVaR LicPWanNa0iWFgtWRkk8mu8K4NWF1tjNybmlHNjXCDH1sWe7dy2yA+u+6f6K06yOyCkY j90g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=23AABBzFJC1S85rF7pZ+z2UQFvudwStfRTFWx8ME29E=; b=QRMBKO26cfv0XknQ3bRur2LhYPET2EfXX/z31KAe6Q/UV7VTIU+2P5suk9WfMwIitD tY/Zq88cQJA8cvgbqnlDyPq4opm2NcOeb2MMCvK7FrBqJkKyC9i8YwGTDkxkJSdnjKY8 LN5FGzFg1ROtieW7xOAMnTmuZyDrPQ/sOGGahZrm0EEvZIsc8+fNXN1ayfx2yKukj3iL 9+ov3poozYcDDlUKJS1gGTkXO7SRHBCHjbZ2Jjgaxjh5/f18LFPAs5jIs8JA1wbUFcUL ek9seEFN+sphqO28aml9DNOJq3G12vsI4tnLEK5rmuOegXUcfQf6BB5VPKPg1pTlbgpF i9EA== X-Gm-Message-State: AKS2vOxK8n3+YwHlgVq2stzJUKjBnhPixQmOmDpoDpHa215wCDbKZEPv IiQOZdrfoSKRf7oN X-Received: by 10.31.85.198 with SMTP id j189mr81291vkb.45.1497440161959; Wed, 14 Jun 2017 04:36:01 -0700 (PDT) Received: from [200.235.203.102] (200-235-203-102.wifi.ufv.br. [200.235.203.102]) by smtp.gmail.com with ESMTPSA id q35sm309457uah.33.2017.06.14.04.36.00 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Jun 2017 04:36:01 -0700 (PDT) Message-ID: <59411FA0.6030705@gmail.com> Date: Wed, 14 Jun 2017 08:36:00 -0300 From: Friedrich Locke User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: building openldap form ports 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 11:36:03 -0000 Hi folks, i am learning a lot with this mailing lists, thank you for your replies. I would like to build and install openldap server from the ports collection. In the configuratin process i was told that bdb is deprecated, then which backend should i build support for ? In my slapd.conf which backend should i specify ? Thanks a lot for your time and patience. Best regards. From owner-freebsd-questions@freebsd.org Wed Jun 14 11:52:57 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4C722D8BEEB for ; Wed, 14 Jun 2017 11:52:57 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from nm32.bullet.mail.ir2.yahoo.com (nm32.bullet.mail.ir2.yahoo.com [212.82.96.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B84E684C37 for ; Wed, 14 Jun 2017 11:52:55 +0000 (UTC) (envelope-from emorrasg@yahoo.es) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1497441053; bh=UTVIk5+LlSHFZjD2f+k+lmiIV2FcGauu1w+vEuNw73g=; h=Date:From:To:Subject:In-Reply-To:References:From:Subject; b=hvMD3QUWDXDfbaPi4I6yioz76DpFFvVRwnvAlDy7+UtxHSbgbcBPGySwKHrnjx4Um/j/coLwNqxDTYBV9aQb/i86nCpyATSlh2F0qLdJzzV0kkHdHdnhL0Xb439fwmHrhdVWLNMHd9ebROyc6XEwKqR2R390gchpgoM+eBtb9qVN7hWrOZvLZYG2tYQfFk98mh1OlKvTGRqm3bwXvE+tOPwc3hHVKPzOsDn8QZ9yosAR3w4+KUAtOoGS8MiKTQTg6I4xkb361QmKbmeWOIU3D8xpIo3ws1MW1HwUPkGNhZZyBJqBV5vLxQkQDeqR9S/cDCYP8/+w1T/nJDRKCoyKRg== Received: from [212.82.98.63] by nm32.bullet.mail.ir2.yahoo.com with NNFMP; 14 Jun 2017 11:50:53 -0000 Received: from [46.228.39.69] by tm16.bullet.mail.ir2.yahoo.com with NNFMP; 14 Jun 2017 11:50:53 -0000 Received: from [127.0.0.1] by smtp106.mail.ir2.yahoo.com with NNFMP; 14 Jun 2017 11:50:53 -0000 X-Yahoo-Newman-Id: 226056.16859.bm@smtp106.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 7dSXPCkVM1nQdbRL_FoqLm30YJ3pUQpDz6oRex77rCrafcK ssNZnQzr44BdZgRPmRYpqbSSO2hQB1oFmmyOZHtGL99geS2FankxNUdjhGZP WwIRPW3kBu5uyyR.Ehh7xukAtQK2dtGsZpczuRp3LaGIJIQ5hj4WH5hpRSsG q.Uu4cWb5Jp4obf6WNZBII8l4fRVKCung4iczPwPf.0VqmclUiuLLqWEVmqj LGoRzYRkrhV16US9EADGKfr3GymaZEkCgAVLefTUKId97pcXI2cFybvMzCgy dUxNteY2Dj5OP.KTLsz5s8csn6qKjOm_9luBdVvz3VhviOtP9eqwyAE9KVbB 7jL5Cly39MruSvm1Qvw5.g8ycShsFIy1hx11bCCcEZg6bX4nvn5oOZL0Hz6q vIV3QdLF_JzGdZOmcjRZjxM3p7IPhG6QaH3sgGfm_x.bbPHUu_dlITWgDxfz qV1ud4PY_gvehw23Ga4zq8HkMfFRsBNUk6uozzZYLeZSeLrvbCGj0P7jasZK pjjwdowQC0nkIHjk2CSaN7UX8EIBx0zcMX5ckoda5Pa9mY8fp1tpXMwsxQ6l WdalrOElRW1IJSMGr.CBvh1y1c0w- X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR Date: Wed, 14 Jun 2017 13:53:39 +0200 From: Eduardo Morras To: freebsd-questions@freebsd.org Subject: Re: building openldap form ports Message-Id: <20170614135339.a47e6596189f135eac3c76fd@yahoo.es> In-Reply-To: <59411FA0.6030705@gmail.com> References: <59411FA0.6030705@gmail.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 11:52:57 -0000 On Wed, 14 Jun 2017 08:36:00 -0300 Friedrich Locke wrote: > Hi folks, > > i am learning a lot with this mailing lists, thank you for your > replies. I would like to build and install openldap server from the > ports collection. In the configuratin process i was told that bdb is > deprecated, then which backend should i build support for ? The default MDB, if IIRC, it's LightingSQL (or similar name), forked from Sqlite but with a BTree implementation that fits on CPU cache. > In my slapd.conf which backend should i specify ? Again, default conf is enough on this topic > Thanks a lot for your time and patience. > > Best regards. L --- --- Eduardo Morras From owner-freebsd-questions@freebsd.org Wed Jun 14 12:19:37 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 16C0ED8C9DB for ; Wed, 14 Jun 2017 12:19:37 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C4A04A53 for ; Wed, 14 Jun 2017 12:19:36 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from host-4-75.office.adestra.com (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 75C01997A for ; Wed, 14 Jun 2017 12:19:33 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk Authentication-Results: smtp.infracaninophile.co.uk/75C01997A; dkim=none; dkim-atps=neutral Subject: Re: building openldap form ports To: freebsd-questions@freebsd.org References: <59411FA0.6030705@gmail.com> From: Matthew Seaman Message-ID: Date: Wed, 14 Jun 2017 13:19:27 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <59411FA0.6030705@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="prmwBDouCu0qA4PVbWJ3wJMAQEnQaxFnR" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 12:19:37 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --prmwBDouCu0qA4PVbWJ3wJMAQEnQaxFnR Content-Type: multipart/mixed; boundary="eGOc2KbTViVhM627mI7mvhRQw0XLADqOQ"; protected-headers="v1" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: Subject: Re: building openldap form ports References: <59411FA0.6030705@gmail.com> In-Reply-To: <59411FA0.6030705@gmail.com> --eGOc2KbTViVhM627mI7mvhRQw0XLADqOQ Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2017/06/14 12:36, Friedrich Locke wrote: > i am learning a lot with this mailing lists, thank you for your replies= =2E > I would like to build and install openldap server from the ports > collection. In the configuratin process i was told that bdb is > deprecated, then which backend should i build support for ? >=20 > In my slapd.conf which backend should i specify ? >=20 > Thanks a lot for your time and patience. I like lmdb for the backend (confusingly, that's the MDB option when configuring the port0 -- this has been developed by the OpenLDAP folk specifically as a replacement for BerkeleyDB, since Oracle is taking BDB in directions that are not useful for the purposes of LDAP. Be sure and turn off all of the backends you aren't using in the config step. Compiling in some of those will have a deleterious effect on performance even if you aren't actually using them. Cheers, Matthew --eGOc2KbTViVhM627mI7mvhRQw0XLADqOQ-- --prmwBDouCu0qA4PVbWJ3wJMAQEnQaxFnR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJZQSnVXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTn0u8P/36fyNEHq0dee9FoMxXk+rOA HZHeM5TXCpKHujNUABloEAl/TLsLx81tKuQeEws3UkN9mEcBoLKxAs61F5FYvYuv y24F/fXv1Ch8+yQsroyddNfV0SpNxxPDTtzqdkoffeM/tlKIC931TWhX00SsMjbB fUow0+UG5Rp90T2+Xch2wP0H/HhedV4aVCyqx8baGHpfB1N7oLFEuwwkH0Dc8s/a oUraKYrWus6BRwzgcjsVHuqDcximZFHTeY3MM4mirlK8MhmXFhmj5bIrHJ02gnsr SJ+eCtgIZhRuU7RZ+e6JGXgRmvBiX28SVttfoL9phkZQMJzrtMh8PBXu2QGRqMpA R0kaktbSm4rYvbFt6aPqIUBzfvUp849I/mfv7WGDeKBfeq23o0BOLz+nR0hzLOHz i407oqvihKuSHC9W7dyWna14TCelqKy+hcptU1C3GALQUr0svczSMMye9cssi3vh HQ5U2b1cll9Se9ICq0iZFi0yfwnHh9ASZ9ADE0jSce4txh1IW7XbLKUzgUWycdNY 3V5VITrP4R3jUYDXUt0oDROuIMwu7KmHb1jUWXcqi8F2cR4D9W9FhxQ32JqpFwYS iRnqE+TAv1vAyfnqXwPeQ7ILsfsZUyd5n2vy7/GqQL5VM5tcRg9xih7EMGMXHzZR zUj7H9skHmKEzrYa5CSN =aFr7 -----END PGP SIGNATURE----- --prmwBDouCu0qA4PVbWJ3wJMAQEnQaxFnR-- From owner-freebsd-questions@freebsd.org Wed Jun 14 12:35:45 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDCC3D8D0C6 for ; Wed, 14 Jun 2017 12:35:45 +0000 (UTC) (envelope-from amutu@amutu.com) Received: from mail-oi0-x231.google.com (mail-oi0-x231.google.com [IPv6:2607:f8b0:4003:c06::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7FE9C1755 for ; Wed, 14 Jun 2017 12:35:45 +0000 (UTC) (envelope-from amutu@amutu.com) Received: by mail-oi0-x231.google.com with SMTP id b6so35181706oia.1 for ; Wed, 14 Jun 2017 05:35:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amutu-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9H/jKYv1+dQXRW+Zie61a0pwZ8wYWql9cPhssK69w5A=; b=bD+tnb6BsDrmVLbddRzsf+cCEIEZePhihaGmc/sttqsE3ymeu3V46oJrBDTWNZ/SH7 KrX/LKlZz4JzxaJavz2k5QoEHN+JmBLZKxwhAoSQ2oIehokZsYEnLyQeyDbxxmyoUVXf KWYpLYF94hTqCfkkd2lvK8vrAERMBX1N9c31CXRjdmg16Irm/2wyHwhHtj7cJq2UieXq 7y6OzAYLrEBtg7sN3sZALpAwKgIKf6gE77DZsHNs6LtYmLG7UxDEfnHKXrJKHEomoNNX 7AziQgee7/SS8nNgaxOQOfzDx08LnkWJKRmnJ7Pba3PCeXTr5PILBHSobD5oi04cqdkI neNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=9H/jKYv1+dQXRW+Zie61a0pwZ8wYWql9cPhssK69w5A=; b=U4dQo+KbKcGtVOawZwVj/O/BwxdeEf0f8ldkXuiCkRu/plJT5ZEjZuBU3nmxS5FGHL ep9JltU55aPNuCjayJgMkkDyaxbt3qHGOhjiqFcnXiuWBHc4a3PuofXuqFbscjQM0jpd PICJKh5/xAp+uPPFK7QY8umWwV0Lqwjj+/V3xY/AZWR68RHRLi1i+UaSkR5YFtDscqNp E48JkelzKHQMVe3sl0n1usAJMXB96lDjEaqdZ2ksnFjNqiluAdnCo7a4RFploQqr7NXi 97hXz/8XA/japDhJsMfsJt48hqwusqa8mVuOrAcA8ZCKtOOXMRWRZ4+Wma6KDgwTAP3f tLcg== X-Gm-Message-State: AKS2vOyCn8I3DII8L5V/mICxVFXftO4yrM8JVx+SjZXLivpCK9AEAsMR n4ZZlWuZSR+uVSKqUzCQCg== X-Received: by 10.202.117.213 with SMTP id q204mr226290oic.131.1497443744813; Wed, 14 Jun 2017 05:35:44 -0700 (PDT) Received: from mail-ot0-f181.google.com (mail-ot0-f181.google.com. [74.125.82.181]) by smtp.gmail.com with ESMTPSA id c93sm295383otb.38.2017.06.14.05.35.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Jun 2017 05:35:44 -0700 (PDT) Received: by mail-ot0-f181.google.com with SMTP id r67so15370978ota.1 for ; Wed, 14 Jun 2017 05:35:44 -0700 (PDT) X-Received: by 10.157.9.35 with SMTP id 32mr254422otp.118.1497443744184; Wed, 14 Jun 2017 05:35:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.133.136 with HTTP; Wed, 14 Jun 2017 05:35:42 -0700 (PDT) Received: by 10.74.133.136 with HTTP; Wed, 14 Jun 2017 05:35:42 -0700 (PDT) In-Reply-To: <1fb7f3d1-dfb5-ab75-ab75-12dcc81423ca@holgerdanske.com> References: <1fb7f3d1-dfb5-ab75-ab75-12dcc81423ca@holgerdanske.com> From: Jov Date: Wed, 14 Jun 2017 20:35:42 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: How to change passphrase for FreeBSD 11.0 encrypted ZFS root? To: David Christensen Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 12:35:45 -0000 You change the passphrase without key file=EF=BC=9F the default geli boot w= ill read key files in /boot dir=EF=BC=8Cthe key file name is set in /boot/loader.con= f, you shoud remove the settings if you not set it. 2017=E5=B9=B46=E6=9C=8814=E6=97=A5 2:20 PM=EF=BC=8C"David Christensen" =E5=86=99=E9=81=93=EF=BC=9A FreeBSD: I have a FreeBSD 11.0 i386 machine with encrypted ZFS on root and encrypted swap as created by the FreeBSD installer. I would like to change the root password. I issued the following command: toor@freebsd:/root # geli setkey -n 0 /dev/ada0s1d Enter new passphrase: Reenter new passphrase: Note, that the master key encrypted with old keys and/or passphrase may still exists in a metadata backup file. Now when I boot, I enter the passphrase at the boot menu, a bunch of stuff scrolls by, and then I see: Enter passphrase for ada0s1d: I enter the new passphrase and I see: GEOM_ELI: Wrong key for ada0s1d. Tries left: 2. Enter passphrase for ada0s1d: I enter it again and I see: GEOM_ELI: Wrong key for ada0s1d. Tries left: 1. Enter passphrase for ada0s1d: I enter the old passphrase and I see: GEOM_ELI: Wrong key for ada0s1d. No tries left. Mounting from zfs:zroot/ROOT/default failed with error 2. I am then presented with some brief documentation and a prompt: mountroot> If I enter "?" to get a list of valid disk boot devices, I see: List of GEOM managed disk devices: ada0s1d ada0s1b ada0s1a ada0s1 ada0 cd0 I do not see ada0s1d.eli, which should be my decrypted root file system. I have rebooted and tried more than once -- same result. It would be useful to know why GELI for the root device is now broken, and if it is possible to fix it (other than re-imaging/ re-installing). What is the correct way to change the passphrase for FreeBSD 11.0 encrypted ZFS root? Is this specific use-case documented anywhere? David _______________________________________________ freebsd-questions@freebsd.org mailing list https://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 Jun 14 14:22:14 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F42AD8EF8A for ; Wed, 14 Jun 2017 14:22:14 +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)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 33A01655CD for ; Wed, 14 Jun 2017 14:22:13 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [10.4.246.68] ([46.233.112.149]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v5EELsiO007835 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Wed, 14 Jun 2017 15:21:56 +0100 (BST) (envelope-from frank2@fjl.co.uk) Message-ID: <59414689.8080605@fjl.co.uk> Date: Wed, 14 Jun 2017 15:22:01 +0100 From: Frank Leonhardt Reply-To: frank2@fjl.co.uk Organization: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Drive labelling with ZFS - is this even a good idea? References: <03643051-38e8-87ef-64ee-5284e2567cb8@fjl.co.uk> <7fa67076-3ec8-4c25-67b9-a1b8a0aa5afc@holgerdanske.com> In-Reply-To: <7fa67076-3ec8-4c25-67b9-a1b8a0aa5afc@holgerdanske.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 14:22:14 -0000 On 14/06/2017 03:02, David Christensen wrote: > On 06/13/2017 04:32 PM, David Christensen wrote: >> Both [1] and [3] discuss the fact that a given drive, partition, file >> system, etc., can be identified in various ways, manual or automatic, >> but the kernel will pick one and "wither" the rest. Once a GPT label is >> set manually, other methods should be disabled via settings in >> /boot/loader.conf and the system rebooted ([1] p. 35): >> >> kern.geom.label.disk_ident.enable="0" >> kern.geom.label.gptid.enable="0" > > Beware that all your disks need to have GPT labels, and those labels > need to be carried forward into /etc/fstab, etc., before you reboot, > as the kernel won't be able to find the disks using Disk ID or GPT > GUID labels once those methods are disabled. > > Hi David, It turns out that these options were set anyway. The problem turned out be be that I was assuming that geom label played nice with GPT. It doesn't! Well it does display labels set on GPT partitions, but it doesn't change them. It took a look at the GPT blocks to confirm this. It does, however, mask the GPT version with its own, sometimes, leading to much monkeyhouse. So ignore glabel completely and set the labels using gpart instead. Having got this sorted out, it turns out that it's really not as useful as it sounds. On a new array you can find a broken drive this way, but when it comes to moving a drive around (e.g. from the spare slot to its correct location) life isn't so simple. First off, ZFS does a good job of locating pool components wherever in the array you move them using the GUID. However, if you change the GPT label and move it, ZFS will refer to it by the device name instead. Nothing I have tried will persuade it otherwise. If you leave the label intact it's now pointing to the wrong slot, which ZFS really doesn't mind about but this could really ruin your day if you don't know. Now FreeBSD 11.0 can flash the ident light on any drive you choose, by device name (as used by ZFS), I'm seriously wondering if labels are worth the bother if they can't be relied on. Consider what happen if a tech pulls two drives and puts them back in the wrong order. ZFS will carry on regardless, but the label will now identify the wrong slot. Dangerous! Anyone got any thoughts on this? Regards, Frank. From owner-freebsd-questions@freebsd.org Wed Jun 14 15:03:53 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 73325D8FE8A for ; Wed, 14 Jun 2017 15:03:53 +0000 (UTC) (envelope-from alphachi@mediaspirit.org) Received: from mail-ot0-x22b.google.com (mail-ot0-x22b.google.com [IPv6:2607:f8b0:4003:c0f::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3A7E3673AD for ; Wed, 14 Jun 2017 15:03:53 +0000 (UTC) (envelope-from alphachi@mediaspirit.org) Received: by mail-ot0-x22b.google.com with SMTP id r67so2560974ota.1 for ; Wed, 14 Jun 2017 08:03:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mediaspirit-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Nq0pRm57zfQ4gOLdUxItz4FCwHALlTRluXZKTQ4PHkg=; b=Wv4r1acxZQv9n8cbAOtkIaFhc7KBSqo1n9AYjTt+WEP73qDzqv+FCTmcttsB+JgoDC VWwXFkItBhNMynn0g6M1JIufsFvr535i/rjG4bcF+NEoMWomdoWP4wgxaRzbZcSnTt0o 3JLU8vCl7O00AdOI92KHnxUICgfF5HThiwJbeapMnbTgv/FfzpKY23TX6i9Z09ybCW/u BWY/xrPJVhz4N4yyqq7KzqOTQfChPq2ihhGxT0aXJpwOqVYN8e9TllBqfg04SQ0cOzbV fb372fOxERrMtul2JDJQdANjIc6SnjKMI4qVy3fh3DBKHytPPR8XuF5dBZrelqCePj+B Ia4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Nq0pRm57zfQ4gOLdUxItz4FCwHALlTRluXZKTQ4PHkg=; b=I+5PAnzdsLpeDsUaTJU1sq3kzDscgo5YWOcEBmmceReHgoRcp6HBCkZREyIEfPJxx9 70vouulh4cf1qgSEqaICaP5MdMT8iBHFoWppWQGJvOz7QFRVcB0d4LjsZ2sIM5WJ0JPP uqcpM8MfuelBzKereydukQmNKXYW95Oyhw+QcWBulHGHjpk7M3nnoAipA0xMK7dMErSa XrQOpl5VZ/8QVg3ZFmVu67Wftp4/ooPzWII6InfSfQV2w/2lKyU4hPZ/VRD7p/chZ6cm Pc+AdQ82yvvOpa8sn2n0XvW+DUYAqBKBlPM766VuyTkjXajHvZd9F0rNx605/tQhBa0F 1uHw== X-Gm-Message-State: AKS2vOxzVL/ZR0CtEY61wgTXv5xfcYdJEeEMAqYg86sAx746wu/N4hGs bY1Ip0YrQpuMoVD7qWftHzINObYv1mXz X-Received: by 10.157.9.208 with SMTP id 16mr477207otz.245.1497452632104; Wed, 14 Jun 2017 08:03:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.130.84 with HTTP; Wed, 14 Jun 2017 08:03:51 -0700 (PDT) Received: by 10.74.130.84 with HTTP; Wed, 14 Jun 2017 08:03:51 -0700 (PDT) In-Reply-To: References: From: alphachi Date: Wed, 14 Jun 2017 23:03:51 +0800 Message-ID: Subject: All data in home directory lost after kernel panic To: "list: freebsd" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 15:03:53 -0000 Today I upgraded my system to 10.3-STABLE r319937 successfully. It's installed on UFS with GELI. When I double-click a VM in virtualbox, the system reboots because of a kernel panic. After autofsck, the login prompt shows, but the system reboots again while I input my login imformation and press Enter. I have to boot single user mode and run fsck manually, then login as root. Everything is fine, however I suddenly find all data in my home directory disappeared; that is to say, my home directory is empty. I think my data still exists on the disk and this is just the problem about filesystem, because: 1. The total size of my home directory is about 132GB before. When I check the output of "df -h" now, the value of "Used" is still about 132GB. 2. The operation of user login shouldn't cause a kernel panic, even though the home directory is empty. 3. "ls -a /home/fbsd" hasn't any output, but normally it should output . and .. at least. I try to use recoverdisk(1) to recover a file that I can remember its name. For example: # recoverdisk /home/fbsd/.zshrc .zshrc Bigsize = 1048576, medsize = 32768, minsize = 512 start size block-len state done remaining % done 0 4220 4220 0 4220 0 100.00000 Completed Although I checked this file and confirmed the recovery is successful, I can't recover all data by this way since it's impossible to remember all filenames. As far as I know, recoverdisk(1) doesn't support directory recovery like "recoverdisk ". Should I try to use something like "recoverdisk /dev/ " firstly? Any idea about this? Thanks! From owner-freebsd-questions@freebsd.org Wed Jun 14 15:48:57 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EE909B94E92 for ; Wed, 14 Jun 2017 15:48:57 +0000 (UTC) (envelope-from amutu@amutu.com) Received: from mail-ot0-x236.google.com (mail-ot0-x236.google.com [IPv6:2607:f8b0:4003:c0f::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AC86A6A0EA for ; Wed, 14 Jun 2017 15:48:57 +0000 (UTC) (envelope-from amutu@amutu.com) Received: by mail-ot0-x236.google.com with SMTP id r67so3554605ota.1 for ; Wed, 14 Jun 2017 08:48:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amutu-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=RKeYohmzflU0VcqGb5v091kFmfu4IM0XeBJIpTLSMtE=; b=u8z/X5nZdInxef4NEiQy9PfksEblEkxUJUSvBXfmdQa35GIxSZfb6MiF7ks9KZpBwA X7a6i1KX7Dv2ci8OmiYOEGm7tbzSzR9VVx81AUzHbeDXX+Me+U9ODdCxMR7pFJ8TkDq4 f1dj+bxPaIHVXGM01p8kYN0x0bZWIJk1VDV4bmPDzutFVHPPs7uVFRb0dIVU43J3ghs8 /bqjoAH/o01xLKZXcKYqjjjmP/ryWRDThAJY4Dct5R4PG1XjheOQsBlGV0kZgfpJkFvW XHa9a14d1aS1slhPpxOErVvxbppEIa6eTUFwKYFSdt4jDm04yPso3dk68y+aijvZYtDf Y+OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=RKeYohmzflU0VcqGb5v091kFmfu4IM0XeBJIpTLSMtE=; b=bHFqpNH3zSa9Ckk/PJ4bIjLa8p4fVvZMIufLo6Lze7VanWC6+b6uwUpW8KBXZWKoo1 8V7EuPvOJG8NEWg7dFX+Udo092MrFZC6jEdKybY14hlnfuqC6EM1klEOF2mEJshgsAWq NDM4O+yg3isRy020yWx4vMfYDGL8mId2Z2Q+h+e0TtbodSB2df8saUltakwu6U2HUDXY GTCDDCTpT0rKR2+i45JfZTQ1zq3S8RcI73M0SVB7fGK/QBxA/TS+B/EEIMqlHIFrKhh/ qOQ2PA0dJcXTBn7wkyw/dp9aDhJC19JiFSO6ssvmyuibr0uoPHrnj2deVZgEH3bkLz5t YBmw== X-Gm-Message-State: AKS2vOwXGyw5FUmngrd9qVSWdPsRKENjrtsyWVlsSipGXhg4YrpmBih0 VY2sIKFt107AXL1mDHsAgg== X-Received: by 10.157.21.91 with SMTP id z27mr558066otz.173.1497455336815; Wed, 14 Jun 2017 08:48:56 -0700 (PDT) Received: from mail-ot0-f182.google.com (mail-ot0-f182.google.com. [74.125.82.182]) by smtp.gmail.com with ESMTPSA id j9sm193907ota.24.2017.06.14.08.48.56 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Jun 2017 08:48:56 -0700 (PDT) Received: by mail-ot0-f182.google.com with SMTP id a2so3523161oth.2 for ; Wed, 14 Jun 2017 08:48:56 -0700 (PDT) X-Received: by 10.157.46.9 with SMTP id q9mr613650otb.30.1497455336053; Wed, 14 Jun 2017 08:48:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.133.136 with HTTP; Wed, 14 Jun 2017 08:48:54 -0700 (PDT) Received: by 10.74.133.136 with HTTP; Wed, 14 Jun 2017 08:48:54 -0700 (PDT) In-Reply-To: References: From: Jov Date: Wed, 14 Jun 2017 23:48:54 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: All data in home directory lost after kernel panic To: alphachi Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 15:48:58 -0000 Hi, I have similar problem last year and get back my data at last.try the following steps: Step 1: backup your disk using dd. Step 2: run newfs -N /dev/your_partition,get all the super block numbers.chose one in the middle,for example 123456. Step 3: run fsck_ffs -f -b 123456 /dev/your_partition.(here replace 123456 to your num get from step 2) Step 4: mount the fs,check the root of the fs,there may be a lost+found dir,your data may be in there with some random number as dir name. Good luck! Jov 2017=E5=B9=B46=E6=9C=8814=E6=97=A5 11:04 PM=EF=BC=8C"alphachi" =E5=86=99=E9=81=93=EF=BC=9A > Today I upgraded my system to 10.3-STABLE r319937 successfully. It's > installed on UFS with GELI. > > When I double-click a VM in virtualbox, the system reboots because of a > kernel panic. After autofsck, the login prompt shows, but the system > reboots again while I input my login imformation and press Enter. I have = to > boot single user mode and run fsck manually, then login as root. Everythi= ng > is fine, however I suddenly find all data in my home directory disappeare= d; > that is to say, my home directory is empty. > > I think my data still exists on the disk and this is just the problem abo= ut > filesystem, because: > 1. The total size of my home directory is about 132GB before. When I chec= k > the output of "df -h" now, the value of "Used" is still about 132GB. > 2. The operation of user login shouldn't cause a kernel panic, even thoug= h > the home directory is empty. > 3. "ls -a /home/fbsd" hasn't any output, but normally it should output . > and .. at least. > > I try to use recoverdisk(1) to recover a file that I can remember its nam= e. > For example: > > # recoverdisk /home/fbsd/.zshrc .zshrc > Bigsize =3D 1048576, medsize =3D 32768, minsize =3D 512 > start size block-len state done remaining % done > 0 4220 4220 0 4220 0 100.00000 > Completed > > Although I checked this file and confirmed the recovery is successful, I > can't recover all data by this way since it's impossible to remember all > filenames. As far as I know, recoverdisk(1) doesn't support directory > recovery like "recoverdisk ". Should I try to use > something like "recoverdisk /dev/ " firstly? > > Any idea about this? Thanks! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://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 Jun 14 16:13:52 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A060FB95F11 for ; Wed, 14 Jun 2017 16:13:52 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "holgerdanske.com", Issuer "holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8FB756EBB3 for ; Wed, 14 Jun 2017 16:13:52 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Wed, 14 Jun 2017 09:13:48 -0700 Subject: Re: How to change passphrase for FreeBSD 11.0 encrypted ZFS root? To: freebsd-questions@freebsd.org References: <1fb7f3d1-dfb5-ab75-ab75-12dcc81423ca@holgerdanske.com> From: David Christensen Message-ID: Date: Wed, 14 Jun 2017 09:13:11 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 16:13:52 -0000 On 06/14/2017 05:35 AM, Jov wrote: > On 06/14/2017 2:20 PM,"David Christensen wrote: >> I issued the following command: >> >> toor@freebsd:/root # geli setkey -n 0 /dev/ada0s1d Enter new >> passphrase: Reenter new passphrase: Note, that the master key >> encrypted with old keys and/or passphrase may still exists in a >> metadata backup file. >> >> Now when I boot, I enter the passphrase at the boot menu, a bunch >> of stuff scrolls by, and then I see: >> >> Enter passphrase for ada0s1d: >> >> I enter the new passphrase and I see: >> >> GEOM_ELI: Wrong key for ada0s1d. Tries left: 2. Enter passphrase >> for ada0s1d: > > You change the passphrase without key file? the default geli boot > will read key files in /boot dir,the key file name is set in > /boot/loader.conf, you shoud remove the settings if you not set it. Thank you for the clue. I would now like to edit /boot/loader, to see if I can adjust the settings so that GELI will decrypt my root partition using just a passphrase. When I boot the FreeBSD 11.0 i386 installer into single-user mode: # mount /dev/ada0s1a /mnt mount /dev/ada0s1a: Invalid argument Why is mount(8) complaining? # ls -l /dev/ada0s1a crw-r----- 1 root operator 0x5b Jun 14 15:53 /dev/ada0s1a David From owner-freebsd-questions@freebsd.org Wed Jun 14 16:28:03 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A77ACBEE787 for ; Wed, 14 Jun 2017 16:28:03 +0000 (UTC) (envelope-from amutu@amutu.com) Received: from mail-oi0-x22a.google.com (mail-oi0-x22a.google.com [IPv6:2607:f8b0:4003:c06::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 637676F881 for ; Wed, 14 Jun 2017 16:28:03 +0000 (UTC) (envelope-from amutu@amutu.com) Received: by mail-oi0-x22a.google.com with SMTP id s3so3643776oia.0 for ; Wed, 14 Jun 2017 09:28:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amutu-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=d/+LCuAEWhTR3SLZCSogyYZlJKhA539El7WQKiKQSzI=; b=fMCzwv4cNr/tyG/n9zygZH6VUhoHQGEa3BJ6qgNOHVQYoAPdHKQ7T2BizjqxP96S8H jYiO969iYq4RJIGBwXsg9KCosJ0IjP2n1zD5/kA7i3icy2zElNrF2b035meW3fo0FAXm bpkFKtlgJ2oCEvGp8sdUJk0MOkJYBhFTcqCG6mTNR/G7f372qDIDj4F4SJOGE9ZaDUQl ZJHjIfA3dOoqq+r4lj2jiiZEBw9QvGtd+XvvBqNWIfdGrNsIEjvOHd9ghDgWB9zxtY8t HQ3dr06Z3AxBCGkziSv9a7CtM/dBqfNx0Lv7LixbshhKs60LWrUtlKkvzJHeq/tIb8Pd OMFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=d/+LCuAEWhTR3SLZCSogyYZlJKhA539El7WQKiKQSzI=; b=FJErUqg2xupEiXF6VGLL3243AAF5trMz6flRXD04NEYDBxUpoiEGSwrlFPjbxJwh7n EucRavrWa9laFp3Hhifb7Xgc0o3pDGu8MSp559DIGRqL1+1UlqRu/VrvRcOXZcGLdfqR XpcMZJUzOB/NP0/BvfKPqrCDI8/W+Y/PUFCn808fDJaa1JDaFhJJMRyX/WxUc1OJkiuY 1jpM5JxYbNVWXgA+WmazWYw+xS31FNmBdT1egIhrKa4bMxAoKl132AI3hMZG+WmtQpt8 X5TolXo1/4gdiQJM3J5iAt3TC9Am3MkAuNr1y8t3f8tdlYpWZmH7W8gB9MNgY/a+8ke8 QAAg== X-Gm-Message-State: AKS2vOxB2R9xb6/KauTrxtQV8cXRD6qAxzp4iTUWC5hYXgAkWRyAzJAU gFxOuTEpqWY/ze/Cx3bHbA== X-Received: by 10.202.76.136 with SMTP id z130mr719056oia.5.1497457682614; Wed, 14 Jun 2017 09:28:02 -0700 (PDT) Received: from mail-ot0-f181.google.com (mail-ot0-f181.google.com. [74.125.82.181]) by smtp.gmail.com with ESMTPSA id p3sm235845ota.51.2017.06.14.09.28.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Jun 2017 09:28:02 -0700 (PDT) Received: by mail-ot0-f181.google.com with SMTP id s7so4324374otb.3 for ; Wed, 14 Jun 2017 09:28:02 -0700 (PDT) X-Received: by 10.157.60.118 with SMTP id j51mr648986ote.127.1497457682043; Wed, 14 Jun 2017 09:28:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.133.136 with HTTP; Wed, 14 Jun 2017 09:28:01 -0700 (PDT) Received: by 10.74.133.136 with HTTP; Wed, 14 Jun 2017 09:28:01 -0700 (PDT) In-Reply-To: References: <1fb7f3d1-dfb5-ab75-ab75-12dcc81423ca@holgerdanske.com> From: Jov Date: Thu, 15 Jun 2017 00:28:01 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: How to change passphrase for FreeBSD 11.0 encrypted ZFS root? To: David Christensen Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 16:28:03 -0000 Not a ufs? What's the output of gpart show? Jov 2017=E5=B9=B46=E6=9C=8815=E6=97=A5 12:13 AM=EF=BC=8C"David Christensen" =E5=86=99=E9=81=93=EF=BC=9A On 06/14/2017 05:35 AM, Jov wrote: > On 06/14/2017 2:20 PM=EF=BC=8C"David Christensen wrote: > >> I issued the following command: >> >> toor@freebsd:/root # geli setkey -n 0 /dev/ada0s1d Enter new >> passphrase: Reenter new passphrase: Note, that the master key >> encrypted with old keys and/or passphrase may still exists in a >> metadata backup file. >> >> Now when I boot, I enter the passphrase at the boot menu, a bunch >> of stuff scrolls by, and then I see: >> >> Enter passphrase for ada0s1d: >> >> I enter the new passphrase and I see: >> >> GEOM_ELI: Wrong key for ada0s1d. Tries left: 2. Enter passphrase >> for ada0s1d: >> > > You change the passphrase without key file=EF=BC=9F the default geli boot > will read key files in /boot dir=EF=BC=8Cthe key file name is set in > /boot/loader.conf, you shoud remove the settings if you not set it. > Thank you for the clue. I would now like to edit /boot/loader, to see if I can adjust the settings so that GELI will decrypt my root partition using just a passphrase. When I boot the FreeBSD 11.0 i386 installer into single-user mode: # mount /dev/ada0s1a /mnt mount /dev/ada0s1a: Invalid argument Why is mount(8) complaining? # ls -l /dev/ada0s1a crw-r----- 1 root operator 0x5b Jun 14 15:53 /dev/ada0s1a David _______________________________________________ freebsd-questions@freebsd.org mailing list https://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 Jun 14 16:38:20 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 08D51BEEC6B for ; Wed, 14 Jun 2017 16:38:20 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay12.qsc.de (mailrelay12.qsc.de [212.99.163.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8168670100 for ; Wed, 14 Jun 2017 16:38:18 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay12.qsc.de; Wed, 14 Jun 2017 18:38:15 +0200 Received: from r56.edvax.de (port-92-195-58-9.dynamic.qsc.de [92.195.58.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id AEA183CC42; Wed, 14 Jun 2017 18:38:14 +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 v5EGcDXb004393; Wed, 14 Jun 2017 18:38:14 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 14 Jun 2017 18:38:13 +0200 From: Polytropon To: alphachi Cc: "list: freebsd" Subject: Re: All data in home directory lost after kernel panic Message-Id: <20170614183813.ec1e54ec.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon 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 X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay12.qsc.de with 4530D6A4D98 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1360 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 16:38:20 -0000 On Wed, 14 Jun 2017 23:03:51 +0800, alphachi wrote: > Today I upgraded my system to 10.3-STABLE r319937 successfully. It's > installed on UFS with GELI. > > When I double-click a VM in virtualbox, the system reboots because of a > kernel panic. After autofsck, the login prompt shows, but the system > reboots again while I input my login imformation and press Enter. I have to > boot single user mode and run fsck manually, then login as root. It's usually not a good idea to rely on background fsck. In case of file system inconsistencies, always force a fsck foreground scan prior to entering multi-user mode. Running with an inconsistent file system can cause all kinds of unexpected results. > Everything > is fine, however I suddenly find all data in my home directory disappeared; > that is to say, my home directory is empty. It seems that somehow the directory's inode has been reset, so all subsequent entries are gone. Depening on what actually happened (background fsck possible damage, foreground fsck with -yf unwanted inode clearing), you could "revive" the inode or at least get your stuff back, while _maybe_ losing the "top level" names for the entries (file names and directory names, as those are stored in the inode of your home directory). If you did not do any further writes to the disk, your data per se (the actual data) is still there. If this is important to you, do not do any writes to the disk (or the partition). Every single write can significantly reduce your chances of recovery. > I think my data still exists on the disk and this is just the problem about > filesystem, because: > 1. The total size of my home directory is about 132GB before. When I check > the output of "df -h" now, the value of "Used" is still about 132GB. Then examine the content of your home directory further, maybe the files just have been "shift down". Use the -o ro option for mounting. As I said - no further writes. Use the archives of this mailing list to find my problem similar to yours (which brought me here), plus the solution. > 2. The operation of user login shouldn't cause a kernel panic, even though > the home directory is empty. In case of an inconsistent file system (maybe in the state of a background fsck or after such a scan, still with defects) is able to cause any kind of strange behaviour. A kernel panic is possible. An inconsistent file system is something the OS cannot properly work on. > 3. "ls -a /home/fbsd" hasn't any output, but normally it should output . > and .. at least. This again shows that there is probably something still wrong with the file system. Inspect it further. Make yourself familiar with the lower-level tools such as fsdb. > I try to use recoverdisk(1) to recover a file that I can remember its name. The names are probably gone, at least at the top level. > For example: > > # recoverdisk /home/fbsd/.zshrc .zshrc > Bigsize = 1048576, medsize = 32768, minsize = 512 > start size block-len state done remaining % done > 0 4220 4220 0 4220 0 100.00000 > Completed > > Although I checked this file and confirmed the recovery is successful, I > can't recover all data by this way since it's impossible to remember all > filenames. Wrong tool for this task. Check my list of recovery tools to find something that is a better deal, but first of all, check what you can do with the file system in order to perform a _repair_ before you go ahead with a recovery. Here is the list: System: dd fsck_ffs clri fsdb (!!!) fetch -rR recoverdisk (!) Ports: ddrescue dd_rescue ffs2recov magicrescue testdisk The Sleuth Kit: fls dls ils autopsy scan_ffs recoverjpeg foremost photorec fatback Proprietary (free test version for diagnostics): SysDev Laboratories LLC "UFS Explorer Again, there is no "one size fits all" kind of tool, and you have to _know_ what you're doing... > Any idea about this? Thanks! I can understand your expectations, but don't fool yourself with the misbelief that there is a "point & click all files back" tool. Establish a proper understanding of what is your current state first, then use the correct tool to deal with it. And: Under no circumstances _experiment_ with your data. Make a copy of the partition and work with the image (disk-backed device: make a copy with dd first, then "mdconfig -a -u 0 -t vnode -f home.dd" and now you can do use mount, fsck, fsdb and other tools that read or write data). I shouldn't say it, but as I've been burned in a similar way as you have been, I'm allowed to say it: Recover from backup! Yes, I know, it doesn't help right now, but it might be a good reminder for the future. Disks are cheap today. https://blog.codinghorror.com/international-backup-awareness-day/ Good luck! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Jun 14 16:44:27 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B8D79BEF1C8 for ; Wed, 14 Jun 2017 16:44:27 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "holgerdanske.com", Issuer "holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A838770926 for ; Wed, 14 Jun 2017 16:44:27 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Wed, 14 Jun 2017 09:44:23 -0700 Subject: Re: Drive labelling with ZFS To: freebsd-questions@freebsd.org References: <03643051-38e8-87ef-64ee-5284e2567cb8@fjl.co.uk> <7fa67076-3ec8-4c25-67b9-a1b8a0aa5afc@holgerdanske.com> <5940EE63.2080904@fjl.co.uk> From: David Christensen Message-ID: Date: Wed, 14 Jun 2017 09:43:46 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <5940EE63.2080904@fjl.co.uk> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 16:44:27 -0000 On 06/14/2017 01:05 AM, Frank Leonhardt wrote: > On 14/06/2017 03:02, David Christensen wrote: >> On 06/13/2017 04:32 PM, David Christensen wrote: >>> Both [1] and [3] discuss the fact that a given drive, partition, >>> file system, etc., can be identified in various ways, manual or >>> automatic, but the kernel will pick one and "wither" the rest. >>> Once a GPT label is set manually, other methods should be >>> disabled via settings in /boot/loader.conf and the system >>> rebooted ([1] p. 35): >>> >>> kern.geom.label.disk_ident.enable="0" >>> kern.geom.label.gptid.enable="0" >> >> Beware that all your disks need to have GPT labels, and those >> labels need to be carried forward into /etc/fstab, etc., before you >> reboot, as the kernel won't be able to find the disks using Disk ID >> or GPT GUID labels once those methods are disabled. >> >> > Thanks David. I'd actually tried all the things you suggested, and > read and re-read the Lucas books which blithely suggest setting GEOM > labels but without going in to detail. The first chapter is all over > the place in structure. However, I didn't try the sysctrl tweaks you > suggest to disable the other methods. I recall the books suggesting > that other methods are disabled, but without telling you how. > > You may well have supplied the missing piece of the jigsaw here. It's > a shame ZFS can't be told which labelling method to use (or can it?) > Current situation is less than helpful. > > The new SAS enclosure utility in 11.0 is great. It can flash the > light on any drive you like, but it only takes device names, not > GUIDs. And if ZFS fails /dev/da87p3 it immediately changes to > referring to it by the GUID only. I can see why assuming the drive is > completely off-line but in most cases it's JUST failed, and therefore > knowing where it was is the same as knowing where it is. > > Part of the problem is that zpools created by sysinstall during > installation are on unlabelled partitions. Actually it does label > them, but not in any helpful way. > > Regards, Frank. On 06/14/2017 07:22 AM, Frank Leonhardt wrote: > Hi David, > > It turns out that these options were set anyway. The problem turned > out be be that I was assuming that geom label played nice with GPT. > It doesn't! Well it does display labels set on GPT partitions, but > it doesn't change them. It took a look at the GPT blocks to confirm > this. It does, however, mask the GPT version with its own, sometimes, > leading to much monkeyhouse. > > So ignore glabel completely and set the labels using gpart instead. > > Having got this sorted out, it turns out that it's really not as > useful as it sounds. On a new array you can find a broken drive this > way, but when it comes to moving a drive around (e.g. from the spare > slot to its correct location) life isn't so simple. First off, ZFS > does a good job of locating pool components wherever in the array you > move them using the GUID. However, if you change the GPT label and > move it, ZFS will refer to it by the device name instead. Nothing I > have tried will persuade it otherwise. If you leave the label intact > it's now pointing to the wrong slot, which ZFS really doesn't mind > about but this could really ruin your day if you don't know. > > Now FreeBSD 11.0 can flash the ident light on any drive you choose, > by device name (as used by ZFS), I'm seriously wondering if labels > are worth the bother if they can't be relied on. Consider what happen > if a tech pulls two drives and puts them back in the wrong order. ZFS > will carry on regardless, but the label will now identify the wrong > slot. Dangerous! > > Anyone got any thoughts on this? > > Regards, Frank. I'm glad I was able to provide you with one useful clue. The Lucas books assume a fair amount of reader knowledge and follow-up, but they gave me a nice boost up the learning curve and were worth every penny. I probably would not have understood glabel vs. gpart without them. The /boot/loader.conf settings are also present on my FreeBSD 11.0 system. The installer must have set them for me. I agree with the idea of having some kind of identifier other than the automatically generated interface based device node (e.g. /dev/ada0s1) for devices/ virtual devices. It sounds like FreeBSD provides multiple choices and the various subsystems are not well coordinated on their usage (?). I am a SOHO user who has only built a few JBOD and RAID0 arrays. But, now I have four 1.5 TB drives and would like to put them to use with FreeBSD ZFS ZRAID1 or striped mirrors. If you figure out a "one label to rule them all" solution, please post it. (My preference at this point would be whitespace-free strings set by the administrator based on drive function -- e.g. "zraid1a", "zraid1b", "zraid1c", and "zraid1d", or "zmirror0a", "zmirror0b", "zmirror1a", and "zmirror1b" in my case; I plan to attach matching physical labels on the drives themselves. Failing free-form strings, I prefer make/model/serial number.) David From owner-freebsd-questions@freebsd.org Wed Jun 14 16:44:30 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C0D6EBEF1E3 for ; Wed, 14 Jun 2017 16:44:30 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay15.qsc.de (mailrelay15.qsc.de [212.99.187.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2E6247094E for ; Wed, 14 Jun 2017 16:44:29 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay15.qsc.de; Wed, 14 Jun 2017 18:44:17 +0200 Received: from r56.edvax.de (port-92-195-58-9.dynamic.qsc.de [92.195.58.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id F10193CC3F; Wed, 14 Jun 2017 18:44:15 +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 v5EGiF7g004446; Wed, 14 Jun 2017 18:44:15 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 14 Jun 2017 18:44:15 +0200 From: Polytropon To: Jov Cc: alphachi , freebsd-questions@freebsd.org Subject: Re: All data in home directory lost after kernel panic Message-Id: <20170614184415.3384fa67.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon 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 X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay15.qsc.de with 6DF8C6834B3 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1531 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 16:44:30 -0000 On Wed, 14 Jun 2017 23:48:54 +0800, Jov wrote: > Hi, I have similar problem last year and get back my data at last.try the > following steps: > > Step 1: > backup your disk using dd. > > Step 2: > run newfs -N /dev/your_partition,get all the super block numbers.chose one > in the middle,for example 123456. > > Step 3: > run fsck_ffs -f -b 123456 /dev/your_partition.(here replace 123456 to your > num get from step 2) > > Step 4: mount the fs,check the root of the fs,there may be a lost+found > dir,your data may be in there with some random number as dir name. This will only work if the alternate superblock has the correct and intact inode information, which might still be the case after a background fsck went "too far". Then fsck should be able to correct the inconsistencies, and a lost+found/ directory will be created at the top of the file system's hierarchy which will usually contain all files in their original directory structure, but with the top level names replaced by inode numbers; from the content, you can often recreate those names. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Jun 14 17:41:08 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 70F81BF0466 for ; Wed, 14 Jun 2017 17:41:08 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "holgerdanske.com", Issuer "holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5D9EF72C0B for ; Wed, 14 Jun 2017 17:41:08 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Wed, 14 Jun 2017 10:41:03 -0700 Subject: Re: How to change passphrase for FreeBSD 11.0 encrypted ZFS root? To: freebsd-questions@freebsd.org References: <1fb7f3d1-dfb5-ab75-ab75-12dcc81423ca@holgerdanske.com> From: David Christensen Message-ID: <9d558dc0-ce22-ab74-66f3-ed587e0b9da2@holgerdanske.com> Date: Wed, 14 Jun 2017 10:40:26 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 17:41:08 -0000 On 06/14/2017 09:28 AM, Jov wrote: > On 06/14/2017 12:13 AM,David Christensen wrote: >> I would now like to edit /boot/loader, to see if I can adjust the settings >> so that GELI will decrypt my root partition using just a passphrase. >> >> When I boot the FreeBSD 11.0 i386 installer into single-user mode: >> >> # mount /dev/ada0s1a /mnt >> mount /dev/ada0s1a: Invalid argument >> >> Why is mount(8) complaining? >> >> # ls -l /dev/ada0s1a >> crw-r----- 1 root operator 0x5b Jun 14 15:53 /dev/ada0s1a > > Not a ufs? > What's the output of gpart show? Thank you for your reply. Here is the relevant output: # gpart show => 63 31277169 ada0 MBR (15G) 63 1 - free - (512B) 64 31277160 1 freebsd [active] (15G) 31277224 8 - free - (4.0K) => 0 31277160 ada0s1 BSD (15G) 0 4194304 1 freebsd-zfs (2.0G) 4194304 4194304 2 freebsd-swap (2.0G) 8388608 22888544 4 freebsd-zfs (11G) 31277152 8 - free - ... So, it looks like ada0s1a is a ZFS VDEV. That explains why mount is complaining. Trying another approach: # zpool list no pools available # zpool import pool: bootpool id: state: ONLINE action: The pool can be imported using its name or numeric identifier. config: bootpool ONLINE ada0s1a ONLINE # zpool import bootpool cannot mount '/bootpool': failed to create mountpoint # zpool status pool: bootpool state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM bootpool ONLINE 0 0 0 ada0s1a ONLINE 0 0 0 errors: No known data errors # find / -name bootpool Exporting and attempting to import under /tmp produces similar results: # zpool export bootpool # zpool list no pools available # zpool import -R /tmp bootpool cannot mount '/tmp/bootpool': failed to create mountpoint # zpool status pool: bootpool state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM bootpool ONLINE 0 0 0 ada0s1a ONLINE 0 0 0 errors: No known data errors # find / -name bootpool How do I import and mount bootpool? David p.s. You and/or your mailer are not following the apparent style conventions of this mailing list: 1. "Interleaved posting" style: https://en.wikipedia.org/wiki/Posting_style 2. Omitting sender's e-mail address in replies. 3. Indenting sender's text in replies. 4. Removing obsolete text in replies as the discussion progresses. But, I see no mention of the above style conventions on the mailing list info page: https://www.freebsd.org/community/mailinglists.html I have repaired your replies in my replies (twice). I request that you reconfigure your mailer and follow convention to improve readability and avoid unnecessary re-work. From owner-freebsd-questions@freebsd.org Wed Jun 14 18:30:34 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B2CBABF124D for ; Wed, 14 Jun 2017 18:30:34 +0000 (UTC) (envelope-from friedrich.locke@gmail.com) Received: from mail-qt0-x22d.google.com (mail-qt0-x22d.google.com [IPv6:2607:f8b0:400d:c0d::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6CA0574119 for ; Wed, 14 Jun 2017 18:30:34 +0000 (UTC) (envelope-from friedrich.locke@gmail.com) Received: by mail-qt0-x22d.google.com with SMTP id u19so10312132qta.3 for ; Wed, 14 Jun 2017 11:30:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=/O7E/KA5MuMuvOmuJCUxryVpzl6ZOrcXy941zfMY3RQ=; b=B+e8jrj6Ih2Sw/kln5jYREM5QDNBIw7PqxzE2HjewbfKvGAHzCi4OWjW/XycljSJQH xbIkuVZZtmvBtBj4cD0K2RHhg6PuOPxGk4mSbWVlpc1XrgQwAXdJFZbIQuQME0QPIrEw icudhIv1B86ryyf6YGEuSPcJHGkG48XuZ6Q99CB2lmQGbI9jrbn/+lCEJ1Spue1uZ03n P2VL7x8PDIfWGNe4L7BUMI33ZRevRye4Ym1CANZtw2fzLcLVHUlY59K/CvTUuHWsvzkq qOQ10WuUwQZWCPPF9tOnlsKG1Pi6AfSaI31UISaDbxmHicYVc++NYVFpir55UBJ0rfaP wwkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=/O7E/KA5MuMuvOmuJCUxryVpzl6ZOrcXy941zfMY3RQ=; b=qWhVf7a1Li498zB8Usu8LN24IKAC/uwt+txCXFilS8aumpOuXMgOsazfKfIjeuSmKQ e5Ujvac+p28NCqpITV5L5EvKcTA4cgNfOfXHXL30+jDq0jiASS3N+WD+deTqFhs+FNnH BoqGlFj8ykoAvNcixA1FktwTKkmbvNNXnd4qMoolkWfgwyv+Sg5dae+Mnp25u9kU4x/Y 4TcvJsLXZ77Iu72mQbRF/HTCKV2GiyaxW8bAC4MEkt16MNL/Gfk+PUEnhnKq3exMDOlU wPG5R4xO+8VEY4EzqlGV3tJFGc6FYRZcHN9wvYYU/jVRZtW5rWISJ1x69sCFeNDMiBUa GqNg== X-Gm-Message-State: AKS2vOx08ZJsCSfXZKppaiIo4hl2kLF1zu7miCGacV1VWwjg4JTuDzvv UWlbtdWUoQryDvC+ X-Received: by 10.55.166.193 with SMTP id p184mr1729737qke.132.1497465033501; Wed, 14 Jun 2017 11:30:33 -0700 (PDT) Received: from [200.235.203.102] (200-235-203-102.wifi.ufv.br. [200.235.203.102]) by smtp.gmail.com with ESMTPSA id a23sm532170qkj.51.2017.06.14.11.30.32 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Jun 2017 11:30:33 -0700 (PDT) Message-ID: <594180C8.2040809@gmail.com> Date: Wed, 14 Jun 2017 15:30:32 -0300 From: Friedrich Locke User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org, openldap-software@openldap.org Subject: ldap nithmare 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 18:30:34 -0000 Hi folks, after trying to get ldap gssapi working i believe i am getting closer to the problem. The way my /etc/hosts files is configured changes the kind of error response. Please, realize i am not using dns, only hosts file: When my /etc/hosts file has this line below: 139.59.138.203 etosha.my.domain etosha I get this: sioux@etosha$ ldapwhoami -Y GSSAPI SASL/GSSAPI authentication started ldap_sasl_interactive_bind_s: Other (e.g., implementation specific) error (80) additional info: SASL(-1): generic failure: GSSAPI Error: No credentials were supplied, or the credentials were unavailable or inaccessible. (unknown mech-code 0 for mech unknown) The kerberos ticket to ldap/etosha.my.domain is retrieved normally. But, when /etc/hosts changes to: 139.59.138.203 etosha etosha.my.domain Then: sioux@etosha$ ldapwhoami -Y GSSAPI SASL/GSSAPI authentication started ldap_sasl_interactive_bind_s: Local error (-2) additional info: SASL(-1): generic failure: GSSAPI Error: Miscellaneous failure (see text)known (Server (ldap/etosha@MY.DOMAIN) unknown) The kerberos ticket to ldap/etosha.my.domain is not retrieved. Why am i given this results ? May someone give me advices on these regards ? From owner-freebsd-questions@freebsd.org Wed Jun 14 18:47:02 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF2BDBF1772 for ; Wed, 14 Jun 2017 18:47:02 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay13.qsc.de (mailrelay13.qsc.de [212.99.187.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4330F74A4F for ; Wed, 14 Jun 2017 18:47:01 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay13.qsc.de; Wed, 14 Jun 2017 20:46:52 +0200 Received: from r56.edvax.de (port-92-195-58-9.dynamic.qsc.de [92.195.58.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 072C43CBF9; Wed, 14 Jun 2017 20:46:51 +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 v5EIkpw9005189; Wed, 14 Jun 2017 20:46:51 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 14 Jun 2017 20:46:51 +0200 From: Polytropon To: Friedrich Locke Cc: freebsd-questions@freebsd.org, openldap-software@openldap.org Subject: Re: ldap nithmare Message-Id: <20170614204651.2f81472e.freebsd@edvax.de> In-Reply-To: <594180C8.2040809@gmail.com> References: <594180C8.2040809@gmail.com> Reply-To: Polytropon 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 X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay13.qsc.de with 7C9376834F6 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1250 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 18:47:02 -0000 On Wed, 14 Jun 2017 15:30:32 -0300, Friedrich Locke wrote: > The way my /etc/hosts files is configured changes the kind of error > response. Please, realize i am not using dns, only hosts file: > > When my /etc/hosts file has this line below: > > 139.59.138.203 etosha.my.domain etosha > > I get this: > > sioux@etosha$ ldapwhoami -Y GSSAPI > SASL/GSSAPI authentication started > ldap_sasl_interactive_bind_s: Other (e.g., implementation specific) > error (80) > additional info: SASL(-1): generic failure: GSSAPI Error: No > credentials were supplied, or the credentials were unavailable or > inaccessible. (unknown mech-code 0 for mech unknown) > > The kerberos ticket to ldap/etosha.my.domain is retrieved normally. > > But, when /etc/hosts changes to: > > 139.59.138.203 etosha etosha.my.domain > > Then: > > sioux@etosha$ ldapwhoami -Y GSSAPI > SASL/GSSAPI authentication started > ldap_sasl_interactive_bind_s: Local error (-2) > additional info: SASL(-1): generic failure: GSSAPI Error: > Miscellaneous failure (see text)known (Server (ldap/etosha@MY.DOMAIN) > unknown) > > The kerberos ticket to ldap/etosha.my.domain is not retrieved. > > > > Why am i given this results ? > May someone give me advices on these regards ? The format of /etc/hosts requires the entries to be in a specific order: address, official name, aliases. So if a program explicitely looks up the official name, the 2nd entry will be retrieved. See "man 5 hosts" for details. (If you didn't do it yet: Create an entry for localhost with 127.0.0.1 in /etc/hosts - many programs complain when this entry is missing.) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu Jun 15 00:04:02 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C298BF6A52 for ; Thu, 15 Jun 2017 00:04:02 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "holgerdanske.com", Issuer "holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 78F6E7DA37 for ; Thu, 15 Jun 2017 00:04:02 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Wed, 14 Jun 2017 17:03:59 -0700 From: David Christensen Subject: FreeBSD 11.0 boot pool created by installer -- how to import and mount using installer? To: freebsd-questions@freebsd.org References: <1fb7f3d1-dfb5-ab75-ab75-12dcc81423ca@holgerdanske.com> Message-ID: <39a436b5-f09e-220b-954d-8ba272fa3101@holgerdanske.com> Date: Wed, 14 Jun 2017 17:03:22 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2017 00:04:02 -0000 freebsd-questions: I have a FreeBSD 11.0 RELEASE i386 system that I created using the FreeBSD installer (FreeBSD-11.0-RELEASE-i386-memstick.img): Partitioning Auto (ZFS) ZFS Configuration Pool Type/Disks Stripe 1 Disk Virtual Device type stripe (device) ada0 Pool Name zroot Force 4K Sectors YES Encrypt Disks YES Partition Scheme MBR (BIOS) Swap Size 2g Mirror Swap NO Encrypt Swap YES Install Proceed with Installation I broke the system by attempting to change the root pool passphrase. I might be able to fix it if I can edit /boot/loader.conf. Booting the FreeBSD installer into multi-user mode and then going to a shell: # zpool list no pools available # zpool import pool: bootpool id: state: ONLINE action: The pool can be imported using its name or numeric identifier. config: bootpool ONLINE ada0s1a ONLINE # zpool import bootpool cannot import 'bootpool': pool may be in use from other system use '-f' to import anyway # zpool import -f bootpool cannot mount '/bootpool': failed to created mountpoint Choosing Live CD produces the same end result. I previously obtained the same end result by booting into single-user mode. How do I import and mount bootpool using the installer that created it? David From owner-freebsd-questions@freebsd.org Thu Jun 15 00:08:50 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EEEE5BF6C92 for ; Thu, 15 Jun 2017 00:08:50 +0000 (UTC) (envelope-from jim@mailman-hosting.com) Received: from maurice.jlkmail.com (maurice.jlkmail.com [IPv6:2606:c700:1:30::23:2a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CC0197DC03 for ; Thu, 15 Jun 2017 00:08:50 +0000 (UTC) (envelope-from jim@mailman-hosting.com) Received: from maurice.jlkmail.com (localhost [127.0.0.1]) by maurice.jlkmail.com (Postfix) with ESMTP id A889F24C04BB for ; Wed, 14 Jun 2017 20:08:49 -0400 (EDT) Authentication-Results: maurice.jlkmail.com (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=mailman-hosting.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= mailman-hosting.com; h=content-transfer-encoding :content-language:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:to:subject:subject; s=dkim; t=1497485328; x= 1498349329; bh=/QLss5jmAtGC7yPDnGJpXKeN8yLnANWb5Jk4yrqJhyI=; b=S lnNY41FwLim6b+mehSj0sh/p9mKZUJ/ocPSZ9mW/l6Myll+Vwf33Exe0Xqjai0w7 Tk/2RIX6s6NVT29pDw2O0UC5ZIrscVXTMN/aGhZ+5Z+QIm/bdmDP3hwG0dmGBS6s vnIvxmfvUMwXEHfhBCHuJIckHJq6rmypnHcJU5KXGE= X-Virus-Scanned: Debian amavisd-new at maurice.jlkmail.com X-Spam-Flag: NO X-Spam-Score: 4.296 X-Spam-Level: **** X-Spam-Status: No, score=4.296 tagged_above=-999 required=6.31 tests=[ALL_TRUSTED=-1, RAZOR2_CF_RANGE_51_100=0.365, RAZOR2_CF_RANGE_E8_51_100=2.43, RAZOR2_CHECK=2.5, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no Received: from maurice.jlkmail.com ([127.0.0.1]) by maurice.jlkmail.com (maurice.jlkmail.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id gElrk7vpGYVA for ; Wed, 14 Jun 2017 20:08:48 -0400 (EDT) Received: from [192.168.1.164] (static-70-104-198-156.nrflva.fios.verizon.net [70.104.198.156]) by maurice.jlkmail.com (Postfix) with ESMTPSA id 1B4DF24C006B; Wed, 14 Jun 2017 20:08:47 -0400 (EDT) Subject: Re: FreeBSD 11.0 boot pool created by installer -- how to import and mount using installer? To: David Christensen , freebsd-questions@freebsd.org References: <1fb7f3d1-dfb5-ab75-ab75-12dcc81423ca@holgerdanske.com> <39a436b5-f09e-220b-954d-8ba272fa3101@holgerdanske.com> From: Jim Ohlstein Message-ID: <51d6f981-a763-cdd0-648f-c36f2d757334@mailman-hosting.com> Date: Wed, 14 Jun 2017 20:08:47 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <39a436b5-f09e-220b-954d-8ba272fa3101@holgerdanske.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2017 00:08:51 -0000 Hello, On 06/14/2017 08:03 PM, David Christensen wrote: > freebsd-questions: > > I have a FreeBSD 11.0 RELEASE i386 system that I created using the > FreeBSD installer (FreeBSD-11.0-RELEASE-i386-memstick.img): > > Partitioning Auto (ZFS) > > ZFS Configuration > Pool Type/Disks Stripe 1 Disk > Virtual Device type stripe > (device) ada0 > Pool Name zroot > Force 4K Sectors YES > Encrypt Disks YES > Partition Scheme MBR (BIOS) > Swap Size 2g > Mirror Swap NO > Encrypt Swap YES > Install Proceed with Installation > > > I broke the system by attempting to change the root pool passphrase. I > might be able to fix it if I can edit /boot/loader.conf. > > > Booting the FreeBSD installer into multi-user mode and then going to a > shell: > > # zpool list > no pools available > > # zpool import > pool: bootpool > id: > state: ONLINE > action: The pool can be imported using its name or numeric identifier. > config: > > bootpool ONLINE > ada0s1a ONLINE > > # zpool import bootpool > cannot import 'bootpool': pool may be in use from other system > use '-f' to import anyway > > # zpool import -f bootpool > cannot mount '/bootpool': failed to created mountpoint > > > Choosing Live CD produces the same end result. > > > I previously obtained the same end result by booting into single-user mode. > > > How do I import and mount bootpool using the installer that created it? Try # zpool import -f -o mountpoint=/mnt bootpool -- Jim Ohlstein Profesional Mailman Hosting https://mailman-hosting.com From owner-freebsd-questions@freebsd.org Thu Jun 15 00:39:50 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D366FBF748D for ; Thu, 15 Jun 2017 00:39:50 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "holgerdanske.com", Issuer "holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B46317EB41 for ; Thu, 15 Jun 2017 00:39:50 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Wed, 14 Jun 2017 17:39:49 -0700 Subject: Re: FreeBSD 11.0 boot pool created by installer -- how to import and mount using installer? To: freebsd-questions@freebsd.org References: <1fb7f3d1-dfb5-ab75-ab75-12dcc81423ca@holgerdanske.com> <39a436b5-f09e-220b-954d-8ba272fa3101@holgerdanske.com> <51d6f981-a763-cdd0-648f-c36f2d757334@mailman-hosting.com> From: David Christensen Message-ID: Date: Wed, 14 Jun 2017 17:39:12 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <51d6f981-a763-cdd0-648f-c36f2d757334@mailman-hosting.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2017 00:39:50 -0000 On 06/14/2017 05:08 PM, Jim Ohlstein wrote: > On 06/14/2017 08:03 PM, David Christensen wrote: >> freebsd-questions: >> >> I have a FreeBSD 11.0 RELEASE i386 system that I created using the >> FreeBSD installer (FreeBSD-11.0-RELEASE-i386-memstick.img): >> >> Partitioning Auto (ZFS) >> >> ZFS Configuration >> Pool Type/Disks Stripe 1 Disk >> Virtual Device type stripe >> (device) ada0 >> Pool Name zroot >> Force 4K Sectors YES >> Encrypt Disks YES >> Partition Scheme MBR (BIOS) >> Swap Size 2g >> Mirror Swap NO >> Encrypt Swap YES >> Install Proceed with Installation >> >> I broke the system by attempting to change the root pool passphrase. >> I might be able to fix it if I can edit /boot/loader.conf. >> >> Booting the FreeBSD installer into multi-user mode and then going to a >> shell: >> >> # zpool list >> no pools available >> >> # zpool import >> pool: bootpool >> id: >> state: ONLINE >> action: The pool can be imported using its name or numeric identifier. >> config: >> >> bootpool ONLINE >> ada0s1a ONLINE >> >> # zpool import bootpool >> cannot import 'bootpool': pool may be in use from other system >> use '-f' to import anyway >> >> # zpool import -f bootpool >> cannot mount '/bootpool': failed to created mountpoint >> >> Choosing Live CD produces the same end result. >> >> I previously obtained the same end result by booting into single-user >> mode. >> >> How do I import and mount bootpool using the installer that created it? > > Try > > # zpool import -f -o mountpoint=/mnt bootpool Thanks for the reply. Booting FreeBSD 11.0 RELEASE i386 installer into single-user mode and accepting default shell: # zpool import -f -o mountpoint=/mnt bootpool ZFS NOTICE: KSTACK_PAGES is 2 which could result in stack overflow panic! Please consider adding 'options KSTACK_PAGES=4' to your kernel config ZFS NOTICE: Prefetch is disabled by default on i386 -- to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf. ZFS WARNING: Recommended minimum kmem_size is 512 MB; expect unstable behavior. Consider tuning vm.kmem_size and vm.kmem_size_max in /boot/loader.conf. ZFS filesystem version: 5 ZFS storage pool version: features support (5000) property 'mountpoint' is not a valid pool property David From owner-freebsd-questions@freebsd.org Thu Jun 15 00:42:54 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72BD3BF76EB for ; Thu, 15 Jun 2017 00:42:54 +0000 (UTC) (envelope-from jim@mailman-hosting.com) Received: from maurice.jlkmail.com (maurice.jlkmail.com [IPv6:2606:c700:1:30::23:2a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4E8657EE91 for ; Thu, 15 Jun 2017 00:42:54 +0000 (UTC) (envelope-from jim@mailman-hosting.com) Received: from maurice.jlkmail.com (localhost [127.0.0.1]) by maurice.jlkmail.com (Postfix) with ESMTP id 87E7A24C04B9 for ; Wed, 14 Jun 2017 20:42:48 -0400 (EDT) Authentication-Results: maurice.jlkmail.com (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=mailman-hosting.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= mailman-hosting.com; h=content-transfer-encoding :content-language:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:to:subject:subject; s=dkim; t=1497487367; x= 1498351368; bh=LegAfU4PY2agwFtDTVsu2UGttNfXe41K30eiM+z2IuU=; b=L mG2yrFwNYXn5bqzCNPy5LpJEsO3qLGIuLOosKCEAGgmjVlUDJm/ZaseKIkB/FLsf pkbsXCYaMatAKrnNrPcdPjZmatMFRjCkRHDFsA7OJpLzJJLMEi1ShyzzdZKmJWOQ eibdi7nC/HM/m0CbIiy3nRO3suhO1ffE3bYWKxuxY0= X-Virus-Scanned: Debian amavisd-new at maurice.jlkmail.com X-Spam-Flag: NO X-Spam-Score: 4.296 X-Spam-Level: **** X-Spam-Status: No, score=4.296 tagged_above=-999 required=6.31 tests=[ALL_TRUSTED=-1, RAZOR2_CF_RANGE_51_100=0.365, RAZOR2_CF_RANGE_E8_51_100=2.43, RAZOR2_CHECK=2.5, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no Received: from maurice.jlkmail.com ([127.0.0.1]) by maurice.jlkmail.com (maurice.jlkmail.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id GkwMk9dzgnKW for ; Wed, 14 Jun 2017 20:42:47 -0400 (EDT) Received: from [192.168.1.164] (static-70-104-198-156.nrflva.fios.verizon.net [70.104.198.156]) by maurice.jlkmail.com (Postfix) with ESMTPSA id BDB5A24C00AB; Wed, 14 Jun 2017 20:42:46 -0400 (EDT) Subject: Re: FreeBSD 11.0 boot pool created by installer -- how to import and mount using installer? To: David Christensen , freebsd-questions@freebsd.org References: <1fb7f3d1-dfb5-ab75-ab75-12dcc81423ca@holgerdanske.com> <39a436b5-f09e-220b-954d-8ba272fa3101@holgerdanske.com> <51d6f981-a763-cdd0-648f-c36f2d757334@mailman-hosting.com> From: Jim Ohlstein Message-ID: Date: Wed, 14 Jun 2017 20:42:45 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2017 00:42:54 -0000 Hello, On 06/14/2017 08:39 PM, David Christensen wrote: > On 06/14/2017 05:08 PM, Jim Ohlstein wrote: >> On 06/14/2017 08:03 PM, David Christensen wrote: >>> freebsd-questions: >>> >>> I have a FreeBSD 11.0 RELEASE i386 system that I created using the >>> FreeBSD installer (FreeBSD-11.0-RELEASE-i386-memstick.img): >>> >>> Partitioning Auto (ZFS) >>> >>> ZFS Configuration >>> Pool Type/Disks Stripe 1 Disk >>> Virtual Device type stripe >>> (device) ada0 >>> Pool Name zroot >>> Force 4K Sectors YES >>> Encrypt Disks YES >>> Partition Scheme MBR (BIOS) >>> Swap Size 2g >>> Mirror Swap NO >>> Encrypt Swap YES >>> Install Proceed with Installation >>> >>> I broke the system by attempting to change the root pool passphrase. >>> I might be able to fix it if I can edit /boot/loader.conf. >>> >>> Booting the FreeBSD installer into multi-user mode and then going to a >>> shell: >>> >>> # zpool list >>> no pools available >>> >>> # zpool import >>> pool: bootpool >>> id: >>> state: ONLINE >>> action: The pool can be imported using its name or numeric >>> identifier. >>> config: >>> >>> bootpool ONLINE >>> ada0s1a ONLINE >>> >>> # zpool import bootpool >>> cannot import 'bootpool': pool may be in use from other system >>> use '-f' to import anyway >>> >>> # zpool import -f bootpool >>> cannot mount '/bootpool': failed to created mountpoint >>> >>> Choosing Live CD produces the same end result. >>> >>> I previously obtained the same end result by booting into single-user >>> mode. >>> >>> How do I import and mount bootpool using the installer that created it? >> >> Try >> >> # zpool import -f -o mountpoint=/mnt bootpool > > Thanks for the reply. > > > Booting FreeBSD 11.0 RELEASE i386 installer into single-user mode and > accepting default shell: > > # zpool import -f -o mountpoint=/mnt bootpool > ZFS NOTICE: KSTACK_PAGES is 2 which could result in stack overflow panic! > Please consider adding 'options KSTACK_PAGES=4' to your kernel config > ZFS NOTICE: Prefetch is disabled by default on i386 -- to enable, add > "vfs.zfs.prefetch_disable=0" to /boot/loader.conf. > ZFS WARNING: Recommended minimum kmem_size is 512 MB; expect unstable > behavior. Consider tuning vm.kmem_size and vm.kmem_size_max in > /boot/loader.conf. > ZFS filesystem version: 5 > ZFS storage pool version: features support (5000) > property 'mountpoint' is not a valid pool property Hmmm.... That's odd. # zfs get mountpoint zroot NAME PROPERTY VALUE SOURCE zroot mountpoint /zroot local -- Jim Ohlstein Profesional Mailman Hosting https://mailman-hosting.com From owner-freebsd-questions@freebsd.org Thu Jun 15 03:24:37 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D09CDBFEC97 for ; Thu, 15 Jun 2017 03:24:37 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "holgerdanske.com", Issuer "holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BAD5B965 for ; Thu, 15 Jun 2017 03:24:37 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Wed, 14 Jun 2017 20:24:36 -0700 Subject: Re: FreeBSD 11.0 boot pool created by installer -- how to import and mount using installer? To: freebsd-questions@freebsd.org References: <1fb7f3d1-dfb5-ab75-ab75-12dcc81423ca@holgerdanske.com> <39a436b5-f09e-220b-954d-8ba272fa3101@holgerdanske.com> <51d6f981-a763-cdd0-648f-c36f2d757334@mailman-hosting.com> From: David Christensen Message-ID: Date: Wed, 14 Jun 2017 20:23:59 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2017 03:24:37 -0000 On 06/14/2017 05:42 PM, Jim Ohlstein wrote: > Hello, > > On 06/14/2017 08:39 PM, David Christensen wrote: >> On 06/14/2017 05:08 PM, Jim Ohlstein wrote: >>> On 06/14/2017 08:03 PM, David Christensen wrote: >>>> freebsd-questions: >>>> >>>> I have a FreeBSD 11.0 RELEASE i386 system that I created using the >>>> FreeBSD installer (FreeBSD-11.0-RELEASE-i386-memstick.img): >>>> >>>> Partitioning Auto (ZFS) >>>> >>>> ZFS Configuration >>>> Pool Type/Disks Stripe 1 Disk >>>> Virtual Device type stripe >>>> (device) ada0 >>>> Pool Name zroot >>>> Force 4K Sectors YES >>>> Encrypt Disks YES >>>> Partition Scheme MBR (BIOS) >>>> Swap Size 2g >>>> Mirror Swap NO >>>> Encrypt Swap YES >>>> Install Proceed with Installation >>>> >>>> I broke the system by attempting to change the root pool passphrase. >>>> I might be able to fix it if I can edit /boot/loader.conf. >>>> >>>> Booting the FreeBSD installer into multi-user mode and then going to a >>>> shell: >>>> >>>> # zpool list >>>> no pools available >>>> >>>> # zpool import >>>> pool: bootpool >>>> id: >>>> state: ONLINE >>>> action: The pool can be imported using its name or numeric >>>> identifier. >>>> config: >>>> >>>> bootpool ONLINE >>>> ada0s1a ONLINE >>>> >>>> # zpool import bootpool >>>> cannot import 'bootpool': pool may be in use from other system >>>> use '-f' to import anyway >>>> >>>> # zpool import -f bootpool >>>> cannot mount '/bootpool': failed to created mountpoint >>>> >>>> Choosing Live CD produces the same end result. >>>> >>>> I previously obtained the same end result by booting into single-user >>>> mode. >>>> >>>> How do I import and mount bootpool using the installer that created it? >>> >>> Try >>> >>> # zpool import -f -o mountpoint=/mnt bootpool >> >> Thanks for the reply. >> >> >> Booting FreeBSD 11.0 RELEASE i386 installer into single-user mode and >> accepting default shell: >> >> # zpool import -f -o mountpoint=/mnt bootpool >> ZFS NOTICE: KSTACK_PAGES is 2 which could result in stack overflow panic! >> Please consider adding 'options KSTACK_PAGES=4' to your kernel config >> ZFS NOTICE: Prefetch is disabled by default on i386 -- to enable, add >> "vfs.zfs.prefetch_disable=0" to /boot/loader.conf. >> ZFS WARNING: Recommended minimum kmem_size is 512 MB; expect unstable >> behavior. Consider tuning vm.kmem_size and vm.kmem_size_max in >> /boot/loader.conf. >> ZFS filesystem version: 5 >> ZFS storage pool version: features support (5000) >> property 'mountpoint' is not a valid pool property > > Hmmm.... That's odd. > > # zfs get mountpoint zroot > NAME PROPERTY VALUE SOURCE > zroot mountpoint /zroot local 1. zfs(8) is not the same as zpool(8). You used the former; I used the latter. 2. "mountpoint" is a ZFS Native Property, not a ZFS pool property: http://docs.oracle.com/cd/E23824_01/html/821-1448/gazss.html#gcfgr https://docs.oracle.com/cd/E19120-01/open.solaris/817-2271/6mhupg6jv/index.html#gfiex 3. The installer environment is going to be different than a "normal" FreeBSD system. Digging some more: # mount /dev/ufs/FreeBSD_Install on / (ufs, local, noatime, read-only) devfs on /dev (devfs, local, multilabel) /dev/md0 on /var (ufs, local) /dev/md1 on /tmp (ufs, local) So, the installer provides a read-only root file system, overlaid with a devfs for /dev, a memory file system for /var, and a memory file system for /tmp. Perhaps if I create a mount point within /tmp, since it's writable, and then import bootpool using an alternate root: http://docs.oracle.com/cd/E19253-01/819-5461/gbcgl/index.html # mkdir /tmp/bootpool # zpool import -R /tmp/bootpool bootpool # zpool list bootpool NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT bootpool 1.98G 128M 1.86G - 7% 6% 1.00x ONLINE /tmp/bootpool Now I can edit loader.conf: # cd /tmp/bootpool/bootpool/boot # ls -l loader.conf -rw-r--r-- 1 root wheel 517 Jan 25 19:36 loader.conf # cp loader.conf loader.con-20170125-1936 # vi loader.conf ### 20170614 dpchrist - don't use keyfile for root pool #geli_ada0s1d_keyfile0_load="YES" #geli_ada0s1d_keyfile0_type="ada0s1d:geli_keyfile0" #geli_ada0s1d_keyfile0_name="/boot/encryption.key" Change directory out and export the pool: # cd # pwd / # zpool export bootpool # zpool list no pools available Power down, pull the installer USB flash drive, and boot -- it works! One last step: toor@freebsd:/boot # zpool import bootpool Reboot -- everything is there: toor@freebsd:~ # zpool list NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT bootpool 1.98G 128M 1.86G - 7% 6% 1.00x ONLINE - zroot 10.9G 5.11G 5.76G - 45% 47% 1.00x ONLINE - toor@freebsd:~ # mount | egrep '^(zroot |bootpool)' bootpool on /bootpool (zfs, local, nfsv4acls) zroot on /zroot (zfs, local, noatime, nfsv4acls) Thanks everyone for the help. :-) David From owner-freebsd-questions@freebsd.org Thu Jun 15 09:44:20 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6FFDFC79ED8 for ; Thu, 15 Jun 2017 09:44:20 +0000 (UTC) (envelope-from 3283d540.ld1.m9R.2g.pXVzA7+freebsd-questions=freebsd.org@bnc.mailjet.com) Received: from o119.p4.mailjet.com (o119.p4.mailjet.com [178.33.221.119]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 264836F546 for ; Thu, 15 Jun 2017 09:44:19 +0000 (UTC) (envelope-from 3283d540.ld1.m9R.2g.pXVzA7+freebsd-questions=freebsd.org@bnc.mailjet.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=bnc.mailjet.com; i=sales=3Dlondonvintageguitars.com@bnc.mailjet.com; s=mailjet; h=message-id:mime-version:content-type:from:reply-to:to:subject:date:precedence:list-id:list-unsubscribe:x-csa-complaints; bh=Vc6ybU85vJ5dpX1DIbP0GBwIFfU=; b=IA63ZpbwmFNB3YcVzUHeegFvZTtX4rP3Udz1sA1xHjrsxnjdQ16FwJylJxmMQQ5Sv+C1HfUfdOiiTIwFXuQ4j4oKsie+fcWT99s3+Cg8HXdJ5wdYaMgzeBpceb46WfIY1ZDYfsBUHbxILIms45ByUX896bdU1JG6nwjCWO3TFi4= Message-Id: <3283d540.ld1.m9R.2g.pXVzA7@mailjet.com> Mime-Version: 1.0 From: =?utf-8?Q?sales@londonvintageguitars.com?= Reply-To: To: freebsd-questions@freebsd.org Subject: =?utf-8?Q?FENDER_AMPS_WANTED_|_CASH_WAITING?= Date: Thu, 15 Jun 2017 10:37:35 +0100 Precedence: bulk X-CSA-Complaints: whitelist-complaints@eco.de Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2017 09:44:20 -0000 View online version   This email has been sent to freebsd-questions@freebsd.org , click here to unsubscribe . ___ Justin Harrison ___ ___ ___ From owner-freebsd-questions@freebsd.org Thu Jun 15 16:48:46 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8AC30D8DB52 for ; Thu, 15 Jun 2017 16:48:46 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (mail.geeks.org [IPv6:2001:4980:3333:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 64A7B7B62D for ; Thu, 15 Jun 2017 16:48:46 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (localhost [127.0.0.1]) by after-clamsmtpd.geeks.org (Postfix) with ESMTP id 346F611022A for ; Thu, 15 Jun 2017 11:48:37 -0500 (CDT) Received: by mail.geeks.org (Postfix, from userid 1003) id 0EF00110229; Thu, 15 Jun 2017 11:48:37 -0500 (CDT) Date: Thu, 15 Jun 2017 11:48:37 -0500 From: Doug McIntyre To: freebsd-questions@freebsd.org Subject: Poudriere multi mysql/php builds Message-ID: <20170615164837.GA73190@geeks.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.8.2 (2017-04-18) X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2017 16:48:46 -0000 I notice that pkg.freebsd.org has packages available for multiple mysql-server and php all available at once. eg. php56-5.6.30 PHP Scripting Language php70-7.0.19 PHP Scripting Language mysql56-server-5.6.36 Multithreaded SQL database (server) mysql57-server-5.7.18 Multithreaded SQL database (server) mysql80-server-8.0.0_4 Multithreaded SQL database (server) I have a Poudriere system setup, and I know I can do a global set on which MySQL or PHP to build and use by default, and I've also setup different jails to build different combinations of what I want. But how does pkg.freebsd.org do it to offer it all in one spot? I would like to do that internally as well. From owner-freebsd-questions@freebsd.org Thu Jun 15 18:59:46 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2F41FB9436A for ; Thu, 15 Jun 2017 18:59:46 +0000 (UTC) (envelope-from vijju.singh@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 08D6280193 for ; Thu, 15 Jun 2017 18:59:46 +0000 (UTC) (envelope-from vijju.singh@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 04F44B94368; Thu, 15 Jun 2017 18:59:46 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 04855B94367 for ; Thu, 15 Jun 2017 18:59:46 +0000 (UTC) (envelope-from vijju.singh@gmail.com) Received: from mail-lf0-x235.google.com (mail-lf0-x235.google.com [IPv6:2a00:1450:4010:c07::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7B95680192 for ; Thu, 15 Jun 2017 18:59:45 +0000 (UTC) (envelope-from vijju.singh@gmail.com) Received: by mail-lf0-x235.google.com with SMTP id m77so14331816lfe.0 for ; Thu, 15 Jun 2017 11:59:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=gggAv1koas4+1FBQ7PIOfUJbjwOkY0Gi7DsA/PDHsKk=; b=H4t9Zftr3EADbOPbyAL/IO4Xgu46NXruZC8s0GqAutCaxK2+x8SpYGv8aCW1a0G4ug zOyJnvLMW48fuC765e0qrA09gGBAZcKeZF9G/znrHOKBbFd86E8DBrp7Q7dzevfLBtNd KD0GEMHuPyHtAWm5m8TGCWf8UicHDHtmK/4I6VJnIDmfxB7Q7VSukW02AELRbeCZ76WV FbHEcK4z1BBzMve9ZPi0nT5TGfs8uYSRi/WScUgki2HNNS9UvObqBhzaVM7OMJgRjWBz Sy1Ql9qLs2rE573XzJgYijyBGkRDszeadmm2BFOboJSd1INdUHp6yvBQDNctO25XBQBi jKGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=gggAv1koas4+1FBQ7PIOfUJbjwOkY0Gi7DsA/PDHsKk=; b=BwKkeeVxAM8NXDKzPU6RWHcy+3gsX8syjDawgxHdKh5/eyP5hVourlymYBwFO+q3i4 ixJ+ePHq79uj/UoLwvGECGAdu9odFoDVQLhlfMZA+xchFyEvKeCqCDZbRe8fls+F8n5q pp8tyvW+pz2cXHRwO6m40BfmNYjyDT+NU6q/1Ap1/b3EFLVBPvJIOYkRjNlxuZBeKTnY DO2JPZgmJePep+ftxN4s/bEYyZZtCiP5r+xyVPZWkC0GJoogqVPhK/dVvvtsywQFCVsK 0ZgZa71uE/Q/ZyGQZWJbYnZJizDmxfBOYjpxcjNiP7D2eQOopZGaAigiB8zlodXqEcpI Cv4A== X-Gm-Message-State: AKS2vOzW0O9J+Ijj0A7ejryjk54350ZBJvCoycR3iupTUz3v9iK5DnQJ K3jCEXDiwhR7KLiP9029aYfWWkdMwQ== X-Received: by 10.25.67.76 with SMTP id m12mr2287667lfj.84.1497553183210; Thu, 15 Jun 2017 11:59:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.193.79 with HTTP; Thu, 15 Jun 2017 11:59:42 -0700 (PDT) Received: by 10.25.193.79 with HTTP; Thu, 15 Jun 2017 11:59:42 -0700 (PDT) In-Reply-To: References: From: Vijay Singh Date: Thu, 15 Jun 2017 11:59:42 -0700 Message-ID: Subject: sysctl proc entered twice To: questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2017 18:59:46 -0000 I am implementing a sysctl proc in the kernel to print some custom counters. I am seeing that the proc handler is called twice each time I invoke "sysctl oid". Is this expected? PS: the proc is setup as string|rd. From owner-freebsd-questions@freebsd.org Thu Jun 15 20:17:13 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12A3AB95D14 for ; Thu, 15 Jun 2017 20:17:13 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x22b.google.com (mail-io0-x22b.google.com [IPv6:2607:f8b0:4001:c06::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CDBD582C67 for ; Thu, 15 Jun 2017 20:17:12 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x22b.google.com with SMTP id y77so18604639ioe.3 for ; Thu, 15 Jun 2017 13:17:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=QY8pjDc/OP504RuN4hpicEBJX3xQVwGDxDKeRPOaRK0=; b=VlSuKtPa37jMPL39alhClQTYFYl2kXiHZLEYy7ropZUw7kwMBEscLSQjHMC5hQIsRq trkRZQ3l/YI2HeJTFtbYji/mCPs424ym9xZ5PFzmEw5SuUSINnCAfD0P7venFCt2/NXv HS7VDDrIl3652nMD2D8fywAzvXKYtdU1KjEfQhbBEja+voaoQruApIARUd8JyDBOA2Ug jTApczDssw7ZD7ApoUyuW7lZf/kX3GIp26kVsWEn86wMd74OhqVDs00p4zLpJ///mWgp kSMA4gHeduYZHST6OzKdlXEfaJNuflcuwEo5VQr9hljZeDfl+4FJbfSP7mENpqwkJRXF lY1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=QY8pjDc/OP504RuN4hpicEBJX3xQVwGDxDKeRPOaRK0=; b=h+/8yA2TCJqvwCGAG+ynzBh4i9YLVnb7oq6VsL9aG8ZrLmH1L8IApUP7AkhkY9/6fw kTwv665RVjNzF9T4Skom1YUQFt37HPewdk/NOnfVi0y2ffg0jChAiViLGSuus/3XKfac K6mZB9bWbQUS7rp+mIKGd81lqT9ITHKxdpv17Y02rtTk8Ig30YYisI/DomtR2eB2bXPf uiXPt+bfE4yyywmN9jUWLc2tdjyx32ZYekf6NzBTT3pVdDbtG8r2DSGEq5TwoLoPR4dh PXb7qDeeR+7fMS4vCTIZoZgvn5LdDuTS1Ny3b1Qs6v/Wro6jjPVjeCZdft07vomVCh+8 yp4g== X-Gm-Message-State: AKS2vOw652jzGL07XEZQn94qZAgLlWqDAO0HZfY1WuAXlO8RfeodYEPS /MS2TSiWLUST1JOu X-Received: by 10.107.10.84 with SMTP id u81mr7121076ioi.206.1497557831934; Thu, 15 Jun 2017 13:17:11 -0700 (PDT) Received: from [10.0.10.3] (cpe-65-25-60-74.neo.res.rr.com. [65.25.60.74]) by smtp.googlemail.com with ESMTPSA id 142sm99386itk.30.2017.06.15.13.17.11 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Jun 2017 13:17:11 -0700 (PDT) Message-ID: <5942EB59.8040807@gmail.com> Date: Thu, 15 Jun 2017 16:17:29 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: FreeBSD questions Subject: 11.1 ISO-IMAGES for alpha, beta and RC builds 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2017 20:17:13 -0000 https://www.freebsd.org/releases/11.1R/schedule.html Shows no alpha builds. Is it normal to start the release build process with beta builds skipping the alpha builds? I see ISO-IMAGES for 11.1 beta1. I don't remembering seeing ISO-IMAGES for previous alpha, beta and RC build releases. Is this a new change to existing procedures? Are we going to see ISO-IMAGES for alpha, beta and RC builds from now on? Where does snapshot prerelease fit into the alpha, beta and RC build process? Is this documented someplace? From owner-freebsd-questions@freebsd.org Thu Jun 15 22:03:20 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 39C5CBF0286 for ; Thu, 15 Jun 2017 22:03:20 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C17E2265E for ; Thu, 15 Jun 2017 22:03:19 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [IPv6:2001:8b0:151:1:1c1d:86a1:a200:b700]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 245E29C11 for ; Thu, 15 Jun 2017 22:03:18 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/245E29C11; dkim=none; dkim-atps=neutral Subject: Re: 11.1 ISO-IMAGES for alpha, beta and RC builds To: freebsd-questions@freebsd.org References: <5942EB59.8040807@gmail.com> From: Matthew Seaman Message-ID: <6be7fab4-4e34-8adf-4f03-c8c59a3e544e@FreeBSD.org> Date: Thu, 15 Jun 2017 23:03:11 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <5942EB59.8040807@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="eHccG8JdlH3OiFuFrENxI3j6GsMdATMRw" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2017 22:03:20 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --eHccG8JdlH3OiFuFrENxI3j6GsMdATMRw Content-Type: multipart/mixed; boundary="C38VABwb14HL16bf9sMKKgHoBcEKSFeDs"; protected-headers="v1" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: <6be7fab4-4e34-8adf-4f03-c8c59a3e544e@FreeBSD.org> Subject: Re: 11.1 ISO-IMAGES for alpha, beta and RC builds References: <5942EB59.8040807@gmail.com> In-Reply-To: <5942EB59.8040807@gmail.com> --C38VABwb14HL16bf9sMKKgHoBcEKSFeDs Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 15/06/2017 21:17, Ernie Luzar wrote: > https://www.freebsd.org/releases/11.1R/schedule.html >=20 > Shows no alpha builds. Is it normal to start the release build process > with beta builds skipping the alpha builds? >=20 > I see ISO-IMAGES for 11.1 beta1. I don't remembering seeing ISO-IMAGES > for previous alpha, beta and RC build releases. Is this a new change to= > existing procedures? Are we going to see ISO-IMAGES for alpha, beta an= d > RC builds from now on? >=20 > Where does snapshot prerelease fit into the alpha, beta and RC build > process? >=20 > Is this documented someplace? The alpha builds are internal to Release Engineering -- they're essentially just a sanity check that the code to go into the release doesn't have obvious problems. The beta builds are the first ones released to the public for wider testing, once RE is satisfied that they won't cause your machine to spit chunks of harddrive all over the floor or other faux-pas. Yes, pre-release iso images have been released historically for people to download and do test installs. It's pretty hard to get people to test releases in any case, so making it as convenient as possible for people to install is a good idea. The 'snapshot' referred to in the release schedule is a tag created in the code repository so that the precise BETA1 or BETA2 or whatever code can be checked out in a repeatable way. The BETAs are built against the 11-STABLE branch in SVN, which is the main and fairly active development branch for all 11.x code. So the BETAs could evolve quite rapidly, although we're in a code-freeze at the moment and all commits to 11-STABLE require RE approval. Once the BETAs have proven satisfactory, the 11.1-RELEASE branch will be created. This means two things: first, and commits to 11-STABLE after the branch point will not appear in 11.1-RELEASE unless specifically merged (so the RE lock on commit approvals to 11-STABLE will be lifted). Second: the release branch is effectively in feature-freeze at this point and only fixes for issues discovered during testing will be applied= =2E This is basically the same process that has been used since around 6.0-RELEASE. Cheers, Matthew --C38VABwb14HL16bf9sMKKgHoBcEKSFeDs-- --eHccG8JdlH3OiFuFrENxI3j6GsMdATMRw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJZQwQlXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkAT9BwQAI9HZwurHKQayAtsmXqfJYxE e/imdIE2PrnXgVGpJTYRTisSF4PORo4b2nlLC/yktLZnrPN3QSSZZJjh2jVlrBgb 783XPaBp6vgHe0IGB7cybvz407mJBEYXaOXv1EYGrVKTdNBbvJh8zy/vKctJ3uHR N9ylrVndNFRlmbmTbW5bPRV1n5126uaQ1KfLoh6Td6++nykT9dj9VFtcstCOrXFs ZNDCE2I21AmKLMBTVLZ1mLjNNY6oTX2A+/djAKndFqqmJ0TPfW0ZIgS8N8PbYnOf F6UqQDCmA/RRYLRy0YKCChyKxuyglYobaLkunoHuEezl5jfJ5orPozRpdaXBZs/U hy0kVAuO+5O8M2Nh8d6ebzbAM0u0jDQGh0ST+QoG5X9hkwrdXnC93BbAzmDHcVIr +zLFwsRtpIrElu2R4yuDwirAigGH0Tuf/FRmZ/HpEyOgy6PycpKP4I5mAwenxMNZ oDHJXjVUmKMLDUi6e/qMnmOvBCBDcLthWpMczp9Qc0LE8WF8obUUlbZP79hr6fnN bMOAJG2yP2wy81lRKEcqLViXuztpT/L86S87zT5vHPwq45+nfEw4bJ3CLX21fADr H4ZeSvGaCgkIj3Tl/fu0T0kwpotOvohfczli9Ss3/zg4nMV+3eXAjx3ITbvzvhlh N3SuFTjqOcBkicQ8jOJg =18SB -----END PGP SIGNATURE----- --eHccG8JdlH3OiFuFrENxI3j6GsMdATMRw-- From owner-freebsd-questions@freebsd.org Fri Jun 16 01:33:21 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EC76BBF360F for ; Fri, 16 Jun 2017 01:33:21 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A6936674D2; Fri, 16 Jun 2017 01:33:21 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x22d.google.com with SMTP id i7so21896518ioe.1; Thu, 15 Jun 2017 18:33:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=B8zZeSQmFKnZH3bIHI2nivmKB3csx/TNJJt8nymDzvw=; b=ZzCZKAzhnX2huJEKI6y827/ewKYnrpWVY/gWALvZaqy25ZFMfRNve99L2lJCdbnIhc rQUsrxVpE8EVhWEtOizhjySWWod8sTHF2OBiKWC2hwqQFRcBm7xgwOy2Q1YYsp6NE3t3 1w3/p7Hfr4jp8KXkmuvF/P2JSjE+O5uGOCyzvdHdDzn1KNsfglKKZ3TbO6k+iSmtTr1w 3z1ZPhAPl4/rKOPg6ZDsaGfurfYGHJpRrHAk9VAkm9an+UM/Z3IGuEY567PYuQfP9bg3 GNlgmQon/dXPF3XVbbPCCJ3cKNbWV0jW8aZDWkbUdh3z6ZjT/OG+T2S+VS7dHkDo/xLt IRpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=B8zZeSQmFKnZH3bIHI2nivmKB3csx/TNJJt8nymDzvw=; b=uQ0klRGcdqlewU7xq3vRAUTftezJ9PUmYSOR+8R1ohuhltmvVw8aFyTzYXETuIxYv9 4OyNXuWu90fyDCt/8LY3f8SQNSSSaG8R5FCDzZWuL3+OwV/3pOequpLSSxz6efpGbks4 YI029fy74RUeDEabs9LpP/nDvqbL4idaSuMI2dUW1eUuFjdOs0LOtQDzUVfxhotETAlR hTwzaKx55c+rtEiFJTjsBOMmh3FYzuM+9VNiL+OFPYx6REFnxrp3n+ycL4+zhiuMOZko p4Whq9WGm+ycKY5kbkTq6n2xh6TDxkjhJzNRbcTpJyu+E9TBRoWU07rjl2Wtk4AoIDVI 4OLA== X-Gm-Message-State: AKS2vOwq27LFruDURWahMFoKvAZ8ZAPa1mFq/TXbF1Rb8lN183sE08EO yKhlrFUMoC9iDjEL X-Received: by 10.107.138.224 with SMTP id c93mr8802143ioj.32.1497576800994; Thu, 15 Jun 2017 18:33:20 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-89-70.neo.res.rr.com. [74.141.89.70]) by smtp.googlemail.com with ESMTPSA id c31sm452490ioj.53.2017.06.15.18.33.20 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Jun 2017 18:33:20 -0700 (PDT) Message-ID: <5943356C.8060205@gmail.com> Date: Thu, 15 Jun 2017 21:33:32 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Matthew Seaman CC: freebsd-questions@freebsd.org Subject: Re: 11.1 ISO-IMAGES for alpha, beta and RC builds References: <5942EB59.8040807@gmail.com> <6be7fab4-4e34-8adf-4f03-c8c59a3e544e@FreeBSD.org> In-Reply-To: <6be7fab4-4e34-8adf-4f03-c8c59a3e544e@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 01:33:22 -0000 Matthew Seaman wrote: > On 15/06/2017 21:17, Ernie Luzar wrote: >> https://www.freebsd.org/releases/11.1R/schedule.html >> >> Shows no alpha builds. Is it normal to start the release build process >> with beta builds skipping the alpha builds? >> >> I see ISO-IMAGES for 11.1 beta1. I don't remembering seeing ISO-IMAGES >> for previous alpha, beta and RC build releases. Is this a new change to >> existing procedures? Are we going to see ISO-IMAGES for alpha, beta and >> RC builds from now on? >> >> Where does snapshot prerelease fit into the alpha, beta and RC build >> process? >> >> Is this documented someplace? > > The alpha builds are internal to Release Engineering -- they're > essentially just a sanity check that the code to go into the release > doesn't have obvious problems. The beta builds are the first ones > released to the public for wider testing, once RE is satisfied that they > won't cause your machine to spit chunks of harddrive all over the floor > or other faux-pas. > > Yes, pre-release iso images have been released historically for people > to download and do test installs. It's pretty hard to get people to > test releases in any case, so making it as convenient as possible for > people to install is a good idea. > > The 'snapshot' referred to in the release schedule is a tag created in > the code repository so that the precise BETA1 or BETA2 or whatever code > can be checked out in a repeatable way. The BETAs are built against the > 11-STABLE branch in SVN, which is the main and fairly active development > branch for all 11.x code. So the BETAs could evolve quite rapidly, > although we're in a code-freeze at the moment and all commits to > 11-STABLE require RE approval. > > Once the BETAs have proven satisfactory, the 11.1-RELEASE branch will be > created. This means two things: first, and commits to 11-STABLE after > the branch point will not appear in 11.1-RELEASE unless specifically > merged (so the RE lock on commit approvals to 11-STABLE will be lifted). > Second: the release branch is effectively in feature-freeze at this > point and only fixes for issues discovered during testing will be applied. > > This is basically the same process that has been used since around > 6.0-RELEASE. > > Cheers, > > Matthew > > Thank you for the details. Let me reword this to be sure I understand what you said. All BETA, RC, and RELEASE builds have ISO-IMAGES created, and the result in the "uname -r" command will contain BETA, RC, or RELEASE as part of the OS name. Snapshots for alpha, PRERELEASE, STABLE and CURRENT builds do not have ISO-IMAGES created and the result of the "uname -r" command will contain PRERELEASE, STABLE or CURRENT as part of the OS name. Compiling of STABLE or CURRENT from source will result in the "uname -r" command containing STABLE or CURRENT in the OS name. From owner-freebsd-questions@freebsd.org Fri Jun 16 01:52:17 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9352BF3C22 for ; Fri, 16 Jun 2017 01:52:17 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8E02A67E22 for ; Fri, 16 Jun 2017 01:52:17 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-io0-x233.google.com with SMTP id k93so22024354ioi.2 for ; Thu, 15 Jun 2017 18:52:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=1dV9PdmKVgiGCxLJxZCnMCZMxM/9GIvM+qnaK/Iod7o=; b=ZSZYbyJI4+E+QDjQIHBEH+ZsHePxfSZO9/5Oz1sMY0zBRanAMBKSkJ2vNKmCi4zpLP rrZ10ZeW1McXtVW8U6VXd/TdHCkCAKOUHasUr7nWtxDYQtb6gVBauTWsiosXLwIizATF PujDwOLBxN5j0Oe70vE5m5uMuTxi0wZnE1QRKenFxm9NFmwZdLKRcnwpjIyUw4pbTjgP a8cT2RN5a7lk+dzB/o/x6uFlx5Ez7OkLOlbdykGj6rucsfN4JMTFe/QDBQLmppuoPDPo Fufa+Y5yU/KU5/NyFvDhullf2Z+0+OsP+YcC5JouBiUWBqBYpLxWDV0RkCaAUHlEaPU0 Y9wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=1dV9PdmKVgiGCxLJxZCnMCZMxM/9GIvM+qnaK/Iod7o=; b=KJmULoHqhB4rMXOl59dWN90X4YQHgNyZf1ouVvtRmElp3gJl0xOx7GWm5f+qIta3oe yAze1k1KztKs8z/6naPY/+95p9gpCcV9UZ3vQboEFFq+tK97X13Xcyxntlf/EKqQHEL/ VzZ/2lAkWS7bx7giXcMmKlh519D8mVjaVYHDWMgx6js/mlJ/daMVPTaigW3jzHEURChK wfsMUubjaxhZWFL2mdoywJQQgwPtfUEyd/pPkqYLQROCQRsdKgryHKiYgsEiMX8EiTyv pVLJE5478I9/0EWdzjpa4khM2WKt5WM+32eXfvbjwyTq2y14lNm4ejnhZURFB5MI3BBA Dheg== X-Gm-Message-State: AKS2vOwiBw5tZktTQ1SNRmWu+yEeVeYC79sBUNwx/cH6zsj69tCkBCj0 GFeaopNiB7hZfrTG X-Received: by 10.107.34.206 with SMTP id i197mr8307983ioi.67.1497577936762; Thu, 15 Jun 2017 18:52:16 -0700 (PDT) Received: from localhost.localdomain (50-243-4-3-static.hfc.comcastbusiness.net. [50.243.4.3]) by smtp.googlemail.com with ESMTPSA id z64sm485244ioe.61.2017.06.15.18.52.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Jun 2017 18:52:16 -0700 (PDT) Subject: Re: 11.1 ISO-IMAGES for alpha, beta and RC builds To: freebsd-questions@freebsd.org References: <5942EB59.8040807@gmail.com> <6be7fab4-4e34-8adf-4f03-c8c59a3e544e@FreeBSD.org> <5943356C.8060205@gmail.com> From: JD Message-ID: <594339CF.1090907@gmail.com> Date: Thu, 15 Jun 2017 19:52:15 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <5943356C.8060205@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 01:52:17 -0000 On 06/15/2017 07:33 PM, Ernie Luzar wrote: > Matthew Seaman wrote: >> On 15/06/2017 21:17, Ernie Luzar wrote: >>> https://www.freebsd.org/releases/11.1R/schedule.html >>> >>> Shows no alpha builds. Is it normal to start the release build process >>> with beta builds skipping the alpha builds? >>> >>> I see ISO-IMAGES for 11.1 beta1. I don't remembering seeing ISO-IMAGES >>> for previous alpha, beta and RC build releases. Is this a new change to >>> existing procedures? Are we going to see ISO-IMAGES for alpha, beta >>> and >>> RC builds from now on? >>> >>> Where does snapshot prerelease fit into the alpha, beta and RC build >>> process? >>> >>> Is this documented someplace? >> >> The alpha builds are internal to Release Engineering -- they're >> essentially just a sanity check that the code to go into the release >> doesn't have obvious problems. The beta builds are the first ones >> released to the public for wider testing, once RE is satisfied that they >> won't cause your machine to spit chunks of harddrive all over the floor >> or other faux-pas. >> >> Yes, pre-release iso images have been released historically for people >> to download and do test installs. It's pretty hard to get people to >> test releases in any case, so making it as convenient as possible for >> people to install is a good idea. >> >> The 'snapshot' referred to in the release schedule is a tag created in >> the code repository so that the precise BETA1 or BETA2 or whatever code >> can be checked out in a repeatable way. The BETAs are built against the >> 11-STABLE branch in SVN, which is the main and fairly active development >> branch for all 11.x code. So the BETAs could evolve quite rapidly, >> although we're in a code-freeze at the moment and all commits to >> 11-STABLE require RE approval. >> >> Once the BETAs have proven satisfactory, the 11.1-RELEASE branch will be >> created. This means two things: first, and commits to 11-STABLE after >> the branch point will not appear in 11.1-RELEASE unless specifically >> merged (so the RE lock on commit approvals to 11-STABLE will be lifted). >> Second: the release branch is effectively in feature-freeze at this >> point and only fixes for issues discovered during testing will be >> applied. >> >> This is basically the same process that has been used since around >> 6.0-RELEASE. >> >> Cheers, >> >> Matthew >> >> > > Thank you for the details. Let me reword this to be sure I understand > what you said. > > All BETA, RC, and RELEASE builds have ISO-IMAGES created, and the > result in the "uname -r" command will contain BETA, RC, or RELEASE as > part of the OS name. > > Snapshots for alpha, PRERELEASE, STABLE and CURRENT builds do not have > ISO-IMAGES created and the result of the "uname -r" command will > contain PRERELEASE, STABLE or CURRENT as part of the OS name. > > Compiling of STABLE or CURRENT from source will result in the "uname > -r" command containing STABLE or CURRENT in the OS name. In my previous experiences of downloading ISO images of STABLE, CURRENT, the output of uname -a always contained the version name - i.e. STABLE or CURRENT. I do not recall downloading pre-release ISO's. From owner-freebsd-questions@freebsd.org Fri Jun 16 07:23:43 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DCA3CBF8970 for ; Fri, 16 Jun 2017 07:23:43 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3C6A47400A for ; Fri, 16 Jun 2017 07:23:41 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from testbox.news4all.se (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id v5G7B2oG003834; Fri, 16 Jun 2017 09:11:02 +0200 (CEST) (envelope-from bah@bananmonarki.se) Subject: Re: Sound Volume In Xfce To: B J , freebsd-questions References: From: Bernt Hansson Message-ID: <7fa58859-4e06-5f06-e146-cf970e5584ac@bananmonarki.se> Date: Fri, 16 Jun 2017 09:11:02 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 07:23:44 -0000 On 2017-06-14 04:23, B J wrote: > I recently installed FreeBSD 11 and Xfce on an old HP Pavilion DV6000 laptop. > > I've noticed that the sound from the built-in speakers isn't very loud > compared with what I might get if I was running a Linux distro on it. > Is there some way of adjusting that as I can't find any control panel > for changing the volume. > > Any suggestions or ideas? Thank you. > > B. M. Jatzeck > man mixer. From owner-freebsd-questions@freebsd.org Fri Jun 16 13:16:56 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 089C3C0871F for ; Fri, 16 Jun 2017 13:16:56 +0000 (UTC) (envelope-from friedrich.locke@gmail.com) Received: from mail-qt0-x22f.google.com (mail-qt0-x22f.google.com [IPv6:2607:f8b0:400d:c0d::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AD90F7E94D for ; Fri, 16 Jun 2017 13:16:55 +0000 (UTC) (envelope-from friedrich.locke@gmail.com) Received: by mail-qt0-x22f.google.com with SMTP id u19so62663647qta.3 for ; Fri, 16 Jun 2017 06:16:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=1Ig3Tw2R9b9C4XoG+o7SjrugA0v9oa3wO08gREvRZdU=; b=KEW+5qrGx5Fjjh1FD8ObSlVyMp99VF3PtOIVfj4k+MnKTTXk8okRSgsh0Pyku2VcVk nvjeo6HQi6IeWStxdB5g7pqj5qs0EH2tbOYHPAbTYiQIiZLPolOBS30Nwf7X4aOjyFnE EhpazUyujyFnMAPBREc0wb/eiteAGuFParNB9hUwt9eVtkPYg1fZyyiiL9rJu63Of/I8 y7w+cMonlYbmmignHLoj3x5rps7KXls0f5NGxgQjJNCkZBTuCPqtMNN3rAidS8T83qlW wzSbgV5W187W7yeo0QgRdvjvY+zlq4IH5QJCY15mrgCORv6pqgSiTIodQQh7EELMvzig YVxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=1Ig3Tw2R9b9C4XoG+o7SjrugA0v9oa3wO08gREvRZdU=; b=nfa0y1iQARrzC42J9m+SX8VmCkj5kYzoWdIT5N5C4aaB3bs0arfjXjs7eATlHO9SMb 1NPu7tDk+228/ugHW+pHk5u9kV0Jjyb0OoB40/J/k/5r+ZzBQUawgIZ3bBIhKCanAOv0 +Uc1IUMgcfpSFxZDAXfDGix3/WWBi/GojwCDSP4HbBHB3kv5+2DQIJHiSmpHle9k6YGF a3aMoIjXEae/ITtblDO3hBdklQ60rRj5SfyENjQGl+WDCrU3nr9mjrGCqLIiwLE253IS 3/c5aXndHiSOMjmBRSpLQDCJbDe4JFMMoMYuojHbVCpHpQakW0W8Zln38acJyJMr3twy Zv0w== X-Gm-Message-State: AKS2vOzwhnyAGUDKz/AD9/c8n6HLwP5d4KcZ5FF0nHXC61pDLFrX5P7k KFgl0pE56VG73ce3 X-Received: by 10.237.55.164 with SMTP id j33mr12105042qtb.86.1497619014719; Fri, 16 Jun 2017 06:16:54 -0700 (PDT) Received: from [192.168.0.103] (177-177-88-34.user.veloxzone.com.br. [177.177.88.34]) by smtp.gmail.com with ESMTPSA id c143sm1448837qkg.64.2017.06.16.06.16.52 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 16 Jun 2017 06:16:54 -0700 (PDT) Message-ID: <5943DA42.9010706@gmail.com> Date: Fri, 16 Jun 2017 10:16:50 -0300 From: Friedrich Locke User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org, openldap-software@openldap.org Subject: hard times getting ldap to work with sasl 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 13:16:56 -0000 Hi folks, after trying to get openldap + sasl working for 3 day i have loose my hairs. My dns is working ok, openldap config too. But i am not able to get opendalp to auth via sasl kerberos or GSSAPI. When i try to auth via sasl or providing plain text password nothing is even show in saslauthd log files. It seems openldap does not even contact saslauthd. Here is some examples : sioux@etosha$ ldapsearch -Y GSSAPI -b "" -s base -LLL supportedSASLMechanisms SASL/GSSAPI authentication started ldap_sasl_interactive_bind_s: Other (e.g., implementation specific) error (80) additional info: SASL(-1): generic failure: GSSAPI Error: No credentials were supplied, or the credentials were unavailable or inaccessible. (unknown mech-code 0 for mech unknown) sioux@etosha$ uname -a FreeBSD etosha 11.0-RELEASE-p8 FreeBSD 11.0-RELEASE-p8 #0: Wed Feb 22 06:12:04 UTC 2017 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 sioux@etosha$ klist Credentials cache: FILE:/tmp/krb5cc_Ofd7Gy Principal: sioux@MY.DOMAIN Issued Expires Principal Jun 16 12:16:28 2017 Jun 16 16:16:28 2017 krbtgt/MY.DOMAIN@MY.DOMAIN Jun 16 12:16:54 2017 Jun 16 16:16:28 2017 host/etosha.my.domain@MY.DOMAIN Jun 16 12:40:03 2017 Jun 16 16:16:28 2017 ldap/etosha.my.domain@MY.DOMAIN sioux@etosha$ The credentials are fetched from kerberos, by ldapsearch is prevented from log into slapd. And when i provide a user, saslauthd is not even contacted. Please, someone help me ...... From owner-freebsd-questions@freebsd.org Sat Jun 17 18:34:18 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7B292BFF3A1 for ; Sat, 17 Jun 2017 18:34:18 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-io0-x22a.google.com (mail-io0-x22a.google.com [IPv6:2607:f8b0:4001:c06::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4299974737 for ; Sat, 17 Jun 2017 18:34:18 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-io0-x22a.google.com with SMTP id y77so45633252ioe.3 for ; Sat, 17 Jun 2017 11:34:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=JuubnfnOx8PUsq5T80yMdFaN1Sv3AYIN99ST0ozQOcM=; b=slw10YD/RrQgU5szVOhbqoEJcyO1fmi95lroFJ1CA2+sUVPq2jXWZeMjwsys1Zlrlz /djynlGxaHoBlDskzkDLVjK9TPYm3JZTE2vW1UaaEQC0NQet+vNZQAmUO85rJB9aViDV vT3dK+lgrNG4DSydo3tmjDKqc7EkZA4WTDwIlHT2wR7jZZ2KZJ65agu+vf/8LrGsdRON 0/WqVX6UBw+7SNN/JFs2IpvyhrqMYDl9Ap3LrLAEtc90SN5vUD0g9ix4QLK5bDo6gK0N KpQB4mfdPEKJJUHgU+gn3IDRPZlm93o703zHqWSFCzNX6rm7uJ5lC92ZspW7iffTUqYG 3UAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=JuubnfnOx8PUsq5T80yMdFaN1Sv3AYIN99ST0ozQOcM=; b=fsDLqHirIgY0eE6Dgkf5Gb2/7g9qHPiAwBbedqV7yDwCsu0p6LSWtdeBgeaUVnSHe8 /fGyi7gvXmJGFKg6O9vxr+GglZMdcZ9nx+Xr51D7VJ3lsm3XfesTablao+kGJB/aYHN3 UcyauanlR8PbBg5YVXOuzmVsI8Yu2UoNybWkx1Aw11s7F7987Qyk2d5WzdIgOyzipoBo iI5H5iiJkLq/vCteCeHmCud7xvg29GrT/OfIN4UNfhcfpyNbFbQ3MBA/57WFl1/XoMfU swHouK5XXjTZn0FozkjZ84sOdl0rrqkmkcFxcXQUvOubeux6EHfY2M3xcMrFh9E+SMMU 82Kg== X-Gm-Message-State: AKS2vOy8tOe7QAwS7+RRarC/PWSFDlXbVKsFDB7WqUQVf1N66dUngVOK IlomKcICVKXn2zf/ X-Received: by 10.107.139.5 with SMTP id n5mr17901451iod.166.1497724457529; Sat, 17 Jun 2017 11:34:17 -0700 (PDT) Received: from localhost.localdomain (50-243-4-3-static.hfc.comcastbusiness.net. [50.243.4.3]) by smtp.googlemail.com with ESMTPSA id l130sm3244913iol.49.2017.06.17.11.34.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 17 Jun 2017 11:34:16 -0700 (PDT) To: FreeBSD Users From: JD Subject: FreeBSD installation DVD with multiple Graphical desktops to choose from Message-ID: <59457627.6090308@gmail.com> Date: Sat, 17 Jun 2017 12:34:15 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jun 2017 18:34:18 -0000 Have not had the time to look yet .... Does 11.1's installer let the user to select a graphical DT from the DVD's available packages? From owner-freebsd-questions@freebsd.org Sat Jun 17 22:37:30 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12800C0AD7D for ; Sat, 17 Jun 2017 22:37:30 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay10.qsc.de (mailrelay10.qsc.de [212.99.163.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6EB7C7A173 for ; Sat, 17 Jun 2017 22:37:29 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay10.qsc.de; Sun, 18 Jun 2017 00:36:28 +0200 Received: from r56.edvax.de (port-92-195-58-9.dynamic.qsc.de [92.195.58.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id E7E4F3CC3F; Sun, 18 Jun 2017 00:36: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 v5HMaRds003429; Sun, 18 Jun 2017 00:36:27 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 18 Jun 2017 00:36:27 +0200 From: Polytropon To: JD Cc: FreeBSD Users Subject: Re: FreeBSD installation DVD with multiple Graphical desktops to choose from Message-Id: <20170618003627.00d63585.freebsd@edvax.de> In-Reply-To: <59457627.6090308@gmail.com> References: <59457627.6090308@gmail.com> Reply-To: Polytropon 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 X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay10.qsc.de with 41294683457 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1225 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jun 2017 22:37:30 -0000 On Sat, 17 Jun 2017 12:34:15 -0600, JD wrote: > Have not had the time to look yet .... > Does 11.1's installer let the user to select a graphical DT > from the DVD's available packages? Due to the enormous amount of choices the installer does not provide a means to select a desktop. However, you can choose to install from the packages provided on the "bigger" install media (the -dvd1.iso) and enable it yourself. The installer does not perform this specific task (as it aims to be able to install FreeBSD as a multi-purpose OS, in comparison to a desktop-only oriented OS). That's why bsdinstall's primary job is to install the OS. Also note that the software that comes on the install media is limited (due to media size) and simply cannot cope with the initially mentioned amount of possibilities. Ye olde sysintall included an option to install packages, but that option is no longer present in bsdinstall. Check https://www.freebsd.org/doc/handbook/using-bsdinstall.html and the following pages for confirmation. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...