From owner-freebsd-questions@freebsd.org Sun Nov 29 01:58:51 2015 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 73B4BA34BEE for ; Sun, 29 Nov 2015 01:58:51 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (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 2BA0B1DDD for ; Sun, 29 Nov 2015 01:58:50 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id tAT1u57m015101 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 28 Nov 2015 19:56:05 -0600 To: FreeBSD Questions !!!! From: "William A. Mahaffey III" Subject: mallinfo in FreeBSD .... Message-ID: <565A5B34.8040300@hiwaay.net> Date: Sat, 28 Nov 2015 20:01:34 -0553.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.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.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Nov 2015 01:58:51 -0000 There is a capability in linux (& in SGI IRIX (snif ....) previously) using a struct called mallinfo to report information on how much & what type of memory a program had/has allocated. Is there an equivalent capability under FreeBSD 9.3R ? TIA & have a good one :-) .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Sun Nov 29 03:40:58 2015 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 20ED3A3A4AF for ; Sun, 29 Nov 2015 03:40:58 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (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 C6ABB15CD for ; Sun, 29 Nov 2015 03:40:57 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id tAT3esZh024508 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 28 Nov 2015 21:40:55 -0600 To: FreeBSD Questions !!!! From: "William A. Mahaffey III" Subject: gcc macros Message-ID: <565A73C6.4090306@hiwaay.net> Date: Sat, 28 Nov 2015 21:46:24 -0553.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.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.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Nov 2015 03:40:58 -0000 I use the Intel compiler suite (icc & ifort) to maintain some inhouse code under Linux. The man pages for icc clearly list all macros defined &/or used by icc in one neat section. I have yet to locate such a listing for macros under gcc's under FreeBSD 9.3R (gcc48, gcc49 & gcc5). Is there such a listing documented somewhere, & if so where ? TIA & have a good one .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Sun Nov 29 10:20:05 2015 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 9B840A3BC69 for ; Sun, 29 Nov 2015 10:20:05 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 28095142A for ; Sun, 29 Nov 2015 10:20:05 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id tATAJv1c096553 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 29 Nov 2015 10:19:58 GMT (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk tATAJv1c096553 Authentication-Results: smtp.infracaninophile.co.uk/tATAJv1c096553; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6] claimed to be liminal.local Subject: Re: gcc macros To: freebsd-questions@freebsd.org References: <565A73C6.4090306@hiwaay.net> From: Matthew Seaman Message-ID: <565AD143.8040301@FreeBSD.org> Date: Sun, 29 Nov 2015 10:19:47 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <565A73C6.4090306@hiwaay.net> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="d5wB6Ev2pgleNlHjU4dt2J7NGhpgppts3" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 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 lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Nov 2015 10:20:05 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --d5wB6Ev2pgleNlHjU4dt2J7NGhpgppts3 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 29/11/2015 03:39, William A. Mahaffey III wrote: > I use the Intel compiler suite (icc & ifort) to maintain some inhouse > code under Linux. The man pages for icc clearly list all macros defined= > &/or used by icc in one neat section. I have yet to locate such a > listing for macros under gcc's under FreeBSD 9.3R (gcc48, gcc49 & gcc5)= =2E > Is there such a listing documented somewhere, & if so where ? TIA & hav= e > a good one .... Try: cc -dM -E - < /dev/null which will print all of the pre-processor definitions used by the compiler. You can add other flags like eg. --std=3Dc89 if you like. Cheers, Matthew --d5wB6Ev2pgleNlHjU4dt2J7NGhpgppts3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2 iQJ8BAEBCgBmBQJWWtFJXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATh9YP/3M3szIYGCfTIs0pztBu3Oua /W0GQ1lw2/XbhtJ3oHu0oey8QII+D8aJD6KElnVVcXNaueHQMRxPbPzf3+GD0oc9 tmZje68ov+EHmnfezw2ag1gWq7yMM6R6onPyyYGObfexnYe40htG6uKI/YxMedQC XEabILe8gbAKz3PzngunRrmYubz1RD948aTHB+G2OpDMi7IHWrnWVtkfPRUpPxwC ic1wZRGuuyc/to+C9skZDNHnm/qnpGbV8pPHdP9nK/tC+umXgJ7i7R0qD3RcsaVY gZh5yEudle+bYFc6piOxeg3qGVcqiOnIZ7/2sGA2Mt+7UWQ4+8w41gE2MmKQ7+ia x5HtSRHKpSFKmr2vOhLU+bytjJjKa7aCkF11b+RtMG9MxctN42YKrx0DgOHQWiLA YucjLQ2eSYDu5E5ksZmogJxcSgYmzDaVxl0yDd6CM2aQ2LSZXsh14HbdGGt+Zezy R5VU5wluKA30vJB3GHIVZwUzdoBF2i8hbco40srgeM3NJlFaAWfMr4dSni+dUfMC Q4V78TkFV0Em1/OFSLTnqdW20EyKAEvWc6VNIVfsefscsyWkH2wDnrt8eLGakaWc P496QjtxfH+41lDH0s5nxrtfcILZb2tkGciKvXNJBToW5KmGqaQoT1b9Pp8ygP73 Af3jpPmBz9he71uLGd7D =/PgZ -----END PGP SIGNATURE----- --d5wB6Ev2pgleNlHjU4dt2J7NGhpgppts3-- From owner-freebsd-questions@freebsd.org Sun Nov 29 14:57:15 2015 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 9A27FA3BE07 for ; Sun, 29 Nov 2015 14:57:15 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (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 471831722 for ; Sun, 29 Nov 2015 14:57:14 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id tATEvCfr028502 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 29 Nov 2015 08:57:13 -0600 Subject: Re: gcc macros To: freebsd-questions@freebsd.org References: <565A73C6.4090306@hiwaay.net> <565AD143.8040301@FreeBSD.org> From: "William A. Mahaffey III" Message-ID: <565B1248.80509@hiwaay.net> Date: Sun, 29 Nov 2015 09:02:42 -0553.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <565AD143.8040301@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Nov 2015 14:57:15 -0000 On 11/29/15 04:26, Matthew Seaman wrote: > On 29/11/2015 03:39, William A. Mahaffey III wrote: >> I use the Intel compiler suite (icc & ifort) to maintain some inhouse >> code under Linux. The man pages for icc clearly list all macros defined >> &/or used by icc in one neat section. I have yet to locate such a >> listing for macros under gcc's under FreeBSD 9.3R (gcc48, gcc49 & gcc5). >> Is there such a listing documented somewhere, & if so where ? TIA & have >> a good one .... > Try: > > cc -dM -E - < /dev/null > > which will print all of the pre-processor definitions used by the > compiler. You can add other flags like eg. --std=c89 if you like. > > Cheers, > > Matthew *Booooyah*, worked like a champ, *thanks* :-) !!!! -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Sun Nov 29 15:16:47 2015 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 E70B7A3C1DB for ; Sun, 29 Nov 2015 15:16:47 +0000 (UTC) (envelope-from artem@artem.ru) Received: from fallback6.mail.ru (fallback6.mail.ru [94.100.181.147]) by mx1.freebsd.org (Postfix) with ESMTP id 912CE1E3F for ; Sun, 29 Nov 2015 15:16:47 +0000 (UTC) (envelope-from artem@artem.ru) Received: from smtp51.i.mail.ru (smtp51.i.mail.ru [94.100.177.111]) by fallback6.mail.ru (mPOP.Fallback_MX) with ESMTP id BA49B18DA989 for ; Sun, 29 Nov 2015 18:15:18 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date:Message-ID:Subject:From:To; bh=b/iZ6mZFdsemgOnlGBo+bIuLFlVHSMU+ZZl1ED3R4w4=; b=koFBH16DAMQiGHNvIb8IDkvDkCpcuAr2C/5lN5++BUi8Hb1PKyBqGrIEAx6SSOnWD/T/g7PYw/CRwFnOWGC4dJomnYlCVDZDVzxh05iQdzYBAJ69sj6zzTOh7vR4Tf11AMBh/XhrkVQZU1K95OcA32hqEptU7iZVyXQWL5xRqVk=; Received: from [109.188.127.40] (port=38833 helo=[192.168.0.12]) by smtp51.i.mail.ru with esmtpa (envelope-from ) id 1a33gz-0001vc-8h for freebsd-questions@freebsd.org; Sun, 29 Nov 2015 18:15:09 +0300 To: freebsd-questions@freebsd.org From: Artem Kuchin Subject: Determine which user started tcp connection Message-ID: <565B1695.6050604@artem.ru> Date: Sun, 29 Nov 2015 18:15:33 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Mras: Ok X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Nov 2015 15:16:48 -0000 Hello! I have a jail with shared hosting. Many sites are hosted. Each on its own user. I want to monitor their external connections. I allow external connections but want to see what's going on. IPFW allowes easily to see all outgoing connection setups from jail, but i cannot see which user started it. I googled and i see that requests to add UID to IPFW log were first in 2008 but i still do not see it in the version 10. So, is there a way to log UID and connection params (dst ip and port) ? Artem From owner-freebsd-questions@freebsd.org Sun Nov 29 16:48:55 2015 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 F40AEA3BE70 for ; Sun, 29 Nov 2015 16:48:54 +0000 (UTC) (envelope-from oliver@schonrocks.com) Received: from smtp.schonrocks.com (smtp.schonrocks.com [89.187.108.85]) by mx1.freebsd.org (Postfix) with ESMTP id 9C25C1A46 for ; Sun, 29 Nov 2015 16:48:54 +0000 (UTC) (envelope-from oliver@schonrocks.com) Received: from [192.168.40.60] (home.zaheer.org.uk [81.187.127.171]) by smtp.schonrocks.com (Postfix) with ESMTPA id B237DD7FC00 for ; Sun, 29 Nov 2015 16:42:00 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schonrocks.com; s=default; t=1448815320; bh=obZnP5TBX7OngSmBBEFvpvTd1Qn+CVJ7VxPcq3sixVI=; h=To:From:Subject:Message-ID:Date:MIME-Version:Content-Type; b=CjUyPls2mJOhDWCb4lSpLVQMZ17iwQwu9ubjKXxSjSwnM4kxU9xjdqL61HgcLIimZ MMZc4YSUk74wkb9ejipdEJYwpgCwAKzxFnodbOlZIjNEwgYvv8ciNg6iOG/Mv0/3yy Zjpkelbz4dyuSG/nGA875/+0Ptp2My+dj1DD/Cqs= To: freebsd-questions@freebsd.org From: Oliver Schonrock Subject: openssl: verify error:num=20:unable to get local issuer certificate X-Enigmail-Draft-Status: N1110 Message-ID: <565B2ACD.4030509@schonrocks.com> Date: Sun, 29 Nov 2015 16:41:49 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gvOeqlobuTT9LuMP6KUgiKiNPKeoJiFAh" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Nov 2015 16:48:55 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --gvOeqlobuTT9LuMP6KUgiKiNPKeoJiFAh Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I know this is a popular error, however, please bear with me, I am reasonably confident I have covered the obvious (famous last words!). This is how I produce this certificate chain validation error (the site is important): $ openssl s_client -connect api.textmarketer.co.uk:443 2>&1 | less depth=3D2 C =3D US, O =3D "thawte, Inc.", OU =3D Certification Services Division, OU =3D "(c) 2006 thawte, Inc. - For authorized use only", CN =3D= thawte Primary Root CA verify error:num=3D20:unable to get local issuer certificate This is on a fully updated FreeBSD 10.1 machine with OpenSSL 1.0.1l-freebsd 15 Jan 2015 using (i believe, see below) the crt bundle /usr/local/share/certs/ca-root-nss.crt from $ pkg info | grep nss ca_root_nss-3.20.1 So openssl does not recognise that Thawte root cert as locally trusted, but above file definitely contains that cert. I know this because: a) I have manually forced openssl to use that file (hopefully getting around all the path issues that most similar reported problems seem to boil down to). Like this $ openssl s_client -CAfile /usr/local/share/certs/ca-root-nss.crt -connect api.textmarketer.co.uk:443 same result b) I also compared the cert file with a one of my FreeBSD 10.2 machines (which is working fine), and it's the same apart from the version number in the first line. I also scp'd the crt bundle over to the working 10.2 machine and forced openssl to use it with -CAfile..that works fine So the bundle file is fine, openssl is using that file (-CAfile reports errors if I make an intentional mistake with filename). leaves just 2 things that I can think of: 1. something wrong with that site's cert or the cert chain it presents =2E.I thought this was it, because other sites work. eg: openssl s_client -CAfile /usr/local/share/certs/ca-root-nss.crt -connect google.com:443 2>&1 depth=3D3 C =3D US, O =3D Equifax, OU =3D Equifax Secure Certificate Auth= ority verify return:1 but remember: this site's cert path validates as trusted from the 10.2 machine with the same cert file. Also https://www.ssllabs.com/ssltest/ report no chain issue etc... 2. there is something wrong with the openssl installation on that 10.1 machine. I did upgrade this machine from 10.0 to 10.1 using freebsd-update on October 16th 2015 (too late I know, could that be the issue?). I also installed the recent updates for ntpd vulnerabilities etc. I did reboot after those. Suspiciously, that problematic 10.1 machine was validating that exact cert path fine before the upgrade from 10.0. I know this because userland applications, like curl, are being used regularly to connect to that very site and I have logs to prove that it was working ...and now doesn't. I have put a workaround in place to get curl to connect untrusted, but that's not good, clearly. It also worries me what else is not working, or not secure? So I am fast running out of ideas of how to narrow this down further. Help please?! Oh, that machine is in production, reboots etc are commercially possible, but to be avoided as much as I can. Many thanks in advance. Oliver --gvOeqlobuTT9LuMP6KUgiKiNPKeoJiFAh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJWWyrNAAoJEF6SumULDx4PSuwIAMVwMEhHXmnD1jkPjWQVjaS8 jVQ2XzAuLQcoG55ZAVtHOt0iXlUgRCyO65x+ry86UjYMkdsYFzn0xmcBznVQIbZu mdEncaSVnO87C++QbCAe2BZSlBaneXPUoyfkOvNEH6GOVbe/3TUZqT+xcoMb/Fdu WMyXoaemPn/VhlPzXgjcDgqAUXyWoGi92t/qRgLMfN+FuYHRl/EMwWswyirpwLyh Ov2g3tNSzr8i7iKGDvCuB9g9BOD1UiJzUhoph515SkKdowlc6+H9MicYeL6SNuMw yKDDRNTUdwPt4Of+w0cIz1b4vKDaaAt+97oZ2fER5RajuDxpaQkaPUI8q81vQy8= =bV/m -----END PGP SIGNATURE----- --gvOeqlobuTT9LuMP6KUgiKiNPKeoJiFAh-- From owner-freebsd-questions@freebsd.org Sun Nov 29 17:23:36 2015 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 3BE47A3C846 for ; Sun, 29 Nov 2015 17:23:36 +0000 (UTC) (envelope-from oliver@schonrocks.com) Received: from smtp.schonrocks.com (smtp.schonrocks.com [89.187.108.85]) by mx1.freebsd.org (Postfix) with ESMTP id DA21610A8 for ; Sun, 29 Nov 2015 17:23:35 +0000 (UTC) (envelope-from oliver@schonrocks.com) Received: from [192.168.40.60] (home.zaheer.org.uk [81.187.127.171]) by smtp.schonrocks.com (Postfix) with ESMTPA id AC29ED7FC00 for ; Sun, 29 Nov 2015 17:23:44 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schonrocks.com; s=default; t=1448817824; bh=dg4Y/7sArjwZEzk7yEaL5qllHMpGIwJE3VjDqnNQzsk=; h=Subject:To:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=jtbXup4gxtOUNP3DxjUk6EgyXVlzLHkph31ZJFLzHVeVdnz8eId2gYl0zEMIC0E4J 59srVpGu2lQbLHUF1Hy4i5O9YF9mehaAcwwPZ/gXSqtYZmFHY0NCYEaZrmFjfBPo/C SJuXdBwNFGTDAi8jV6d2IRFJc+FnJNTbJaAj3yus= Subject: Re: openssl: verify error:num=20:unable to get local issuer certificate To: freebsd-questions@freebsd.org References: <565B2ACD.4030509@schonrocks.com> From: Oliver Schonrock X-Enigmail-Draft-Status: N1200 Message-ID: <565B3495.40005@schonrocks.com> Date: Sun, 29 Nov 2015 17:23:33 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <565B2ACD.4030509@schonrocks.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Nov 2015 17:23:36 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 just a little more info On 29/11/15 16:41, Oliver Schonrock wrote: > 2. there is something wrong with the openssl installation on that > 10.1 machine. I install openssl from ports to test: pkg install openssl /usr/local/bin/openssl s_client -connect api.textmarketer.co.uk:443 2>&1 | less depth=2 C = US, O = "thawte, Inc.", OU = Certification Services Division, OU = "(c) 2006 thawte, Inc. - For authorized use only", CN = thawte Primary Root CA verify return:1 works!...so does that mean my openssl in the base system is messed up? (I also compared my /etc/ssl/openssl.cnf with the working 10.2 machine, and that's identical as well). Is it this upgrade below??? Is there any way to validate openssl, or reinstall it in base? > I did upgrade this machine from 10.0 to 10.1 using freebsd-update > on October 16th 2015 (too late I know, could that be the issue?). I > also installed the recent updates for ntpd vulnerabilities etc. I > did reboot after those. > > Suspiciously, that problematic 10.1 machine was validating that > exact cert path fine before the upgrade from 10.0. I know this > because userland applications, like curl, are being used regularly > to connect to that very site and I have logs to prove that it was > working ...and now doesn't. I have put a workaround in place to get > curl to connect untrusted, but that's not good, clearly. It also > worries me what else is not working, or not secure? - -- Oliver Schönrock Mobile : +44 7880 617 446 email : oliver@schonrocks.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJWWzSVAAoJEF6SumULDx4PV+QH/RSbuej4QgLblRLJzOiOHT+6 Nn+zysDiyOlFXv6ZwTYrFN8gK77pAQLfkpd03kw+i2CyRoj9UUnDMPRAi18QM1PS 9jGpKxxLDNP2hMjqtnmDSUJ3S1suezUKfqwKeGVKp1eKuQ/pr4IH9XYLn9o0mnAL XbPojBCDdw89srbOWtf2OrvsqMvUs4V78QAcn8AuANQMrKlHCw+Nwims8mp6xGc4 qmW04c7M1CO7J27qm3WuWt6ggEPQLSq1G0Y16P4ChP6ScixwYVzZpAlgv/hkDjjk 75xQ7R1At+2vr0tM/3hybllnl9QMjD9gk1Gd607XvcXu3MxsUKcYBnXf+Wy0h4I= =CVgE -----END PGP SIGNATURE----- From owner-freebsd-questions@freebsd.org Sun Nov 29 19:53:14 2015 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 AF60EA3ACC7 for ; Sun, 29 Nov 2015 19:53:14 +0000 (UTC) (envelope-from darwinsurvivor@gmail.com) Received: from mail-pa0-x231.google.com (mail-pa0-x231.google.com [IPv6:2607:f8b0:400e:c03::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 7CB8D14E4 for ; Sun, 29 Nov 2015 19:53:14 +0000 (UTC) (envelope-from darwinsurvivor@gmail.com) Received: by pacej9 with SMTP id ej9so161480446pac.2 for ; Sun, 29 Nov 2015 11:53:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XWvb3mszl0dIMa+5BzCd75Q9AtGHbgHaACSEhk5qD84=; b=pppxo1MRYqDKUDX0JcwB6MmIyVLLHOsl2l251vYS/jlyEsK/CqSZdhjGppzaKbpPqK JvwdVOYZbwwtZFO3iho8NiV5rGLXYFFy5xLxV6GELxlIr2eJRxfYDiuDA716o2KysVZW N0S+FrRe7+dbQ+KkOmG2TTVWhpV0VAsFvPmkySi9Cbob0acb2ACg7f1WbsPmT7WrNEsc 0M11KFcVmDVPUKvPksJyZtDBBaSbu8h+YFyd3S15GSwL7sDpS1rQ9UHY5H1PHFN+jXjq VsLbFfiBmyjLMBkBfcrn/nK8+VonZVo1m/daJwozGgezygoGecMVv43GuHWAkp1AO3/U cwuQ== MIME-Version: 1.0 X-Received: by 10.66.235.100 with SMTP id ul4mr48178276pac.142.1448826794092; Sun, 29 Nov 2015 11:53:14 -0800 (PST) Received: by 10.66.15.162 with HTTP; Sun, 29 Nov 2015 11:53:14 -0800 (PST) In-Reply-To: <565B1695.6050604@artem.ru> References: <565B1695.6050604@artem.ru> Date: Sun, 29 Nov 2015 11:53:14 -0800 Message-ID: Subject: Re: Determine which user started tcp connection From: "darwinsurvivor@gmail.com" To: Artem Kuchin Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Nov 2015 19:53:14 -0000 I don't know about ipfw, but it can probably be done by monitoring netstat and looking at the UID of the process that made the connection. On Sun, Nov 29, 2015 at 7:15 AM, Artem Kuchin wrote: > Hello! > > I have a jail with shared hosting. Many sites are hosted. Each on its own > user. > I want to monitor their external connections. I allow external connections > but want to > see what's going on. > IPFW allowes easily to see all outgoing connection setups from jail, but i > cannot > see which user started it. > I googled and i see that requests to add UID to IPFW log were first in > 2008 but > i still do not see it in the version 10. > > So, is there a way to log UID and connection params (dst ip and port) ? > > Artem > > > _______________________________________________ > 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 Nov 29 19:56:26 2015 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 41DFBA3AD7E for ; Sun, 29 Nov 2015 19:56:26 +0000 (UTC) (envelope-from artem@artem.ru) Received: from fallback5.mail.ru (fallback5.mail.ru [94.100.181.253]) by mx1.freebsd.org (Postfix) with ESMTP id DD02E15E9 for ; Sun, 29 Nov 2015 19:56:25 +0000 (UTC) (envelope-from artem@artem.ru) Received: from smtp26.mail.ru (smtp26.mail.ru [94.100.181.181]) by fallback5.mail.ru (mPOP.Fallback_MX) with ESMTP id D831E9ADE0A5 for ; Sun, 29 Nov 2015 22:56:17 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject; bh=RgpXnIcaIjP+mz77/zMNXu5OLSqDHmB3lqFqyaInfM8=; b=uJKTVK9uSOEZqo3UHI+aPYF6ns5wpQSabUfDbfXHWqMDo8okjDSO2DZ/QNZWXQqHwt7VHUcrHKQA8xxSiU9NjE5HyaabYJOIz9CzAOjTb9O50cTTx7LoOAJtKmRRwR5I1WcHy4gZc9SOJ7EaPpUbkZ2FQa7fgv+dgWSO5nyWjC0=; Received: from 79-172-114-207.dyn.broadband.iskratelecom.ru ([79.172.114.207]:61957 helo=[192.168.0.160]) by smtp26.mail.ru with esmtpa (envelope-from ) id 1a384u-0007KG-Q8 for freebsd-questions@freebsd.org; Sun, 29 Nov 2015 22:56:09 +0300 Subject: Re: Determine which user started tcp connection To: freebsd-questions@freebsd.org References: <565B1695.6050604@artem.ru> From: Artem Kuchin Message-ID: <565B585A.9080109@artem.ru> Date: Sun, 29 Nov 2015 22:56:10 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Mras: Ok X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Nov 2015 19:56:26 -0000 29.11.2015 22:53, darwinsurvivor@gmail.com пишет: > I don't know about ipfw, but it can probably be done by monitoring netstat > and looking at the UID of the process that made the connection. Will not work. The connection lasts only a fraction of a second. I cannot catch it manually. > > On Sun, Nov 29, 2015 at 7:15 AM, Artem Kuchin wrote: > >> Hello! >> >> I have a jail with shared hosting. Many sites are hosted. Each on its own >> user. >> I want to monitor their external connections. I allow external connections >> but want to >> see what's going on. >> IPFW allowes easily to see all outgoing connection setups from jail, but i >> cannot >> see which user started it. >> I googled and i see that requests to add UID to IPFW log were first in >> 2008 but >> i still do not see it in the version 10. >> >> So, is there a way to log UID and connection params (dst ip and port) ? >> >> Artem >> >> >> _______________________________________________ >> 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" >> > _______________________________________________ > 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 Nov 29 20:03:11 2015 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 31D7FA3AF5D for ; Sun, 29 Nov 2015 20:03:11 +0000 (UTC) (envelope-from terje@elde.net) Received: from rand.keepquiet.net (keepquiet.net [144.76.43.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "keepquiet.net", Issuer "PositiveSSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ED8491A9E for ; Sun, 29 Nov 2015 20:03:10 +0000 (UTC) (envelope-from terje@elde.net) Received: from [10.130.11.100] (cm-84.210.87.28.getinternet.no [84.210.87.28]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: terje@elde.net) by rand.keepquiet.net (Postfix) with ESMTPSA id CA9351DA; Sun, 29 Nov 2015 20:03:01 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: Determine which user started tcp connection From: Terje Elde In-Reply-To: <565B1695.6050604@artem.ru> Date: Sun, 29 Nov 2015 21:03:00 +0100 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <4FF464A5-B344-40D1-89BA-6AFB3DF81A5A@elde.net> References: <565B1695.6050604@artem.ru> To: Artem Kuchin X-Mailer: Apple Mail (2.3096.5) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Nov 2015 20:03:11 -0000 > On 29 Nov 2015, at 16:15, Artem Kuchin wrote: >=20 > I have a jail with shared hosting. Many sites are hosted. Each on its = own user. > I want to monitor their external connections. I allow external = connections but want to > see what's going on. > IPFW allowes easily to see all outgoing connection setups from jail, = but i cannot > see which user started it. > I googled and i see that requests to add UID to IPFW log were first in = 2008 but > i still do not see it in the version 10. >=20 > So, is there a way to log UID and connection params (dst ip and port) = ? pflog can give you that. It can give you pid as well, and combined with audit-logging, that could = give you the program that=E2=80=99s causing it, not just the user. Terje From owner-freebsd-questions@freebsd.org Sun Nov 29 21:37:26 2015 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 E8A47A3C7AF for ; Sun, 29 Nov 2015 21:37:26 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ABDC81DAD for ; Sun, 29 Nov 2015 21:37:26 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1a39ei-0007KE-7X for freebsd-questions@freebsd.org; Sun, 29 Nov 2015 22:37:12 +0100 Received: from 5e1bbf40.mobile.pool.telekom.hu ([94.27.191.64]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Nov 2015 22:37:12 +0100 Received: from leventelist by 5e1bbf40.mobile.pool.telekom.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Nov 2015 22:37:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Lev Subject: ppp broken link leftover Date: Sun, 29 Nov 2015 22:37:11 +0100 Lines: 11 Message-ID: <20151129223711.116a8d7f@jive.levalinux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: base64 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 5e1bbf40.mobile.pool.telekom.hu X-Newsreader: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd10.1) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Nov 2015 21:37:27 -0000 SSd2ZSBzZXQgdXAgcHBwIGFuZCBpdCB3b3JrcyBhcyBleHBlY3RlZC4NCg0KVGhlIGNvbm5lY3Rp b24gdG8gbXkgSVNQIGJyYWtlcyBmcm9tIHRpbWUgdG8gdGltZS4gSSBleHBlcmllbmNlIHRoYXQN CnRoZSBJUCBhZGRyZXNzIG9mIHR1bjAgYW5kIHRoZSByb3V0aW5nIHRhYmxlIGRvZXNuJ3QgZ2V0 IHVwZGF0ZWQuIEFsbA0KdGhlIG9sZCBhZGRyZXNzIGFuZCByb3V0aW5nIHJlY29yZCBzdGF5IHRo ZXJlLg0KDQpFdmVyeXRoaW5nIGlzIHdvcmtpbmcsIEkganVzdCBkb24ndCB0aGluayB0aGF0IGEg YnJva2VuIHJvdXRpbmcgcmVjb3JkDQppcyBhIGdvb2QgaWRlYSB0byBsZWF2ZSBpdCBpbiB0aGUg a2VybmVsJ3Mgcm91dGluZyB0YWJsZS4gTm90IHRvDQptZW50aW9uIHRoZSBhZGRyZXNzIG9mIHRo ZSBpbnRlcmZhY2UuDQoNCkkndmUgdHJpZWQgYWRkaW5nIHRoZSAnYWRkISBkZWZhdWx0IEhJU0FE RFInIHRvIG15IHBwcC5jb25mLCBidXQgaXQNCmRpZG4ndCBoZWxwLg0KDQpBbnkgaWRlYXM/DQoN Ci0tIA0KNzMgZGUgSEE1T0dMDQpPcC46IExldmVudGUNCg== From owner-freebsd-questions@freebsd.org Mon Nov 30 05:34:21 2015 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 09F9BA3CF2F for ; Mon, 30 Nov 2015 05:34:21 +0000 (UTC) (envelope-from shahinhasanov@hotmail.com) Received: from DUB004-OMC4S18.hotmail.com (dub004-omc4s18.hotmail.com [157.55.2.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7CC9E11E0 for ; Mon, 30 Nov 2015 05:34:19 +0000 (UTC) (envelope-from shahinhasanov@hotmail.com) Received: from DUB127-W20 ([157.55.2.73]) by DUB004-OMC4S18.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sun, 29 Nov 2015 21:33:10 -0800 X-TMN: [mUgG/AfW5h7+xGh7bYqlh7JJcxLVdKa2] X-Originating-Email: [shahinhasanov@hotmail.com] Message-ID: From: Shahin Hasanov To: "freebsd-questions@freebsd.org" Subject: Problem with shutdown -p now Date: Mon, 30 Nov 2015 09:33:10 +0400 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 30 Nov 2015 05:33:10.0716 (UTC) FILETIME=[99AD6FC0:01D12B30] Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Nov 2015 05:34:21 -0000 Hi=2C I installed HAST+UCARP+ZFS+NFS. Everything works. But during shutdown -r no= w =2C I got message init: :some processes would not die=3B ps axl advised =20 # uname -v FreeBSD 10.1-RELEASE-p24 #0 r291126: Sat Nov 21 18:26:32 AZT 2015 =20 I tried figure out problem=2C I think it related with ZFS because with UFS = no problem. =20 =20 = From owner-freebsd-questions@freebsd.org Mon Nov 30 22:09:36 2015 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 D8A17A3D0A9 for ; Mon, 30 Nov 2015 22:09:36 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 326881120 for ; Mon, 30 Nov 2015 22:09:35 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from becker.bs.l ([85.180.1.35]) by mrelayeu.kundenserver.de (mreue005) with ESMTPSA (Nemesis) id 0M4Vnk-1aDES93Dqe-00ydTS for ; Mon, 30 Nov 2015 23:09:33 +0100 Received: from bsch by becker.bs.l with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1a3WdZ-0004Wu-73 for freebsd-questions@freebsd.org; Mon, 30 Nov 2015 23:09:33 +0100 Date: Mon, 30 Nov 2015 23:09:33 +0100 From: Bertram Scharpf To: freebsd-questions@freebsd.org Subject: Doesn't switch back to text mode Message-ID: <20151130220933.GA17228@becker.bs.l> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: Bertram Scharpf X-Provags-ID: V03:K0:1ji5hT8fdz/krF/T9rmiIaFYBsLqNkVKgJNYODIke1yJN7GlV0C SUY/QOQt+UmQcwi9ySlmRBFfX5bP4oFadc3He0A0teE74ysda7gecZuZQgh0U87xakkYKDE 6H+br6J71bc5bU3zO9rSS0hPRPdvSXaNzr/V34NmITNg8HHd9g1rQMMfVtYu+ROY31gYo8H CskHgR8JkLa5uWeMj1Iog== X-UI-Out-Filterresults: notjunk:1;V01:K0:0W5wH/p0sLI=:0L4mOUgmJgb3c4icaoA2Kt dKlWOOialTb+NzrYxdnbLUoMK0c0hEvs/VM6kKh4rE1bTr5llTpcTxkSvjyr6QrHKX6u64iPi qzhxzj5qSuVZH/Qhi1UA/thGJ/mIN/0JVTx6T54E7UONnBVJqtIPjVU3Ap7L7pvOhdrmTPZhY xBocMcj5HYM33E87qotOZqQRFcxXI1D9mdPAv7FLUKeAlGm28kAi9pdtQ0lo+YI/8ZAc5MOzV 7SizpjA4xlgvlATPL/iPtgSz+d/ilSZeLy2tp/7GhTTLSR0L8unBdx1OZO0pX2Ua3CvY9iZfk dYrRow/beIeEt68IonVTIhzggxuO05YA09mJxriSxrD1U49XqtGBU99nysHuQS15u3t7vBU5U NJsQaks4pHsclhuvIytnK1xnzHJTNHbIKtBi5b4JY5P/MCCUuMMwirLZjidF5V73N1tc/JJk4 D8eoU3RVHDISTPwE4oT6rOxOJ5cp6RggcWgTuaL/I0A1dFZgddIjYsZqvnpo0mop9hLFsqMp+ w9dDftGZln2ux9sKa+LwBdbfcjSw9RU2OaJo+o4z1v/SGcMTDa6n3mL/BKAr1Jst63eZ21eWG Okb91S+cC81QHMLWt4zsviMyXpAZRRTwjRScbSOptAlqxWlLTYI5lITyT9S1McxMxeQDXY0U8 3KbgWQn4ytyH/8eyTcmMjgfOXtE7anTXvVJV+kqdXc0pLvn7eNac+LW+BPoTV7UJZ9oo= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Nov 2015 22:09:36 -0000 Hi, on my new notebook I am doing a dual boot installation with FreeBSD and Linux. I set up Grub2. By default, Grub2 starts in graphical mode. But when my FreeBSD once is in graphical mode, it refuses to switch back to text mode. Thus, when I should see the startup menu, the boot messages, and finally the console command line, the screen stays black with some colored spots on the upper border, and I am not able to even install X and a login manager. I still can ssh into the running system and shut it down. As far as I remember, this problem first occured on my old notebook when I upgraded to either FreeBSD 9 or 10. I was no longer able to enter the console when once running X (by Ctrl-Alt-F1). That did not hurt as the Grub I had there used to stay in text mode and X started properly. I solved the problem so far by leaving Grub2 in text mode. Do I have to swallow this restriction or is there a trick I am not aware of? Thanks in advance. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From owner-freebsd-questions@freebsd.org Mon Nov 30 23:54:22 2015 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 E405FA3C8E2 for ; Mon, 30 Nov 2015 23:54:22 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (host-209-190-254-14.client.atlantech.net [209.190.254.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail", Issuer "mail" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 96AA817EE for ; Mon, 30 Nov 2015 23:54:20 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from [192.168.1.11] (tripel [192.168.1.11]) by mail.monochrome.org (8.14.9/8.14.9) with ESMTP id tAUNhmSM001734 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 30 Nov 2015 18:43:49 -0500 (EST) (envelope-from chris@monochrome.org) Date: Mon, 30 Nov 2015 18:43:48 -0500 (EST) From: Chris Hill To: Bertram Scharpf cc: freebsd-questions@freebsd.org Subject: Re: Doesn't switch back to text mode In-Reply-To: <20151130220933.GA17228@becker.bs.l> Message-ID: References: <20151130220933.GA17228@becker.bs.l> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Nov 2015 23:54:23 -0000 On Mon, 30 Nov 2015, Bertram Scharpf wrote: [snip] > > By default, Grub2 starts in graphical mode. But when my > FreeBSD once is in graphical mode, it refuses to switch back > to text mode. [snip] > I solved the problem so far by leaving Grub2 in text mode. > Do I have to swallow this restriction or is there a trick I > am not aware of? This bit me too. In my case, the answer was to add: kern.vty=vt ...to /boot/loader.conf, and reboot. If the file doesn't exist, create it. See https://forums.freebsd.org/threads/changes-to-vt-4-newcons-console-in-stable-10.47154/ HTH. -- Chris Hill chris@monochrome.org ** [ Busy Expunging ] From owner-freebsd-questions@freebsd.org Tue Dec 1 02:03:42 2015 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 A58E9A3D995 for ; Tue, 1 Dec 2015 02:03:42 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (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 7634C14AF for ; Tue, 1 Dec 2015 02:03:42 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id tB123YEB018884 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 30 Nov 2015 20:03:35 -0600 To: FreeBSD Questions !!!! From: "William A. Mahaffey III" Subject: gmake question Message-ID: <565CFFF6.8070709@hiwaay.net> Date: Mon, 30 Nov 2015 20:09:04 -0553.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.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.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Dec 2015 02:03:42 -0000 I am using gmake under FreeBSD 9.3R to (try to) maintain some inhouse mixed language code (ANSI C, some c++, FORTRAN 77). I have a utility library which I use to hold C & c++ object files, using the 'target::' syntax. This works AOK under Linux (gmake 3.8.2), puts both types of objects in the same library smooth as silk. However under FreeBSD (gmake 4.1.2), it only puts the 1st group of objects in, either the C or c++ depending on which is 1st in the makefile. When I try the 'target:' syntax, it wound up deleting some of my source files (!!!!!). I reproduce the relevant parts of the makefile below: . . . . force: clean all depend: @makedepend -- $(CFLAGS) -- -f Makefile $(SRCS) @\rm -f Makefile.bak @cp -p Makefile MakeUtils @echo MakeUtils: Done with $@. iccdepend: @icc $(IFLAGS) -c -MM -MF depends.inc $(SRCS) @echo MakeUtils: Done with $@. $(LIB):: $(CPPSRC) $(CC) $(CPPFLAGS) -c $? ar ruv $@ ${?:.cpp=.o} && rm -f ${?:.cpp=.o} @echo MakeUtils: Done with $@. $(LIB):: $(SRCS) $(CC) $(CFLAGS) -c $? ar ruv $@ ${?:.c=.o} && rm -f ${?:.c=.o} @echo MakeUtils: Done with $@. # DO NOT DELETE THIS LINE -- make depend depends on it. CPPSRC lists the c++ files & SRCS lists the C files. Is this supposed to work under FreeBSD 9.3R & this version of gmake ? TIA for any pointers & have a good one. BTW: [wam@devbox, pre, 8:08:13pm] 2846 % uname -a FreeBSD devbox 9.3-RELEASE-p30 FreeBSD 9.3-RELEASE-p30 #0: Mon Nov 2 10:11:50 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [wam@devbox, pre, 8:08:16pm] 2847 % grep make /etc/LIST.installed.txt automake-1.15_1 GNU Standards-compliant Makefile generator automake-wrapper-20131203 Wrapper script for GNU automake gmake-4.1_2 GNU version of 'make' utility libxklavier-5.3_1,1 Utility library to make XKB stuff easier makedepend-1.0.5,1 Dependency generator for makefiles [wam@devbox, pre, 8:08:53pm] 2848 % -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Tue Dec 1 08:46:58 2015 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 2C854A355B9 for ; Tue, 1 Dec 2015 08:46:58 +0000 (UTC) (envelope-from gpagnoni@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::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 BF2A41D06 for ; Tue, 1 Dec 2015 08:46:57 +0000 (UTC) (envelope-from gpagnoni@gmail.com) Received: by wmww144 with SMTP id w144so162899634wmw.1 for ; Tue, 01 Dec 2015 00:46:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=2xbIgnX9HiVteWyRCQoYsrtkMC7G+s9bbsa8pG+KBh4=; b=jtNvoaQ7GsP0fyYvXqn2TtyY5qPoA5on//XeY+btzg8x6FWTj1nAhCHVFpvAM3wfQ5 130H91QnPfPN8JO9dURjoQkP41NNTtGmF9IdOZcS/YZSDw+h+DtGDFBZy3zu4+LVxvoS ac39aUHy2TUz7s1GPAU4pKb50ulfl4cLIG+rydmpgye5IE0vWJu1kiHS29dOUgA+4+Rz oRlCfJNdQA1O1IJ+1ilqQfQ2l+iM/tCF1jXVxPZxa6aEUJSBiUINPbum9lt3Cj4POAWR cYMnLDvz8dPGL/US7/CAdhAyFm/ogRAK79eN5gMjpVUEXAQag1SGr89UVpyaifWN8mU+ qzrw== MIME-Version: 1.0 X-Received: by 10.194.201.134 with SMTP id ka6mr13001621wjc.116.1448959616247; Tue, 01 Dec 2015 00:46:56 -0800 (PST) Received: by 10.27.173.6 with HTTP; Tue, 1 Dec 2015 00:46:56 -0800 (PST) Date: Tue, 1 Dec 2015 09:46:56 +0100 Message-ID: Subject: google hangout and/or skype From: Giuseppe Pagnoni To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Dec 2015 08:46:58 -0000 Hi all, I am running Freebsd 10.2 amd64 on a desktop, and I would need to use either Skype or Google Hangout for work. By perusing the web and the mail lists, it seems that neither Hangout nor Skype work anymore on FreeBSD. So, I installed Windows 7 in VirtualBox to get around this, only to find out that in VirtualBox *USB* doesn't work on FreeBSD hosts (and I have a USB webcam, which works in FreeBSD, as tested via pwcview). Does anybody know of a solution short of dual-booting to Windows? I am pretty positive that asking all colleagues to install uTox, ekiga, etc. on their various systems is not going to be a successful strategy. Thanks in advance for any suggestion giuseppe From owner-freebsd-questions@freebsd.org Tue Dec 1 10:37:58 2015 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 5B57AA3D2B5 for ; Tue, 1 Dec 2015 10:37:58 +0000 (UTC) (envelope-from bsd@rofltech.com) Received: from new2-smtp.messagingengine.com (new2-smtp.messagingengine.com [66.111.4.224]) (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 2BAC212F2 for ; Tue, 1 Dec 2015 10:37:57 +0000 (UTC) (envelope-from bsd@rofltech.com) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 1F9E12BA0 for ; Tue, 1 Dec 2015 05:32:48 -0500 (EST) Received: from web5 ([10.202.2.215]) by compute4.internal (MEProxy); Tue, 01 Dec 2015 05:32:48 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=rofltech.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=q6gUhuTlkYBL/e6mIzpf1oJuEQs=; b=bwYi4v pTb/AdvfiilbNbwUCnr3+eX+ttojBaEE09IknPBNIYMBAHexPu/JdvOa/VLMCO2p C0ukJaAncJIABAfsj2hjshqCsw/tC1rw5bwzdK9R/DQNY2uDKsvXoNJu5F5pF7MK +05I3G7p0AJGS4j53WKn5w1ObNzAthWsdPddg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=q6gUhuTlkYBL/e6 mIzpf1oJuEQs=; b=naZpJh4nQxmyQO90WioGBn1TXjvA0OC3IgrgGMxaS6/AVMK YlPDjqXaI0K6TKEEKIkorf8raDlmhad0cTD8hX1FfblZtWmDuJf48901Tk1ImY+U u65aP34ShkJo7sWV6skmWMvXPskv/UF5Wk8OQEXS/MsXigRyKMWzxhuLq5vI= Received: by web5.nyi.internal (Postfix, from userid 99) id BCB9BAC39A6; Tue, 1 Dec 2015 05:32:47 -0500 (EST) Message-Id: <1448965967.3568440.454508097.04476399@webmail.messagingengine.com> X-Sasl-Enc: t9g26Xur1PT8kYKJTyKKMa98zAZtYBCx2qPLdVABvp6d 1448965967 From: Sean Zipperer To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-b94e6169 In-Reply-To: References: Subject: Re: google hangout and/or skype Date: Tue, 01 Dec 2015 04:32:47 -0600 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Dec 2015 10:37:58 -0000 On Tue, Dec 1, 2015, at 02:46 AM, Giuseppe Pagnoni wrote: > Hi all, > > I am running Freebsd 10.2 amd64 on a desktop, and I would need to use > either Skype or Google Hangout for work. By perusing the web and the > mail lists, it seems that neither Hangout nor Skype work anymore on > FreeBSD. So, I installed Windows 7 in VirtualBox to get around this, > only to find out that in VirtualBox *USB* doesn't work on FreeBSD > hosts (and I have a USB webcam, which works in FreeBSD, as tested via > pwcview). > > Does anybody know of a solution short of dual-booting to Windows? I am > pretty positive that asking all colleagues to install uTox, ekiga, > etc. on their various systems is not going to be a successful > strategy. > > Thanks in advance for any suggestion I believe you can run it with the linuxulator by adding linux_enable=YES in /etc/rc.conf and installing net-im/skype4 . In the case that doesn't work try wine maybe? The hosts of the BSDNow podcast have said they're using Skype and freebsd so it should be possible. Hangouts should work as last I used it there was a browser plugin for chrome for it which is available in freebsd. -- Sean Zipperer bsd at rofltech dot com From owner-freebsd-questions@freebsd.org Tue Dec 1 10:54:19 2015 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 982B2A3D7E7 for ; Tue, 1 Dec 2015 10:54:19 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-qk0-x235.google.com (mail-qk0-x235.google.com [IPv6:2607:f8b0:400d:c09::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 4E9FB1CA2 for ; Tue, 1 Dec 2015 10:54:19 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: by qkao63 with SMTP id o63so654087qka.2 for ; Tue, 01 Dec 2015 02:54:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:mime-version:content-type:content-transfer-encoding; bh=TCFiNNxDNBzfANBD68xUM4WcBGBW+JepR4sA+BxazMA=; b=UmzyDIJX6RGSgUZUY2iunFPjUVSNqfRJjXSZDwSKArFR6s2QUx+QcKD0DUgyanKWZG XsOBw5GwQet5ij9YnmZxuRHG45kRUThRezw+Ye4T2hDxBNpE4kMi+/McSUkoii7A2fX8 cQaUDEYegcQzgkXM61F8sxIp3nDMGtIbXG9Zc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:reply-to:organization:mime-version:content-type :content-transfer-encoding; bh=TCFiNNxDNBzfANBD68xUM4WcBGBW+JepR4sA+BxazMA=; b=GQ0hWkLmMbrNiyjR7LEqR6eYxDfKjVDnhBatjyzXvMPrqa0vQZe/P6hGlPGB4tXnqC GlwBcUfiGR6eRFtSKMh0snVuyPmIEmnSGFUe0oUO3BPtoCLur05CukvX8fFkGSkUr1zg GTerrmo5BKk7wEO+UZvNgWoTBC2P1va5LFmQPIx9qvtls3YNRMMseqSVwJHW9Vr2eD5C L5I6CaLvkQcwoMJr0ZwARExSHyKTkblvunHXAc/TBANSU8v1KNkd2mfkS6yiyD+DiUrE sQVNphv2OCdzOf+p0pnUa/TtO3DgyZGouDc27uUs1d3UvTmYpkbgTA5m7y4Zxtysq0XW Rkpw== X-Gm-Message-State: ALoCoQlJ8iY1BET69Mvi/UC9zp1wvUUnOUo+eVBUzWLh5mRELqAR7PNnqSwyyghb9mXlpI3EG9rW X-Received: by 10.55.75.87 with SMTP id y84mr80321782qka.56.1448967258236; Tue, 01 Dec 2015 02:54:18 -0800 (PST) Received: from scorpio.seibercom.net (cpe-174-109-28-112.nc.res.rr.com. [174.109.28.112]) by smtp.gmail.com with ESMTPSA id w75sm16849968qka.25.2015.12.01.02.54.17 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Dec 2015 02:54:17 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3p90fw66nFz3K0Zp for ; Tue, 1 Dec 2015 05:54:16 -0500 (EST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.98.7 at scorpio.seibercom.net Date: Tue, 1 Dec 2015 05:54:16 -0500 From: Jerry To: FreeBSD FreeBSD Subject: Re: google hangout and/or skype Message-ID: <20151201055416.0ec1d9e8@seibercom.net> In-Reply-To: References: Reply-To: FreeBSD FreeBSD Organization: seibercom NET X-Mailer: Claws Mail 3.13.0 (GTK+ 2.24.28; amd64-portbld-freebsd10.2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Dec 2015 10:54:19 -0000 On Tue, 1 Dec 2015 09:46:56 +0100, Giuseppe Pagnoni stated: > Hi all, > > I am running Freebsd 10.2 amd64 on a desktop, and I would need to use > either Skype or Google Hangout for work. By perusing the web and the > mail lists, it seems that neither Hangout nor Skype work anymore on > FreeBSD. So, I installed Windows 7 in VirtualBox to get around this, > only to find out that in VirtualBox *USB* doesn't work on FreeBSD > hosts (and I have a USB webcam, which works in FreeBSD, as tested via > pwcview). > > Does anybody know of a solution short of dual-booting to Windows? I am > pretty positive that asking all colleagues to install uTox, ekiga, > etc. on their various systems is not going to be a successful > strategy. > > Thanks in advance for any suggestion > > giuseppe The only method I have seen to guarantee complete compatibility with those applications is to dual boot with Windows. Why use Win 7 though? You can update for free to Win 10. Win 10 and the latest versions of Skype and Hangout work flawlessly on my machine. -- Jerry From owner-freebsd-questions@freebsd.org Tue Dec 1 10:57:26 2015 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 6440FA3D8D7 for ; Tue, 1 Dec 2015 10:57:26 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EF0FC1DA7 for ; Tue, 1 Dec 2015 10:57:25 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from zero-gravitas.local ([IPv6:2001:8b0:151:1:2ef0:eeff:fe24:fa38]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id tB1AvD5k001553 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 1 Dec 2015 10:57:18 GMT (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk tB1AvD5k001553 Authentication-Results: smtp.infracaninophile.co.uk/tB1AvD5k001553; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host [IPv6:2001:8b0:151:1:2ef0:eeff:fe24:fa38] claimed to be zero-gravitas.local Subject: Re: google hangout and/or skype To: freebsd-questions@freebsd.org References: From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <565D7D03.3090605@FreeBSD.org> Date: Tue, 1 Dec 2015 10:57:07 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="EpFtwMun8J9xegbw475CWw8SdSbQxE8TE" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 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 lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Dec 2015 10:57:26 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --EpFtwMun8J9xegbw475CWw8SdSbQxE8TE Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015/12/01 08:46, Giuseppe Pagnoni wrote: > Does anybody know of a solution short of dual-booting to Windows? I am > pretty positive that asking all colleagues to install uTox, ekiga, > etc. on their various systems is not going to be a successful > strategy. If you or your colleagues are running Chrome, or a recent version Firefox (Version 40 or higher IIRC) then checkout https://meet.jit.si/ It's a WebRTP application in Javascript, essentially the same technology as used for Google Hangouts. The big unanswered question is: will it be able to interact with your web cam and sound system via FreeBSD? As the server system is written in node.js, there's a good chance you could get that running on a FreeBSD box too, should you want to provide your own private instance. Cheers, Matthew --EpFtwMun8J9xegbw475CWw8SdSbQxE8TE 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 iQJ8BAEBCgBmBQJWXX0IXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnFYUP/1EPIkX3eZz9EqOxMJXIFGog kU2kxOv52RTVnSye6z+G19/ZhK6teCQiyo6Yfbzca5xW9jKR/cmPYRViX5jVnin2 WehHZsuPotHn3NoIgZFWkxiJLhAW6c/6sUZntc3q/pDSzf1qEeXVsEX36jI56rJi j2MFBAj0ApYPUd2cLC/R4MYg1+0RAfZCcxx/cTwNTjPcC3RUsYSlTogBBGkNJuYh 7krgkWbINBrG36QUbkV/5t+EjiVa8/StvAiHVEQTCHQzLK/A1SZgQcb2SJmO3iWZ smR1DcETMgV3+/VZXItuJwghO7CorsOEEGxSEIHH8GxDIuaAxDys2fCvj39G6hKT TlAifMml7/4KUVlC9+fjO92iEhbHYSFuquVu8KU4rLmtRZby7gD9UEqkFgiNJ6EQ FzjotszV0yO6Npl9Mbm8wcDe3+ertvizTcvu7vl7otVVs+EfK4eg8+F+WEuIAPOv 6EXycYqcunN2pSZ5XFhNZm70p5tPIZaLxz/OMeBequdZjNp1atqSC3MlYnX7lXIC 80bGT+sw367ocYyRp1w3Q/pU6iaMCCjdK7tpqEsIhMD+baHcpXcBZDQ62ZE5eg0P BLuwYYxR7/zW85WLUp8esJQIADFk8Z585j6yrgfpuhiJVdfl/MSdFnv6wdLNqJWY mv0q1ILKvxMCdrG59oS5 =k6uT -----END PGP SIGNATURE----- --EpFtwMun8J9xegbw475CWw8SdSbQxE8TE-- From owner-freebsd-questions@freebsd.org Tue Dec 1 15:21:22 2015 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 A8418A2C715 for ; Tue, 1 Dec 2015 15:21:22 +0000 (UTC) (envelope-from gpagnoni@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::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 430131183 for ; Tue, 1 Dec 2015 15:21:22 +0000 (UTC) (envelope-from gpagnoni@gmail.com) Received: by wmec201 with SMTP id c201so210532047wme.0 for ; Tue, 01 Dec 2015 07:21:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=rxJwjmyuaJ2D4qmUXJfxuDLrh8ybO7eDKaSEfXxtf6A=; b=1BqbRF4YhMuUbeywitCxUrrINzCGTXtZanXGZK+ZsU2EIgtpf09fcnIBsiAEZzT7ow WZEbXdQIpp+WUhcb1AbJeC+2DLXpA7nDBF1cHbi2DCxEDWcwwrajsCUf2/Primjs5mbI 3ElCFxjP3PeqfnuUocsGcn0PQ/qWddmgYFoa2CcOMecEiasCiqZ8iBn/DuyU8NH8xfM9 RwOJ2aOUFrntLKZWdjLJ0uL/kXBr5Fw3Q1j2YA7/w6bS86jTWgUfOU0EhmMDMs8aPcXQ ZzJhCqmtK91rl3IJ8KtP9jfCMozJdshxTl2KDTx/wM2XUb5/1BcoedNdXMOJgvT5ka5g vsSA== MIME-Version: 1.0 X-Received: by 10.28.16.133 with SMTP id 127mr37826916wmq.24.1448983280553; Tue, 01 Dec 2015 07:21:20 -0800 (PST) Received: by 10.27.173.6 with HTTP; Tue, 1 Dec 2015 07:21:20 -0800 (PST) In-Reply-To: References: Date: Tue, 1 Dec 2015 16:21:20 +0100 Message-ID: Subject: Fwd: google hangout and/or skype From: Giuseppe Pagnoni To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Dec 2015 15:21:22 -0000 Hi Sean, thank you very much for the suggestion. Unfortunately, as per the skype pkg-message: " In order for Skype to work at all, you need to be running FreeBSD 11.0-CURRENT with a Kernel and modules later than 2015-05-24." I don't really want to be on the bleeding edge just for skype, as this is my main workstation. giuseppe -- Giuseppe Pagnoni Dip. Scienze Biomediche, Metaboliche e Neuroscienze Sezione Fisiologia e Neuroscienze Univ. di Modena e Reggio Emilia Via Campi 287 I-41125 Modena, Italy Tel: +39-059-205-5742 Fax: +39-059-205-5363 From owner-freebsd-questions@freebsd.org Tue Dec 1 15:22:20 2015 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 16A6CA2C79F for ; Tue, 1 Dec 2015 15:22:20 +0000 (UTC) (envelope-from gpagnoni@gmail.com) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::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 A716812FF for ; Tue, 1 Dec 2015 15:22:19 +0000 (UTC) (envelope-from gpagnoni@gmail.com) Received: by wmww144 with SMTP id w144so17864624wmw.0 for ; Tue, 01 Dec 2015 07:22:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=K58ZLEuEB95Eg1AxROLz9+4PVCDhxy1vElLJPlEwJpE=; b=sTqkFNsk1jCBfgwNDawpRBr2TtlbIp1k9DYLDN98li86sY8X5wzasYUW+Xoct797QZ fnEOQegwmxYPSAE8lfso/hZyZziEv/ZEMIkR1eiZhR7d7dM4hGRZxu/Al/jPZUOpuROG dLsE01xRURX/f0BGGN3BZ9zTAKzRLI8u+wl1HojyqNSPn6VJNZY4ShK59PzvIF+bTmQp mxiFXo94WBPPKo7YcQMJ1Q+qI8Fb5Wp5rHig4zl6DveWaxgTdG9tyFeUy+DJN0AFvjXR lbRy1velR8BzmrP9SwyYzJNYlmMcExTarSIwCzKc89rHLaa36sHutzYty5ujQrVRQllp XGpQ== MIME-Version: 1.0 X-Received: by 10.194.201.134 with SMTP id ka6mr15485613wjc.116.1448983337684; Tue, 01 Dec 2015 07:22:17 -0800 (PST) Received: by 10.27.173.6 with HTTP; Tue, 1 Dec 2015 07:22:17 -0800 (PST) Date: Tue, 1 Dec 2015 16:22:17 +0100 Message-ID: Subject: Re: google hangout and/or skype From: Giuseppe Pagnoni To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Dec 2015 15:22:20 -0000 Hi Matthew, thanks for pointing out jitsi, I hadn't heard of it. Unfortunately, the web interface does not seem to work for me (both in firefox and chrome), and the port version is not recognizing webcam and sound system properly (which do work in uTox). giuseppe -- Giuseppe Pagnoni Dip. Scienze Biomediche, Metaboliche e Neuroscienze Sezione Fisiologia e Neuroscienze Univ. di Modena e Reggio Emilia Via Campi 287 I-41125 Modena, Italy Tel: +39-059-205-5742 Fax: +39-059-205-5363 From owner-freebsd-questions@freebsd.org Tue Dec 1 15:23:20 2015 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 781D1A2C841 for ; Tue, 1 Dec 2015 15:23:20 +0000 (UTC) (envelope-from gpagnoni@gmail.com) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::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 1D79E1436 for ; Tue, 1 Dec 2015 15:23:20 +0000 (UTC) (envelope-from gpagnoni@gmail.com) Received: by wmec201 with SMTP id c201so210627091wme.0 for ; Tue, 01 Dec 2015 07:23:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=/kjFmlGbHsxEJom6tgYnljYajCsWysXNtM+kcjb4Odc=; b=Q5uAWA1mAZhcBmewx/QsIF5rZfRUMZgWeAFvERf5guHT9IO7nK6+9iXIToi3m8E5vb D+EgjEfqs1fMT8IR9SUIMa2hAs05eVEXTag7gPyuOYGlmf4H4ivHMNo6afoayKL1wDxR E5HDBFTIXeDX1L6w5lJRcjmlJ7RmYqCLSW3/sFoP6n+QABwZHldcDgKqRB5JVuwabGws dBCcMVi0gdfepx30rxCrfIo8NP5OPWhI1LFvoNJWRjkHQoVEu2AO6zyKxL3Firi/gORf Ms5yQVZ/tLhm3H395/Kc8iwpUZv1rLNlGqBWMriEEy2lqAvpuG18VeTjSWpYfbfDjTBG M0YA== MIME-Version: 1.0 X-Received: by 10.194.249.97 with SMTP id yt1mr86370247wjc.89.1448983398655; Tue, 01 Dec 2015 07:23:18 -0800 (PST) Received: by 10.27.173.6 with HTTP; Tue, 1 Dec 2015 07:23:18 -0800 (PST) Date: Tue, 1 Dec 2015 16:23:18 +0100 Message-ID: Subject: Re: google hangout and/or skype From: Giuseppe Pagnoni To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Dec 2015 15:23:20 -0000 Hi Jerry, thanks for your quick reply and your suggestion. I'd rather avoid having to dual-boot though, if possible... giuseppe -- Giuseppe Pagnoni Dip. Scienze Biomediche, Metaboliche e Neuroscienze Sezione Fisiologia e Neuroscienze Univ. di Modena e Reggio Emilia Via Campi 287 I-41125 Modena, Italy Tel: +39-059-205-5742 Fax: +39-059-205-5363 From owner-freebsd-questions@freebsd.org Tue Dec 1 15:50:48 2015 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 4522AA3D1F1 for ; Tue, 1 Dec 2015 15:50:48 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.74]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 974EA1DC0 for ; Tue, 1 Dec 2015 15:50:47 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from becker.bs.l ([85.180.1.35]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0M731J-1aFQjb3Mlp-00wo10 for ; Tue, 01 Dec 2015 16:50:38 +0100 Received: from bsch by becker.bs.l with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1a3nCP-0007DT-Uj for freebsd-questions@freebsd.org; Tue, 01 Dec 2015 16:50:37 +0100 Date: Tue, 1 Dec 2015 16:50:37 +0100 From: Bertram Scharpf To: freebsd-questions@freebsd.org Subject: Re: Doesn't switch back to text mode Message-ID: <20151201155037.GA27642@becker.bs.l> Mail-Followup-To: freebsd-questions@freebsd.org References: <20151130220933.GA17228@becker.bs.l> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: Bertram Scharpf X-Provags-ID: V03:K0:6Fvo9vqVqh7BWnW480DNjWhMGBHv7kUz1YeoXJTu5FL2z/RFhPp DXEeypyvkPw4KyC5073FKNS1ikeI1CGgXikrRLJ9NdLsng/NFyHMyQfn7XHPQxHuyO42bix EP9rzjTtAn22nA4yvxODZf4VloAD4eTDWHxwAvwhthxl22uBGhoO+iZOUgah/wOsrHBlkt2 u7fqi9jb8HbbQ3DgFE4qg== X-UI-Out-Filterresults: notjunk:1;V01:K0:to0VPyH4Exs=:DXd0k1Qt4rSrlqCXuyf9MQ PTNzRh88290uV7pn/mMaG/peYAvrkVyBY1KOVPfkZqy7Qz5cmRExgE6RHVVMtpsQ9PvmBptld I2oYl1gYdf3HTJ6Y5tRyhc+cs3j5F8en1IAnWASOSoVD+/+T7gIjZ8ZH5Y8apcUomuYF8gmrQ 0MteXyiYvT1RsQuDbRmp7rCVEd42LH+ZVkPHDIme/68zfGnkZkmXxpF4+h2Az/6yfxDMCadGy j8sISOriD1D3nWOkGrXDfGhKNjSQt13iA2csGANum2I55wejgxSNNwCEnaj7De488WXtTLCLi xU0YFYQVPM5n7alIMBUI9gmK3igSZsWZKNIxTYH1SoNh3GhRm6TZM+KO+Co5OwYk12K7ksTb2 kxNMuoe9E0OwSep7GotcpK5PhTrTY7VXlYc5jyC3Tmzvc2XAh3pikDdCMJDaQ3iNfhZTALdV/ ALelc6jMj3DFIgtp8WC2neOO99B8zXKQyiY4rE9v1MyLs4RRhRBUpWCBnllqIyCOkvoR9JLCj Cocd5CpoLpjnFo8s9jGtrqA9bkcWIg54J+LjccxZOV4CtG3Y1OA9j6s/iYBREPCBfTCLVPcpb CEpHlOizVAeNYppMYx8Np5hQuK7hl4ON7sh7mmSpHm5fl+69F54l1hgok+oBe4xPMf8mYNLkZ ujtTiOnGlQQtODrdcfPNqnGoeTixweFdy/sF9W63QtJVB3jGJxC7ZJHd+GRxw/DINVBg= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Dec 2015 15:50:48 -0000 On Monday, 30. Nov 2015, 18:43:48 -0500, Chris Hill wrote: > On Mon, 30 Nov 2015, Bertram Scharpf wrote: > > By default, Grub2 starts in graphical mode. But when my > > FreeBSD once is in graphical mode, it refuses to switch back > > to text mode. > > > I solved the problem so far by leaving Grub2 in text mode. > > Do I have to swallow this restriction or is there a trick I > > am not aware of? > > This bit me too. In my case, the answer was to add: > kern.vty=vt > ...to /boot/loader.conf, and reboot. If the file doesn't exist, create > it. This worked perfectly on my old notebook, where I can switch back to text mode now. On my new notebook where Grub2 runs, I noticed yet another correlation. The problem exists only when I reboot by a Ctrl-Alt-Del or by a "shutdown -r". When switching off and on again, the text mode ist entered correctly in both sc and vt modes. Maybe I will detect further effects in daily use. Thank you so far. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From owner-freebsd-questions@freebsd.org Tue Dec 1 22:15:08 2015 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 9534FA3C9B5 for ; Tue, 1 Dec 2015 22:15:08 +0000 (UTC) (envelope-from news@mips.inka.de) Received: from mail.inka.de (quechua.inka.de [IPv6:2001:7c0:407:1001:217:a4ff:fe3b:e77c]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5DDEB1D1D for ; Tue, 1 Dec 2015 22:15:08 +0000 (UTC) (envelope-from news@mips.inka.de) Received: from mips.inka.de (news@[127.0.0.1]) by mail.inka.de with uucp (rmailwrap 0.5) id 1a3tCS-0006n2-Ma; Tue, 01 Dec 2015 23:15:04 +0100 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.15.2/8.15.2) with ESMTP id tB1MAqoS014452 for ; Tue, 1 Dec 2015 23:10:52 +0100 (CET) (envelope-from news@lorvorc.mips.inka.de) Received: (from news@localhost) by lorvorc.mips.inka.de (8.15.2/8.15.2/Submit) id tB1MAqZV014451 for freebsd-questions@freebsd.org; Tue, 1 Dec 2015 23:10:52 +0100 (CET) (envelope-from news) To: freebsd-questions@freebsd.org From: Christian Weisgerber Newsgroups: list.freebsd.questions Subject: Flashing a phone with Firefox OS Date: Tue, 1 Dec 2015 22:10:52 +0000 (UTC) Lines: 56 Message-ID: X-Trace: lorvorc.mips.inka.de 1449007852 14092 ::1 (1 Dec 2015 22:10:52 GMT) X-Complaints-To: usenet@mips.inka.de User-Agent: slrn/1.0.2 (FreeBSD) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Dec 2015 22:15:08 -0000 If you want to use FreeBSD to flash your phone with Firefox OS... https://firefoxos.mozilla.community/devices/ ... you need to install these packages: bash android-tools-adb android-tools-fastboot And you'll want to apply the simple patch at the end of this message to circumvent some Linux-isms in Mozilla's flashing script. I've successfully used this to put Firefox OS onto a Nexus 5. Details on Firefox OS are sparse, but judging from the availability of Mozilla-maintained nightly builds, the Nexus 4 and Nexus 5 serve as the current development platforms. The Nexus 5 is a two-year old design with reasonable specs and it looks like the remaining stock is currently being sold, so this is an opportunity to jump on the Firefox OS bandwagon. diff -uNrp b2g-distro.orig/flash.sh b2g-distro/flash.sh --- b2g-distro.orig/flash.sh 2015-11-30 13:28:22.000000000 +0100 +++ b2g-distro/flash.sh 2015-11-30 21:36:50.038615000 +0100 @@ -1,10 +1,10 @@ -#!/bin/bash +#!/usr/local/bin/bash . load-config.sh test -f $DEVICE_DIR/flash.sh && . $DEVICE_DIR/flash.sh ADB=${ADB:-adb} -FASTBOOT=${FASTBOOT:-fastboot} +FASTBOOT=${FASTBOOT:-/usr/local/bin/fastboot} HEIMDALL=${HEIMDALL:-heimdall} VARIANT=${VARIANT:-eng} FULLFLASH=false @@ -33,7 +33,7 @@ run_fastboot() update_time() { - if [ `uname` = Darwin ]; then + if [ `uname` != Linux ]; then OFFSET=`date +%z` OFFSET=${OFFSET:0:3} TIMEZONE=`date +%Z$OFFSET|tr +- -+` diff -uNrp b2g-distro.orig/load-config.sh b2g-distro/load-config.sh --- b2g-distro.orig/load-config.sh 2015-11-30 13:28:22.000000000 +0100 +++ b2g-distro/load-config.sh 2015-11-30 21:32:36.328867000 +0100 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/local/bin/bin/bash if [[ ! -n "$B2G_DIR" ]]; then B2G_DIR=$(cd `dirname ${BASH_SOURCE[0]}`; pwd) -- Christian "naddy" Weisgerber naddy@mips.inka.de From owner-freebsd-questions@freebsd.org Wed Dec 2 18:06:48 2015 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 9DBCDA3F5C0 for ; Wed, 2 Dec 2015 18:06:48 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: from mail-io0-f194.google.com (mail-io0-f194.google.com [209.85.223.194]) (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 689CF1115 for ; Wed, 2 Dec 2015 18:06:48 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: by ioc74 with SMTP id 74so4945180ioc.2 for ; Wed, 02 Dec 2015 10:06:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; bh=+KBcfjj4GrlIaPotacZWZpnDqGq3M32UDn2gvY05bWI=; b=LD4NFyYpMmfJEl4lgHU2B1V7510137bUmX45u0fepqjyXPMIFqjzNJlGdRe5RxlKS0 Y1q4Zy96+eH3FaVWpGQv+bLwbEbdyNEgd2Lh5c3IoM/EsxKjOrJSWa1v4gyJDy0AZiUB J/j9i0TyhlmUjZaCrhh5rGrdcrWNyxt2dLQHaZdsdT2bidHRmvVFJjtDLqpp93JAA6P8 +hpM+3eyDV/kdL07cBxTemFKxAM+Ay2gQDYUN1OS5r7bP9WY7/lfiOl7oULvcSViP6XF +vRRTf4FN+K+HTh0N8augNgwOWoHAGkMT7gkL/gRCCz5zFuEN0sNkHt1qJBdZWklO6qw Czng== X-Received: by 10.107.3.144 with SMTP id e16mr3978229ioi.99.1449071690971; Wed, 02 Dec 2015 07:54:50 -0800 (PST) Received: from WorkBox.Home.gmail.com (63-231-132-20.mpls.qwest.net. [63.231.132.20]) by smtp.gmail.com with ESMTPSA id 42sm1358793iol.44.2015.12.02.07.54.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Dec 2015 07:54:50 -0800 (PST) References: From: Brandon J. Wandersee To: Christian Weisgerber Cc: freebsd-questions@freebsd.org Subject: Re: Flashing a phone with Firefox OS In-reply-to: Date: Wed, 02 Dec 2015 09:54:48 -0600 Message-ID: <86mvtsx2uv.fsf@WorkBox.Home> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2015 18:06:48 -0000 This mailing list is for technical support for the FreeBSD operating system. This sort of thing really belongs on your personal blog. That way, people know where to direct their distraught questions after they void the warranties on their $400 plastic bricks. Even if this process might work for most people, virtually no one who might be interested will ever find it here. -- ================================================================= :: Brandon Wandersee :: :: brandon.wandersee@gmail.com :: ================================================================== 'A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.' - Douglas Adams ================================================================== From owner-freebsd-questions@freebsd.org Wed Dec 2 22:09:42 2015 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 8562DA3FDB2 for ; Wed, 2 Dec 2015 22:09:42 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D6FFF1993 for ; Wed, 2 Dec 2015 22:09:40 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from becker.bs.l ([85.180.6.128]) by mrelayeu.kundenserver.de (mreue103) with ESMTPSA (Nemesis) id 0LiJAx-1ah8lD3CAl-00nRQY for ; Wed, 02 Dec 2015 23:04:20 +0100 Received: from bsch by becker.bs.l with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1a4FVc-000NKU-03 for freebsd-questions@freebsd.org; Wed, 02 Dec 2015 23:04:20 +0100 Date: Wed, 2 Dec 2015 23:04:19 +0100 From: Bertram Scharpf To: freebsd-questions@freebsd.org Subject: Re: Doesn't switch back to text mode Message-ID: <20151202220419.GA89431@becker.bs.l> Mail-Followup-To: freebsd-questions@freebsd.org References: <20151130220933.GA17228@becker.bs.l> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: Bertram Scharpf X-Provags-ID: V03:K0:4D0XlDNObolhnqPjIxGvhX9HRLrlqjMsqg01ANbM7Vvo07rdNhz MSOl3YbtvGRyngwUiEhjqz1VV5PZR44mEbDTC4GmiHqHPg/L5cYZhD7Lbqz+AWwm5YQgOuY 3WIaaZmNLFow7EBRU+X7+5peLxRYfqEy4L8FNxFVrd8d8Eycd1b/jEZHE+Np8XQQ0P/j5yC /V0WBDFJL3LpsDnBl/MHA== X-UI-Out-Filterresults: notjunk:1;V01:K0:nnRqZ/UtvD8=:rtHHdH4UFYZtbyK7yWBajz h7IcjiNaG8pE5JJKdhmsZpBRj/z7IecqnYjAo2Bkces/hsQQMCU8v07jkxrEWHz5+QzXjKECa qayKwEmtx/VOfiE1/oEopE4NkAM8He5JZkudNbSh3PuZv1VLap/UCBuvJY53vUg/qIvU+q370 M8i6pYZPFgqCbQxSDLe+L3+SKKjTvXmxeCgqlwv9BpZ4qG1aP4FarB2Tmdysn++qpdQZb9pZ8 q1Bv3kUBrbSIVgDjNN033pr8/N0RxR3is2F9+NXqNNaMfBjtYASpgKBMQHIjvVpLHRjsdDTRN ATk0lxpos98zwkVZ3K5wuXZGNKATO0LkpOjz1T/2ChDvRmZuxbHru2QZncVJa5ldKIL6o3tAo e1HWUHmSi93rsB5MscQlulHJllXBhqaDo7qsQfjKlJjmGwetdQZXaLOQSvOkszIvoP+1Dr9Vr 5Y/QR9OcLDASW8SJ52vPiTV29sgo2b24z9SjrQVLES1OCfMbO7O6dsj7tdDCzSSPPiA6iYJL/ UAJ/h4v0zF0WuUk2BofTZNf6hcxQB13EB+9pvLVR+/jFLCMyX/1Ra7pt8/GH08xEl7tw/ZiMJ J3HBfuUo3qJixEv8sSX4ep02kp7SWpabOUoS1qQP28SFXNL9YGZ7ViWl6tpUQKEWTIOaUwg4G 7/vK+4A3KRMFtTQf3f1iTvKlhxIhvsnt4ouxewzZ6BvhkwiQEhoJrg3nDSV7YFiPEJHk= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2015 22:09:42 -0000 On Monday, 30. Nov 2015, 18:43:48 -0500, Chris Hill wrote: > On Mon, 30 Nov 2015, Bertram Scharpf wrote: > > By default, Grub2 starts in graphical mode. But when my > > FreeBSD once is in graphical mode, it refuses to switch back > > to text mode. > > > I solved the problem so far by leaving Grub2 in text mode. > > Do I have to swallow this restriction or is there a trick I > > am not aware of? > > This bit me too. In my case, the answer was to add: > kern.vty=vt > ...to /boot/loader.conf, and reboot. If the file doesn't exist, create > it. This works perfectly on my old notebook where I was not able to switch back to the console in text mode. Yet this doesn't solve the problem when coming from Grub2 in graphical mode. Though, I detected that the problem only occurs when there was a reboot by Ctrl-Alt-Del or by "shutdown -r". When switching the computer off an on again, the text mode comes up properly. Maybe I will detect another helping effect in every day use. Thank you so far. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From owner-freebsd-questions@freebsd.org Thu Dec 3 00:10:44 2015 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 A47D6A3FC6D; Thu, 3 Dec 2015 00:10:44 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (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 5EDCC19E5; Thu, 3 Dec 2015 00:10:44 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id tB30Af38013231 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 2 Dec 2015 18:10:42 -0600 To: FreeBSD Questions !!!! , FreeBSD toolchain mailing list !!!! From: "William A. Mahaffey III" Subject: gcc5 question Message-ID: <565F8881.8010705@hiwaay.net> Date: Wed, 2 Dec 2015 18:16:11 -0553.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.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.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 00:10:44 -0000 I just did a pkg-upgrade of gcc5, & upgraded the port as well. I noticed that a 'make showconfig' in the port now shows Graphite support enabled by default. However, a 'gcc -v --help' on the pkg installed version shows no libisl, req'd for Graphite support (I think). Is the pkg built differently from the port ? TIA & have a good one. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Thu Dec 3 00:20:18 2015 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 703DFA3FFD7; Thu, 3 Dec 2015 00:20:18 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 326961014; Thu, 3 Dec 2015 00:20:18 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::c4ee:7a28:29cd:84d8] (unknown [IPv6:2001:7b8:3a7:0:c4ee:7a28:29cd:84d8]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id A374A33D3F; Thu, 3 Dec 2015 01:20:14 +0100 (CET) Subject: Re: gcc5 question Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Content-Type: multipart/signed; boundary="Apple-Mail=_D0B2BBAA-2084-4EA0-964D-6ECE303D0FF2"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 From: Dimitry Andric In-Reply-To: <565F8881.8010705@hiwaay.net> Date: Thu, 3 Dec 2015 01:20:04 +0100 Cc: FreeBSD Questions !!!! , FreeBSD toolchain mailing list !!!! , Gerald Pfeifer Message-Id: <95C3DA2C-639B-453D-8EC7-B92A6A1A728B@FreeBSD.org> References: <565F8881.8010705@hiwaay.net> To: "William A. Mahaffey III" X-Mailer: Apple Mail (2.3096.5) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 00:20:18 -0000 --Apple-Mail=_D0B2BBAA-2084-4EA0-964D-6ECE303D0FF2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 03 Dec 2015, at 01:09, William A. Mahaffey III = wrote: >=20 > I just did a pkg-upgrade of gcc5, & upgraded the port as well. I = noticed that a 'make showconfig' in the port now shows Graphite support = enabled by default. However, a 'gcc -v --help' on the pkg installed = version shows no libisl, req'd for Graphite support (I think). Is the = pkg built differently from the port ? TIA & have a good one. I've tried building the port with the GRAPHITE option enabled, but it died with various compilation errors about missing isl types, even while isl was installed. So I'm not sure about the state of this support. :-) Gerald, any idea? I suppose the option is expected to work? -Dimitry --Apple-Mail=_D0B2BBAA-2084-4EA0-964D-6ECE303D0FF2 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.28 iEYEARECAAYFAlZfir4ACgkQsF6jCi4glqMtpQCfbeYx0KmEeNqPaPS52r0iLZwa RA4AoIpsIuihc1Q0yLOti9n84PyceR2C =H4j/ -----END PGP SIGNATURE----- --Apple-Mail=_D0B2BBAA-2084-4EA0-964D-6ECE303D0FF2-- From owner-freebsd-questions@freebsd.org Thu Dec 3 00:27:20 2015 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 A2B43A3E2DF; Thu, 3 Dec 2015 00:27:20 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (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 5A6451619; Thu, 3 Dec 2015 00:27:19 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id tB30RHPV021335 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 2 Dec 2015 18:27:18 -0600 From: "William A. Mahaffey III" Subject: gcc5 question To: FreeBSD Questions !!!! , FreeBSD toolchain mailing list !!!! Message-ID: <565F8C65.5050702@hiwaay.net> Date: Wed, 2 Dec 2015 18:32:47 -0553.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 00:27:20 -0000 I just did a pkg-upgrade of gcc5, & upgraded the port as well. I noticed that a 'make showconfig' in the port now shows Graphite support enabled by default. However, a 'gcc -v --help' on the pkg installed version shows no libisl, req'd for Graphite support (I think). Is the pkg built differently from the port ? TIA & have a good one. *EEEEEEEEK* !!!! I meant gcc5-devel, sorry :-/ .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. _______________________________________________ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Thu Dec 3 00:27:48 2015 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 AE1A2A3E37F; Thu, 3 Dec 2015 00:27:48 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from ainaz.pair.com (ainaz.pair.com [209.68.2.66]) (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 8A6811809; Thu, 3 Dec 2015 00:27:48 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from anthias.dhcp.nue.suse.com (nat.nue.novell.com [195.135.221.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ainaz.pair.com (Postfix) with ESMTPSA id 904713F425; Wed, 2 Dec 2015 19:27:46 -0500 (EST) Date: Thu, 3 Dec 2015 01:27:44 +0100 (CET) From: Gerald Pfeifer To: Dimitry Andric cc: "William A. Mahaffey III" , freebsd-questions@freebsd.org, freebsd-toolchain@freebsd.org Subject: Re: gcc5 question In-Reply-To: <95C3DA2C-639B-453D-8EC7-B92A6A1A728B@FreeBSD.org> Message-ID: References: <565F8881.8010705@hiwaay.net> <95C3DA2C-639B-453D-8EC7-B92A6A1A728B@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 00:27:48 -0000 On Thu, 3 Dec 2015, Dimitry Andric wrote: >> I just did a pkg-upgrade of gcc5, & upgraded the port as well. I noticed that a 'make showconfig' in the port now shows Graphite support enabled by default. However, a 'gcc -v --help' on the pkg installed version shows no libisl, req'd for Graphite support (I think). Is the pkg built differently from the port ? TIA & have a good one. > I've tried building the port with the GRAPHITE option enabled, but it > died with various compilation errors about missing isl types, even while > isl was installed. So I'm not sure about the state of this support. :-) > > Gerald, any idea? I suppose the option is expected to work? If you have an up-to-date lang/gcc5 port, you should not be able to specify GRAPHITE any longer. Somehow my testing must have been flawed (even though I recall it explicitly tested, so perhaps a typo when specifying the option) and this will be fixed when updating to GCC 5.3, hopefully in the next few days. Give lang/gcc5-devel a try, which is close to what GCC 5.3 is going to be. That one should work. I tested it again yesterday, just to be sure. Gerald From owner-freebsd-questions@freebsd.org Thu Dec 3 00:35:42 2015 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 5AD6BA3E652; Thu, 3 Dec 2015 00:35:42 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (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 2B4031CD0; Thu, 3 Dec 2015 00:35:42 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id tB30ZeNT025628 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 2 Dec 2015 18:35:41 -0600 Subject: Re: gcc5 question References: <565F8881.8010705@hiwaay.net> <95C3DA2C-639B-453D-8EC7-B92A6A1A728B@FreeBSD.org> Cc: freebsd-toolchain@freebsd.org, freebsd-questions@freebsd.org From: "William A. Mahaffey III" Message-ID: <565F8E5C.7070700@hiwaay.net> Date: Wed, 2 Dec 2015 18:41:10 -0553.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.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.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 00:35:42 -0000 On 12/02/15 18:33, Gerald Pfeifer wrote: > On Thu, 3 Dec 2015, Dimitry Andric wrote: >>> I just did a pkg-upgrade of gcc5, & upgraded the port as well. I noticed that a 'make showconfig' in the port now shows Graphite support enabled by default. However, a 'gcc -v --help' on the pkg installed version shows no libisl, req'd for Graphite support (I think). Is the pkg built differently from the port ? TIA & have a good one. >> I've tried building the port with the GRAPHITE option enabled, but it >> died with various compilation errors about missing isl types, even while >> isl was installed. So I'm not sure about the state of this support. :-) >> >> Gerald, any idea? I suppose the option is expected to work? > If you have an up-to-date lang/gcc5 port, you should not be > able to specify GRAPHITE any longer. > > Somehow my testing must have been flawed (even though I recall it > explicitly tested, so perhaps a typo when specifying the option) > and this will be fixed when updating to GCC 5.3, hopefully in the > next few days. > > Give lang/gcc5-devel a try, which is close to what GCC 5.3 is > going to be. That one should work. I tested it again yesterday, > just to be sure. > > Gerald > _______________________________________________ > 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" It was/is indeed gcc5-devel, & I am compiling it up now, so all is well AFA it does indeed appear to compile OK & work (I have gotten some inhouse to compile up today, to test it overnight). Sorry for the confusion :-/. On a related topic, it would be sweet if the devel compiler were installed in /usr/local/bin, w/ a slightly different name (gcc5X, gcc5d, maybe gcc521(X|d), you get the picture), for convenient back-to-back comparisons if req'd .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Thu Dec 3 05:44:03 2015 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 92C00A3F778 for ; Thu, 3 Dec 2015 05:44:03 +0000 (UTC) (envelope-from alexmiroslav@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::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 30E381339 for ; Thu, 3 Dec 2015 05:44:03 +0000 (UTC) (envelope-from alexmiroslav@gmail.com) Received: by wmww144 with SMTP id w144so6655759wmw.1 for ; Wed, 02 Dec 2015 21:44:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=XjvLl8sR+a7k2dXJZkFVzQ/ufkeDKt3qeFjkFcbUEwI=; b=K1a9vAxsq6XIxZ0SnvMy53EH0IODXuyd16oQoCK9cdBMQf0tcb6zacOJThxs53dt/K vRMIhNhneQPVPczUaOjjSNgzVJTWdl9JotTWmInjqtJ+QQrYDODTV9m7gQmiYR3nlupI cWO4X9ep9auzpUvrLhqiXTzjmv9EYh0oZJG10ATc5NW3WEeQ/xfqU/9WL8Dxmxas0MmW CHwmWWiUkkMa5rznVcKN6m7/Q2uzEaZTJC0ZfDnvB0DVsvlVFNVwna60GvFHzIYmXoPj 2GMViaaWgxTKaSfUpBP158jRoQ+TngyW2PylJc9WZdFg9X0g4nQM3LwzH8/MvTACLOsU JfAQ== MIME-Version: 1.0 X-Received: by 10.28.223.212 with SMTP id w203mr50893737wmg.88.1449121441705; Wed, 02 Dec 2015 21:44:01 -0800 (PST) Received: by 10.28.162.16 with HTTP; Wed, 2 Dec 2015 21:44:01 -0800 (PST) Date: Wed, 2 Dec 2015 21:44:01 -0800 Message-ID: Subject: best practice for locking down private jail? From: Aleksandr Miroslav To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 05:44:03 -0000 So I'm setting up a server for a friend who wants to upload audio files and have them served up via http. i.e. He uploads lecture.mp3 to example.org, and wants people to be able to access it via http://example.org/audio/lecture.mp3. He's somewhat tech savvy, but I'm being super paranoid about security, so this is what I did: - setup a server, example.org, with a public IP, FreeBSD 10.2 - on this server, I setup a jail with a private IP - setup a pf rdr rule so that example.org:2222 goes to private-ip-of-jail:22, so he can only access the jail via ssh - inside the jail, I set up sshd to only allow his user (AllowUsers joeblow), and disabled passwords, so he can only access the machine with an ssh key - he will upload his files to his home directory (within the private jail), and put it in some directory, e.g. ~joeblow/audiofiles - from the example.org machine, outside the jail, i setup httpd to serve files only from /usr/jails/privatejail/usr/home/joeblow/audiofiles I've setup everything but the last step (httpd), and I will get that last bit working shortly. For what I want to do, does this look like an okay setup? Is there anything else I can do to lock this setup down? I figure in the worst case scenario, someone steals his ssh key and the worst damage they can do is delete the files he's uploaded (I'm taking backups so not too worried about that), or upload files to the server that is http accessible -- can I tell Apache to only serve up mp3 files of name lecture-num.mp3 or something like that? Any thoughts or suggestions appreciated. Thanks From owner-freebsd-questions@freebsd.org Thu Dec 3 05:53:00 2015 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 E5E34A3F9A7 for ; Thu, 3 Dec 2015 05:53:00 +0000 (UTC) (envelope-from alexmiroslav@gmail.com) Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (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 827731868 for ; Thu, 3 Dec 2015 05:53:00 +0000 (UTC) (envelope-from alexmiroslav@gmail.com) Received: by wmww144 with SMTP id w144so6822944wmw.1 for ; Wed, 02 Dec 2015 21:52:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=EtihOGtL7C71ftw6EnZRlXmmz44oD5huiE5N8plC1x8=; b=qkEca3t/Q3CA6/4G0+syszDo7HLn19LXDNYxzEWrUFf2GdSneDARNIl43XvKkuV8Kn US9XMvtQiaxLNPsQ17wrMkWgukozXLwvho+wT0EDToWDCeG5uNxx/zIxnoEESm4eDdcz /wPb+e+aUzAyYCOcYg2gNthhJXXJ1XHMSBjlsnseZZHQjA6c9Fxqaq9hqzWWvHQiPUZw y4S1qxknIJK7o7fzQ5iqZLTiWRMwz0k8uubuVzH9bIAJ4FZtKCbUsrDxq4tCQ9ipaYe3 x8tbtTHJYGTrAu9eMEB4HsUOPjuSvC94oX2XxCPYu+NGEogQQPA4OSMBcnWk6y6G6IoV PipQ== MIME-Version: 1.0 X-Received: by 10.195.11.233 with SMTP id el9mr8741814wjd.145.1449121979087; Wed, 02 Dec 2015 21:52:59 -0800 (PST) Received: by 10.28.162.16 with HTTP; Wed, 2 Dec 2015 21:52:59 -0800 (PST) In-Reply-To: References: Date: Wed, 2 Dec 2015 21:52:59 -0800 Message-ID: Subject: Re: best practice for locking down private jail? From: Aleksandr Miroslav To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 05:53:01 -0000 On Wed, Dec 2, 2015 at 9:44 PM, Aleksandr Miroslav wrote: > - from the example.org machine, outside the jail, i setup httpd to > serve files only from > /usr/jails/privatejail/usr/home/joeblow/audiofiles [...] > can I tell Apache to only serve up mp3 files of name > lecture-num.mp3 or something like that? Thinking about this some more. I think instead of having apache point to the jail directly, I setup a cron job on the host that calls a script that runs every 5 minutes or so, and copies only mp3 files of some pattern-matched name to the host system, and then only that is served up by apache. That would work better I think. It would have to be a cron job on the host, I don't think I can have a script from inside the private jail call something directly on the host. From owner-freebsd-questions@freebsd.org Thu Dec 3 07:44:53 2015 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 BF1DDA3EE6C for ; Thu, 3 Dec 2015 07:44:53 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (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 83D761303 for ; Thu, 3 Dec 2015 07:44:53 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-76-245.dynamic.qsc.de [92.195.76.245]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id B748A276CA; Thu, 3 Dec 2015 08:39:26 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id tB37dQi8004590; Thu, 3 Dec 2015 08:39:26 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 3 Dec 2015 08:39:26 +0100 From: Polytropon To: Aleksandr Miroslav Cc: freebsd-questions@freebsd.org Subject: Re: best practice for locking down private jail? Message-Id: <20151203083926.72ad74db.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-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 07:44:53 -0000 On Wed, 2 Dec 2015 21:52:59 -0800, Aleksandr Miroslav wrote: > On Wed, Dec 2, 2015 at 9:44 PM, Aleksandr Miroslav > wrote: > > - from the example.org machine, outside the jail, i setup httpd to > > serve files only from > > /usr/jails/privatejail/usr/home/joeblow/audiofiles > [...] > > can I tell Apache to only serve up mp3 files of name > > lecture-num.mp3 or something like that? > > Thinking about this some more. I think instead of having apache point > to the jail directly, I setup a cron job on the host that calls a > script that runs every 5 minutes or so, and copies only mp3 files of > some pattern-matched name to the host system, and then only that is > served up by apache. That would work better I think. It would have to > be a cron job on the host, I don't think I can have a script from > inside the private jail call something directly on the host. Make sure no incomplete files are being processed. You can even write a script that first checks that the user "joeblow" is currently _not_ logged in (or not performing a scp transfer), so incomplete files can be avoided, and then have this script copy the files from his home (upload) directory to a different directory for Apache to serve from; in this script, you can also force a certain pattern for files: those that do not match won't be copied. In this case, even if "joeblow" acidentally (or someone else intendedly) deletes the content of his $HOME, the files to be served will still be intact in a location that this user cannot access. Oh, and regarding SSH with keys: You can force keys _and_ a password. Educate the user what a secure password is, and make him understand "password hygiene". So even if someone is able to get his SSH keys, the attacker cannot get access without the password (which is to be provided interactively, not stored in plain text in some configuration or history file, of course). Just a few suggestions. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu Dec 3 07:55:19 2015 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 7F98FA3F2B3 for ; Thu, 3 Dec 2015 07:55:19 +0000 (UTC) (envelope-from steve@sohara.org) Received: from uk1mail2513.mymailbank.co.uk (UK1MAIL2513-PERMANET.IE.mymailbank.co.uk [217.69.47.44]) by mx1.freebsd.org (Postfix) with ESMTP id F0C871BF6 for ; Thu, 3 Dec 2015 07:55:18 +0000 (UTC) (envelope-from steve@sohara.org) Received: from smtp.lan.sohara.org (UnknownHost [88.151.27.41]) by uk1mail2513-d.mymailbank.co.uk with SMTP; Thu, 3 Dec 2015 07:39:15 +0000 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.85 (FreeBSD)) (envelope-from ) id 1a4OU8-0003WY-6w for freebsd-questions@freebsd.org; Thu, 03 Dec 2015 07:39:24 +0000 Date: Thu, 3 Dec 2015 07:39:23 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: best practice for locking down private jail? Message-Id: <20151203073923.17dae0c41a2b5e29a5b3a3dd@sohara.org> In-Reply-To: References: X-Mailer: Sylpheed 3.4.3 (GTK+ 2.24.28; amd64-portbld-freebsd10.1) 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.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 07:55:19 -0000 On Wed, 2 Dec 2015 21:44:01 -0800 Aleksandr Miroslav wrote: > So I'm setting up a server for a friend who wants to upload audio > files and have them served up via http. i.e. He uploads lecture.mp3 to > example.org, and wants people to be able to access it via > http://example.org/audio/lecture.mp3. > > He's somewhat tech savvy, but I'm being super paranoid about security, I'll jump in here. If you are serious about locking this down as tight as possible then don't use Apache, use a minimalist web server that can only serve static files (thttpd can be set up this way - there are others). I would set up two jails - one as the upload jail the other the web server and use a cron job on the host to move verified mp3 files (not just by name use file at least) into the directory served by the web server. Both jails stripped down so they pretty much can't do anything else. FInally I'd use pf to lock down the traffic so that nothing gets to the jails that shouldn't. I'm a firm believer that security starts by removing the capabilities that you don't need - if it's not there it can't be compromised, so ideally run applications in jails not complete system images. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Thu Dec 3 08:23:04 2015 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 20FD5A3FC4B for ; Thu, 3 Dec 2015 08:23:04 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B8A9C1DDA for ; Thu, 3 Dec 2015 08:23:03 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id tB38Mtxb013514 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 3 Dec 2015 08:22:55 GMT (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk tB38Mtxb013514 Authentication-Results: smtp.infracaninophile.co.uk/tB38Mtxb013514; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6] claimed to be liminal.local Subject: Re: best practice for locking down private jail? To: freebsd-questions@freebsd.org References: <20151203083926.72ad74db.freebsd@edvax.de> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <565FFBDF.40907@FreeBSD.org> Date: Thu, 3 Dec 2015 08:22:55 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20151203083926.72ad74db.freebsd@edvax.de> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="VUACF76DMsWj81gXk6U0fsv0LXE0lHaSF" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 08:23:04 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --VUACF76DMsWj81gXk6U0fsv0LXE0lHaSF Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 03/12/2015 07:39, Polytropon wrote: > Oh, and regarding SSH with keys: You can force keys _and_ a > password. Educate the user what a secure password is, and make > him understand "password hygiene". So even if someone is able > to get his SSH keys, the attacker cannot get access without the > password (which is to be provided interactively, not stored in > plain text in some configuration or history file, of course). Keys *and* a password doesn't offer any additional security over just keys alone. Of course, your keys for interactive use should be secured with a passphrase -- this is used to encrypt and decrypt the private key using a symmetric cipher, so that even if an attacker is able to steal the private key, it is unfeasible for them to be able to decrypt it. That passphrase is prompted for during the ssh login very similarly to the way a password is prompted for[*]. As far as I know, there is no way server side to enforce the use of a key that has been protected with a passphrase, and there are good and legitimate reasons to want to use passphrase-less keys for various purpos= es. One thing I'd certainly recommend is tightening up the SSH configuration to ensure you're using the best available crypto. There are, for instance, known problems with dss keys used with moduli of 1024 bits or less. See -- https://weakdh.org/ Here's a very thorough guide to locking down SSH. It's probably overkill for most users though: https://stribika.github.io/2015/01/04/secure-secure-shell.html Cheers, Matthew [*] Although personally I use an ssh agent -- gpg-agent from gnupg2 -- so I only get prompted for the passphrase occasionally. Which is a real sanity saver considering how frequently I'm logging into various different machines. --VUACF76DMsWj81gXk6U0fsv0LXE0lHaSF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2 iQJ8BAEBCgBmBQJWX/vfXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATAoIQAI+OkXwLnArSZCJPV4BjFhFs xn4J8xWjuifLH6UQGyiLUBv/IDmjgOS4rRA6OsV2hcLw0BWDDjElDTzmuHkxmlt4 +K2D4oK1j/1/fHNosxnMRKZDXJ6K5RmtSRSSgF7Tr0xWw9LUH6Bw5kscfWNxQaRd w7Sc5oN7rABtIWJvS8YWq/QRTnmcw3OCVpzDIPQIc/nLrdQN4w/b+RjNPuiowICB Jh49oKR4l1xTZARiZGfvrxtkKK5U5PnXnkFSsprlBNXxGwTEakc/LLHtETLEAePk Iq3acB5BSZn9bgMsj+uyU5jrBlDCnlj8525WyJK+XyNKspIs0+wA22xzD6SIhnTp glIo+K3S6/yNpX6FRfzWTX8HRSQB74QEivmI1e/76oVw6+gWD9vdHvdAO1kpLZvb gavGOqfg/0j2dYAfcNu3Xxg6gTF+4MBS9MqnTTgvDE8JEFNUyBJGAuIxLoYUPQf/ cYkHYKR0Smwea+OLN80TL0p0tF2fIEQN+ufSkIa/eQnCmZnG3xLsHtjTwhFuzZCI QjIatXTzFd/E4Ut4gbBSUTnY2XV0IO223AdL6INq61hAZfUYeuivL4h5IQTXzNJb lc6fIXaUWKP2NWwCIO12fyc6HCdK3Nm6adTslmNcnVueUIThWChB5li4icVCqORa u8/JdrOUrStkkC8/kzgH =Gi4+ -----END PGP SIGNATURE----- --VUACF76DMsWj81gXk6U0fsv0LXE0lHaSF-- From owner-freebsd-questions@freebsd.org Thu Dec 3 11:55:59 2015 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 50C7CA40259 for ; Thu, 3 Dec 2015 11:55:59 +0000 (UTC) (envelope-from topinternet.seomarket@gmail.com) Received: from mail-io0-x24e.google.com (mail-io0-x24e.google.com [IPv6:2607:f8b0:4001:c06::24e]) (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 1B5621C25 for ; Thu, 3 Dec 2015 11:55:59 +0000 (UTC) (envelope-from topinternet.seomarket@gmail.com) Received: by ioo197 with SMTP id 197so179559ioo.1 for ; Thu, 03 Dec 2015 03:55:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:message-id:date:subject:from:to:content-type; bh=hmlK4kFzggzd739KbA8/aYV2NQlJ/anvMftAnDG8L90=; b=ytUZnaeWYRl//P5RtyeD77u7CObUxgv+PEyaDoPTFQzNQrGqQL+UOfoTok/e1dUb2m Sgj4+zIMtr25lz8jPRiP2Tju/wxyhf2F3YdWDTooheTFxIEXpqXd5A2JnEGHD0/wFynE DwfhdhMJh60zTno30xQRpF+Wkg00bvbe4TVf3P6Sq+UobQ37/N0oVVWFwWEDX4L8cFCA Suwafu2xdqTbDvAb393Ii5vfcc0B1Pq4drbv6bAYEYR3RRfVuDbxr8mRjwJB5hiT5aek KzghTo3Emu4kKPvdkekAuGiNzX9y4kWscmiDvUozTxuSF6399a96OH1QXrKgwBP691IV F43A== MIME-Version: 1.0 X-Received: by 10.50.79.200 with SMTP id l8mr4358933igx.0.1449143758475; Thu, 03 Dec 2015 03:55:58 -0800 (PST) Message-ID: <089e01294614f3dca20525fd12a7@google.com> Date: Thu, 03 Dec 2015 11:55:58 +0000 Subject: Better Virtual data entry staffing services From: John Lew To: freebsd-questions@FreeBSD.org, freebsd-doc@FreeBSD.org Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 11:55:59 -0000 DQoqRGVhciBvd25lciBvZiBGcmVlYnNkLm9yZywqDQoNCipXZSBhcmUgcHJvdmlkaW5nIHZpcnR1 YWwgZGF0YSBlbnRyeSBzdGFmZiB0byBvZmZzaG9yZSBjdXN0b21lcnMgZm9yIGp1c3QNCm9ubHkg NjUwJFVTRCAhISEqDQoNCipXZSBhcmUgRGF0YSBlbnRyeSBzZXJ2aWNlIHByb3ZpZGVycyBsb2Nh dGVkIGluIEJhbmdhbG9yZSwgSW5kaWEgd2l0aA0KZnVsbHRpbWUgZGF0YSBlbnRyeSBzdGFmZiAq DQoNCip3aXRoIHF1YWxpdHkgaW5mcmFzdHJ1Y3R1cmUuIFdlIGFsbG9jYXRlIGZ1bGx0aW1lIHN0 YWZmIGFuZCBhbHNvIHRoZXJlDQp3aWxsIGJlIE1hbmFnZXIgdG8gKg0KDQoqc3VwZXJ2aXNlIHRo ZSB2aXJ0dWFsIHN0YWZmLiAqDQoNCipWaXJ0dWFsIHN0YWZmIGNhbiBkbzogIERhdGEgZW50cnks IE9ubGluZSBkYXRhIGVudHJ5LCBPZmYgbGluZSBkYXRhIGVudHJ5LA0KYW5kIGFsc28gY2FuIGxl YXJuIHlvdXIgKg0KDQoqY3VzdG9tIGRhdGEgZW50cnkgZm9yIHdlYi9zeXN0ZW0uKg0KDQoqQWR2 YW50YWdlcyBvZiBWaXJ0dWFsIFN0YWZmOioNCg0KKu+CtyBMb3dlciBvZmZpY2UgY29zdHMqDQoN CirvgrcgUmV0ZW50aW9uIG9mIGVtcGxveWVlcyoNCg0KKu+CtyBMb3dlciBlbXBsb3llZSBjb3N0 cyoNCg0KKu+CtyBMZXNzIHVubmVjZXNzYXJ5IG1lZXRpbmdzKg0KDQoq74K3IEluY3JlYXNlZCBw cm9kdWN0aXZpdHkqDQoNCirvgrcgR3JlYXRlciB3b3JrZm9yY2UgZmxleGliaWxpdHkqDQoNCipb Tm90ZTogQ2xpZW50IGNhbiB2aXNpdCBvdXIgb2ZmaWNlIGluIEluZGlhIGZvciBhZHZhbmNlZCB0 cmFpbmluZyBhbmQgZm9yDQpidXNpbmVzcyAqDQoNCipleHBhbnNpb25dKg0KDQoqWW91IGNhbiBz ZXR1cCB5b3VyIG93biBvZmZpY2UgaW4gSW5kaWEgd2l0aCBxdWFsaXR5IHN0YWZmcyBhbmQNCmlu ZnJhc3RydWN0dXJlLiBXZSBhbHNvIGFzc2lzdCB5b3UgdG8gKg0KDQoqZXhwYW5kIHlvdXIgYnVz aW5lc3MgaW4gSW5kaWEuIFdlIGFyZSB5b3VuZyBhbmQgZXhwZXJpZW5jZWQgdGVhbSBsb29raW5n DQpmb3IgbG9uZy10ZXJtIGJ1c2luZXNzLioNCg0KKk1pbmltdW0gY29udHJhY3QgcGVyaW9kIGlz IDMgbW9udGhzIGZvciB2aXJ0dWFsIHN0YWZmIGFuZCBpZiB5b3Ugc2F0aXNmeQ0KeW91IGNhbiBj b250aW51ZSBiYXNlZCBvbiB5b3VyICoNCg0KKnJlcXVpcmVtZW50LiBQYXltZW50cyBjYW4gYmUg bWFkZSBieSBQYXlwYWwgb3IgQkFOSy4qDQoNCipUaGFua3MqDQoNCipKb2huIExldyoNCg== From owner-freebsd-questions@freebsd.org Thu Dec 3 15:16:51 2015 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 65265A3FC15 for ; Thu, 3 Dec 2015 15:16:51 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (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 354CD18C5 for ; Thu, 3 Dec 2015 15:16:50 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id tB3FGmKE010825 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 3 Dec 2015 09:16:49 -0600 To: FreeBSD Questions !!!! From: "William A. Mahaffey III" Subject: tcsh issue Message-ID: <56605CE0.4010105@hiwaay.net> Date: Thu, 3 Dec 2015 09:22:18 -0553.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.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.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 15:16:51 -0000 I am having a puzzling problem w/ the tcsh shell locating a script that I think it should be finding: [wam@devbox, TEST, 9:18:10am] 1399 % which beginbg beginbg: Command not found. [wam@devbox, TEST, 9:18:21am] 1400 % set _ which beginbg addsuffix anyerror argv () autoexpand autolist ambiguous autorehash csubstnonl cwd /home/wam/V8/Cnx/test/junk/cart/unstaggered/bfc/TEST cwdcmd echo -n "^[]2;${HOST}:$cwd^G^[]1;${HOST}^G" dirstack (/home/wam/V8/Cnx/test/junk/cart/unstaggered/bfc/TEST /home/wam/V8/Cnx/test/junk/cart/unstaggered/bfc/MSChemistry/chemWAM) dirw /home/wam/V8/Cnx/test/junk/cart/unstaggered dunique echo_style both edit euid 1110 euser wam fignore (.o .obj .u) filec gid 1110 group unknown histdup prev history 1000 home /home/wam killring 30 loginsh mail /var/mail/wam owd /home/wam/V8/Cnx/test/junk/cart/unstaggered/bfc/MSChemistry/chemWAM path (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /home/wam/bin) prompt %B%{\e]2\;%n@%m %l %~%#^g\e]1\;%n@%m^g\r%}[%n@%m, %c, %p] ! %% %b prompt2 %R? prompt3 CORRECT>%R (y|n|e|a)? savehist (300 merge) shell /bin/tcsh shlvl 1 status 0 tcsh 6.18.01 term xterm time (10 whew !!!! that took (%U cpu + %S sys) sec., %E elapsed time tot, %P CPU efficiency (%X text, %D data, %M max) KB, (%I+%O) io, %F pfs + %W swaps) tty pts/3 uid 1110 user wam version tcsh 6.18.01 (Astron) 2012-02-14 (x86_64-amd-FreeBSD) options wide,nls,dl,al,kan,sm,rh,color,filec [wam@devbox, TEST, 9:18:25am] 1401 % lf /home/wam/bin AslashP* VectorExe.AMD64* backupSMB* fsplit.fried* patch2AMD* rawread* sbg* Batch* VectorExe.AMD64.new* backupUSB.sh getopt-parse.bash patch2AMD.lnx* refreshCFD* sinstCFD* BenchMarks.tgz VectorExe.AMD64.new~* beginbg* getopt-parse.tcsh patchIEXEs* resig* snap-mysql.txt BenchmarkDLL.exe VectorExe.EM64a* chext* grep-pdf patchILIBs* rinstCFD* sqlitebrowser* BenchmarkNew.exe VectorExe.IA32* chkdir* grep-pdf-multi pdfs2ps* runCELMINT* texi2man* GaussExe* Vector_Exe_Absoft* clean_rename* grepOUTPUT* pdfstops* runchem* tops* GaussExe.IA32* Vector_Exe_G77* cleanup* hddtemp.sh* portUpgrade.sh runit* unplugUSB.sh GaussExe~* Vector_Exe_Intc* cpuid* lock* portsync.sh saveFiles* updateExes* MakeLIB archive* dumptz* matt.tgz psgz2pdf* saveFiles2* SaveSrc* backup.0th.sh* ebg* memZFS* pstotext* saveFiles3* SaveStuff* backup.sh fsplit* memZFS.sh* qemu-linux-user.sh* savesrc* [wam@devbox, TEST, 9:18:38am] 1402 % which beginbg beginbg: Command not found. [wam@devbox, TEST, 9:18:49am] 1403 % uname -a FreeBSD devbox 9.3-RELEASE-p30 FreeBSD 9.3-RELEASE-p30 #0: Mon Nov 2 10:11:50 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [wam@devbox, TEST, 9:19:55am] 1404 % i.e. the file 'beginbg' ( a shell script) appears in the file ~/bin (/home/wam/bin) which is in the search path, yet the shell doesn't find it .... Pilot error ? TIA for any clues & have a good one. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Thu Dec 3 15:51:35 2015 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 310B5A406D7 for ; Thu, 3 Dec 2015 15:51:35 +0000 (UTC) (envelope-from jjuanino@gmail.com) Received: from mail-yk0-x22e.google.com (mail-yk0-x22e.google.com [IPv6:2607:f8b0:4002:c07::22e]) (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 EA44A15D1 for ; Thu, 3 Dec 2015 15:51:34 +0000 (UTC) (envelope-from jjuanino@gmail.com) Received: by ykdv3 with SMTP id v3so90320325ykd.0 for ; Thu, 03 Dec 2015 07:51:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=DPXlrbQ0Q9F8LPggJ+gLtTGVi4iKZD+bQt4Sp2VHrxM=; b=B0Oz0iMVlTjqSWV1AjGLF5YWnVbn4m33hQa4FI4ADuczN2wfMJp/EXxBJe6rHj5R0V 8AycxCZYawY7Cu25ayCoeUbhfGw0/4YqHnyGWW9yuQaoy0hF+BU4TV+15sGQqhrWLhBP XR0Mamxqf97VvU4g8ZHxfcCDM6SOs/0l4/aWWlVVyGzkJn/lpaBuw2q1QVnDFexK2bt/ HFSVH+MKN3l0roihUCU2iycErcsoHe80/t3O74bozulHNeSTI7GfnNYHQufoMkGXG/yA 1M4zKl2FLwym28/7Ajs/z6Pi0fpmN0BtvUwUVsT7p59I8G8wvBKIRUl5x/kTtOw3qEYG TYlA== MIME-Version: 1.0 X-Received: by 10.129.85.71 with SMTP id j68mr7174415ywb.28.1449157894020; Thu, 03 Dec 2015 07:51:34 -0800 (PST) Received: by 10.13.197.68 with HTTP; Thu, 3 Dec 2015 07:51:33 -0800 (PST) Date: Thu, 3 Dec 2015 16:51:33 +0100 Message-ID: Subject: How to mimic ssh por forwarding with compression From: =?UTF-8?B?Sm9zw6kgR2FyY8OtYSBKdWFuaW5v?= To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 15:51:35 -0000 Hi FreeBSD comunity, I have two hosts with no ssh client nor server installed, let say host_client and host_server. In host_server is running a net service in port number 1540, which transfers huge amount of data to host_client. I know that such data is heavily compressible. The aim is make some port fowarding with compression between the two hosts by mean of netcat or some similar tool (socat, etc). With netcat we can do port forwarding in a easy way (backpipe is created with mkfifo): 1) On server_host, run: nc -l -p 9999 < /var/tmp/backpipe | nc localhost 1540 > /var/tmp/backpipe 2) In client_host, run: nc -l -p 9999 < /var/tmp/backpipe | nc server_host 9999 > /var/tmp/backpipe With this approach, you can configure client to connect to client_host:9999, and magically works fine: the client succesfully connects to server_host:1540 and can talk properly. client_host:9999 <------------> server_host:9999 < ------------ -> server_host:1540 Well, the idea is to compress the net traffic in the first step, between client_host:9999 and server_host:9999. The improvement would be huge. I have tried the following, with no succes: 1) On server_host, run: nc -l 9999 < /var/tmp/backpipe | nc localhost 1540 | gzip > /var/tmp/backpipe 2) In client_host, run: nc -l 9999 < /var/tmp/backpipe | nc server_host 9999 | gzip -dc > /var/tmp/backpipe But when I configure my client to point to client_host:9999, nothing happens, and I get a conect timeout, as both client and server cannot talk properly. Obviously, the problem is with gzip. Any comment or suggestion will be welcome, regards. From owner-freebsd-questions@freebsd.org Thu Dec 3 17:40:18 2015 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 12D26A4026A for ; Thu, 3 Dec 2015 17:40:18 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7DDEF197D for ; Thu, 3 Dec 2015 17:40:16 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from becker.bs.l ([85.180.6.128]) by mrelayeu.kundenserver.de (mreue103) with ESMTPSA (Nemesis) id 0MBZzS-1ZxM3K47fy-00AUM9 for ; Thu, 03 Dec 2015 18:40:09 +0100 Received: from bsch by becker.bs.l with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1a4XrU-000PnU-AD for freebsd-questions@freebsd.org; Thu, 03 Dec 2015 18:40:08 +0100 Date: Thu, 3 Dec 2015 18:40:08 +0100 From: Bertram Scharpf To: freebsd-questions@freebsd.org Subject: X won't start Message-ID: <20151203174008.GA98937@becker.bs.l> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: Bertram Scharpf X-Provags-ID: V03:K0:SZsgghz4y0Efqt4CmIE+uExaDjEtJMrX5+TwhOrQ9q88J938+ap OvBsASxMk9+FgROYxLXwU4I6gZpa/0z/6TvGwlrVnf+kmAbsdG0Sy4SOzx+Acat0Ah0iA6L FopKZdp78knrTXRCILo76V07TqV5jlsQsz/svHr1rmAGbYpL6OC9oCDTPdPSIUBZVqy73wX DfTigI78avRh5yC72UTBg== X-UI-Out-Filterresults: notjunk:1;V01:K0:YsLqHOrj+14=:wugh5hX7AnQlx+dKVW1SgH elk5qiHmuj7Bb96aWD4QHYD9AH3LWP0Mt9M+skxKqMfNI6CQ4jO4sCRMmrtf3KlsBegOHGIrM /oF87pgEGDf6H8jV1AZek373ziDcnJQVX7ViwEBRvPti9WXZr38b6Sfh92c5ZlyrT4YaQs+J+ DrGcAKeCNjO7dLeuMxwScPDUpnrnxAmxKjF2K5rTr5nWB6wYlUuaVn9XCFRCMvosAANiscsKv ofhD/dkdGvCUsymS5VEzKyn74ARq2F7HUA8zjtoXDtqnvgDMDaCDz2GKSKKpqF58XoY8rogET 16wUKCWDiHkHqb2pdO5m6Py0KbshWERbm4lX0kyLQHNPjhUaiZmLWoidB0WftDMygCirQGuVz aRzhYk7T4JXDm1GEElATVt5Vips/8t1nOsiGoIv7eGsLidNdSzAkjlrIcZkCxXSIA6WXlFYq8 0XBmCPUuheC80XQ3WI8XacRDXE4hFU8gdxVbXLP5WKnhHTF401FN2pqrPBkCLwp5FWATMRcVx AxReh5ag6dzt5VI0h8WoPbMsc1k/t7qawfhiWQu6Uxie6mgMt/YCNjeexO7ws2tcSlO6QMQas /XE9BC9U8+0HJYcw0kfKI3PPm6fpa6vE8E2Egqx2vrV1pVW/LuNg0wGTsxJHiRk9v4TKc2rD0 btAT9fG8+QmVmXgN9K0S2UBZoPGQaf8G/sOYHNrpn8f7y+2OuKvvYgZwL6HTHHjXJWqA= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 17:40:18 -0000 Hi, on my new notebook I am not able to start X. This is really annoying. First I tried to generate an xorg.conf file. This ended in an error message: # X -configure [...] (++) Using config file: "/root/xorg.conf.new" (==) Using system config directory "/usr/local/share/X11/xorg.conf.d" Number of created screens does not match number of detected devices. Configuration failed. (EE) Server terminated with error (2). Closing log file. The file "xorg.conf.new" was still written. It contains a section: Section "Device" Identifier "Card0" Driver "intel" BusID "PCI:0:2:0" EndSection I compare that with the output of this command: # pciconf -lv | grep -A 4 vga vgapci0@pci0:0:2:0: class=0x030000 card=0x803a103c chip=0x16068086 rev=0x08 hdr=0x00 vendor = 'Intel Corporation' device = 'Broadwell-U Integrated Graphics' class = display subclass = VGA Looks good, doesn't it? Besides that, Linux on the same machine uses the "intel" driver successfully. When I start X using the newly generated configuration file, I get another error message: # X -config /root/xorg.conf.new [...] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec 3 17:45:00 2015 (++) Using config file: "/root/xorg.conf.new" (==) Using system config directory "/usr/local/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) no screens found(EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. But when I start X without a config file, I starts up but is not very usable. # X [...] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec 3 17:49:55 2015 (==) Using system config directory "/usr/local/share/X11/xorg.conf.d" failed to set mtrr: Invalid argument Neither keyboard nor mouse (touchpad) work. When I ssh into the machine in a second window, programs like "xterm" start. The graphics get updated as I can see by starting "xclock". In the window I started X from I cannot end it using Ctrl-C. Neither can I kill it from the other ssh with a TERM signal. Only "kill -s KILL" works. Besides that, I cannot switch back to the console using Ctrl-Alt-F1, altough "kern.vty=vt" is set in "/boot/loader.conf". /var/log/Xorg.0.log has >700 lines with serveral EE. One line says: (II) LoadModule: "vesa" What is going on here and what can I do to run X some day? Thanks in advance. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From owner-freebsd-questions@freebsd.org Thu Dec 3 17:57:07 2015 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 9F5D5A40622 for ; Thu, 3 Dec 2015 17:57:07 +0000 (UTC) (envelope-from mfv@bway.net) Received: from smtp2.bway.net (smtp2.bway.net [216.220.96.28]) (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 6424E113E for ; Thu, 3 Dec 2015 17:57:07 +0000 (UTC) (envelope-from mfv@bway.net) Received: from gecko4 (host-216-220-115-162.dsl.bway.net [216.220.115.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m1316v@bway.net) by smtp2.bway.net (Postfix) with ESMTPSA id 89CF09589C for ; Thu, 3 Dec 2015 12:56:56 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bway.net; s=mail; t=1449165417; bh=4EsMPh0/zyXAOmQMNfEG5SLtDBwU88Zgz7FZDowTXTo=; h=Date:From:To:Subject:In-Reply-To:References:Reply-To; b=BoMWDmcxusf/wdmBZ50oERsKXMfxtHm7CRnbk7SoDcAdMJA4AxtC/8mhTFO8671KZ xQQ3WNblbOfBXiBTzSy1gWWj08/bZgZQilYwQs6d/1t7OC8G8HEkB2CsSVDp8AJ2TL XrViiS9IxSK+/uId3HuU8geDwDPA7q3tt/vTgnPo= Date: Thu, 3 Dec 2015 12:56:56 -0500 From: mfv To: freebsd-questions@freebsd.org Subject: Re: tcsh issue Message-ID: <20151203125656.03590261@gecko4> In-Reply-To: <56605CE0.4010105@hiwaay.net> References: <56605CE0.4010105@hiwaay.net> Reply-To: mfv@bway.net 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.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 17:57:07 -0000 > On Thu, 2015-12-03 at 09:22 "William A. Mahaffey III" > wrote: > >I am having a puzzling problem w/ the tcsh shell locating a script >that I think it should be finding: > > >[wam@devbox, TEST, 9:18:10am] 1399 % which beginbg >beginbg: Command not found. >[wam@devbox, TEST, 9:18:21am] 1400 % set >_ which beginbg > >addsuffix >anyerror >argv () >autoexpand >autolist ambiguous >autorehash >csubstnonl >cwd /home/wam/V8/Cnx/test/junk/cart/unstaggered/bfc/TEST >cwdcmd echo -n "^[]2;${HOST}:$cwd^G^[]1;${HOST}^G" >dirstack (/home/wam/V8/Cnx/test/junk/cart/unstaggered/bfc/TEST >/home/wam/V8/Cnx/test/junk/cart/unstaggered/bfc/MSChemistry/chemWAM) >dirw /home/wam/V8/Cnx/test/junk/cart/unstaggered >dunique >echo_style both >edit >euid 1110 >euser wam >fignore (.o .obj .u) >filec >gid 1110 >group unknown >histdup prev >history 1000 >home /home/wam >killring 30 >loginsh >mail /var/mail/wam >owd /home/wam/V8/Cnx/test/junk/cart/unstaggered/bfc/MSChemistry/chemWAM >path (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin >/usr/local/bin /home/wam/bin) >prompt %B%{\e]2\;%n@%m %l %~%#^g\e]1\;%n@%m^g\r%}[%n@%m, %c, %p] ! %% >%b prompt2 %R? >prompt3 CORRECT>%R (y|n|e|a)? >savehist (300 merge) >shell /bin/tcsh >shlvl 1 >status 0 >tcsh 6.18.01 >term xterm >time (10 whew !!!! that took (%U cpu + %S sys) sec., %E elapsed >time tot, %P CPU efficiency > (%X text, %D data, %M max) KB, (%I+%O) io, %F pfs + %W swaps) >tty pts/3 >uid 1110 >user wam >version tcsh 6.18.01 (Astron) 2012-02-14 (x86_64-amd-FreeBSD) options >wide,nls,dl,al,kan,sm,rh,color,filec >[wam@devbox, TEST, 9:18:25am] 1401 % lf /home/wam/bin >AslashP* VectorExe.AMD64* backupSMB* >fsplit.fried* patch2AMD* rawread* sbg* >Batch* VectorExe.AMD64.new* backupUSB.sh >getopt-parse.bash patch2AMD.lnx* refreshCFD* sinstCFD* >BenchMarks.tgz VectorExe.AMD64.new~* beginbg* >getopt-parse.tcsh patchIEXEs* resig* snap-mysql.txt >BenchmarkDLL.exe VectorExe.EM64a* chext* >grep-pdf patchILIBs* rinstCFD* sqlitebrowser* >BenchmarkNew.exe VectorExe.IA32* chkdir* >grep-pdf-multi pdfs2ps* runCELMINT* texi2man* >GaussExe* Vector_Exe_Absoft* clean_rename* >grepOUTPUT* pdfstops* runchem* tops* >GaussExe.IA32* Vector_Exe_G77* cleanup* >hddtemp.sh* portUpgrade.sh runit* unplugUSB.sh >GaussExe~* Vector_Exe_Intc* cpuid* >lock* portsync.sh saveFiles* updateExes* >MakeLIB archive* dumptz* >matt.tgz psgz2pdf* saveFiles2* >SaveSrc* backup.0th.sh* ebg* memZFS* >pstotext* saveFiles3* >SaveStuff* backup.sh fsplit* >memZFS.sh* qemu-linux-user.sh* savesrc* >[wam@devbox, TEST, 9:18:38am] 1402 % which beginbg >beginbg: Command not found. >[wam@devbox, TEST, 9:18:49am] 1403 % uname -a >FreeBSD devbox 9.3-RELEASE-p30 FreeBSD 9.3-RELEASE-p30 #0: Mon Nov 2 >10:11:50 UTC 2015 >root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >[wam@devbox, TEST, 9:19:55am] 1404 % > > >i.e. the file 'beginbg' ( a shell script) appears in the file ~/bin >(/home/wam/bin) which is in the search path, yet the shell doesn't >find it .... Pilot error ? TIA for any clues & have a good one. > > Hello William, I'd first check the permission of the script to be certain that it is executable. Then run "rehash" or logout then log back in. Cheers ... Marek From owner-freebsd-questions@freebsd.org Thu Dec 3 20:27:49 2015 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 AC202A40C55 for ; Thu, 3 Dec 2015 20:27:49 +0000 (UTC) (envelope-from xxjack12xx@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::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 2A865108A for ; Thu, 3 Dec 2015 20:27:49 +0000 (UTC) (envelope-from xxjack12xx@gmail.com) Received: by wmww144 with SMTP id w144so38200780wmw.0 for ; Thu, 03 Dec 2015 12:27:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=xChlVY9DCNWUQGhxgiZLydq8TdyI0HlCYqoIgaREjCk=; b=TsoY/9mMoFr/b/0VPlb3oPPYWoJUs6w8u1aJ+Ia2qE1cV/YKXpg9QkqUaVRm0/EE4L jC5GIEPYmkbalxPS/vY6M9US41XP42DQp11jAm8wdHivWJ6hP9FaAwvR+QCkBV8x4DO6 fNomHIP4CbYIO9r1KnShPwaHalEMAjui89nmNKDYpEjBFA/7kMrzIRI9PXaktdSM6ozs GVGCI0IWSNCi2Wvx2MHJoLJAOShjNP2ylxjx/VSDB97HXKIC6ZXTpgphrA/sfCLqUF+s eY3sWETytg5cGql1aRP3PIMvQA1QzM3KQteW2AnfQGF522sX+bRJvLZMubPvdBE2oCUN gMig== X-Received: by 10.194.112.131 with SMTP id iq3mr13097623wjb.35.1449174466950; Thu, 03 Dec 2015 12:27:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.202.201 with HTTP; Thu, 3 Dec 2015 12:27:07 -0800 (PST) In-Reply-To: <20151203174008.GA98937@becker.bs.l> References: <20151203174008.GA98937@becker.bs.l> From: "Jack L." Date: Thu, 3 Dec 2015 12:27:07 -0800 Message-ID: Subject: Re: X won't start To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 20:27:49 -0000 What version of X? What version of FreeBSD? What happens when you just type startx without any xorg.conf? On Thu, Dec 3, 2015 at 9:40 AM, Bertram Scharpf wrote: > Hi, > > on my new notebook I am not able to start X. This is really > annoying. > > First I tried to generate an xorg.conf file. This ended in > an error message: > > # X -configure > [...] > (++) Using config file: "/root/xorg.conf.new" > (==) Using system config directory "/usr/local/share/X11/xorg.conf.d" > Number of created screens does not match number of detected devices. > Configuration failed. > (EE) Server terminated with error (2). Closing log file. > > The file "xorg.conf.new" was still written. It contains a > section: > > Section "Device" > Identifier "Card0" > Driver "intel" > BusID "PCI:0:2:0" > EndSection > > I compare that with the output of this command: > > # pciconf -lv | grep -A 4 vga > vgapci0@pci0:0:2:0: class=0x030000 card=0x803a103c chip=0x16068086 > rev=0x08 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Broadwell-U Integrated Graphics' > class = display > subclass = VGA > > Looks good, doesn't it? Besides that, Linux on the same > machine uses the "intel" driver successfully. > > When I start X using the newly generated configuration file, > I get another error message: > > # X -config /root/xorg.conf.new > [...] > (==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec 3 17:45:00 2015 > (++) Using config file: "/root/xorg.conf.new" > (==) Using system config directory "/usr/local/share/X11/xorg.conf.d" > (EE) > Fatal server error: > (EE) no screens found(EE) > (EE) > Please consult the The X.Org Foundation support > at http://wiki.x.org > for help. > (EE) Please also check the log file at "/var/log/Xorg.0.log" for > additional information. > (EE) > (EE) Server terminated with error (1). Closing log file. > > > But when I start X without a config file, I starts up but > is not very usable. > > # X > [...] > (==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec 3 17:49:55 2015 > (==) Using system config directory "/usr/local/share/X11/xorg.conf.d" > failed to set mtrr: Invalid argument > > Neither keyboard nor mouse (touchpad) work. When I ssh into > the machine in a second window, programs like "xterm" start. > The graphics get updated as I can see by starting "xclock". > > In the window I started X from I cannot end it using > Ctrl-C. Neither can I kill it from the other ssh with a TERM > signal. Only "kill -s KILL" works. Besides that, I cannot > switch back to the console using Ctrl-Alt-F1, altough > "kern.vty=vt" is set in "/boot/loader.conf". > > /var/log/Xorg.0.log has >700 lines with serveral EE. One > line says: > > (II) LoadModule: "vesa" > > What is going on here and what can I do to run X some day? > > Thanks in advance. > > Bertram > > > -- > Bertram Scharpf > Stuttgart, Deutschland/Germany > http://www.bertram-scharpf.de > _______________________________________________ > 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 Thu Dec 3 20:42:43 2015 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 5FB5DA4020D for ; Thu, 3 Dec 2015 20:42:43 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2505218FE for ; Thu, 3 Dec 2015 20:42:42 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id tB3KgQm4029470 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 3 Dec 2015 13:42:26 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id tB3KgPrp029466; Thu, 3 Dec 2015 13:42:26 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Thu, 3 Dec 2015 13:42:25 -0700 (MST) From: Warren Block To: Bertram Scharpf cc: freebsd-questions@freebsd.org Subject: Re: X won't start In-Reply-To: <20151203174008.GA98937@becker.bs.l> Message-ID: References: <20151203174008.GA98937@becker.bs.l> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Thu, 03 Dec 2015 13:42:26 -0700 (MST) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 20:42:43 -0000 On Thu, 3 Dec 2015, Bertram Scharpf wrote: > First I tried to generate an xorg.conf file. This ended in > an error message: > > # X -configure > [...] > (++) Using config file: "/root/xorg.conf.new" > (==) Using system config directory "/usr/local/share/X11/xorg.conf.d" > Number of created screens does not match number of detected devices. > Configuration failed. > (EE) Server terminated with error (2). Closing log file. > > The file "xorg.conf.new" was still written. It contains a > section: > > Section "Device" > Identifier "Card0" > Driver "intel" > BusID "PCI:0:2:0" > EndSection > > I compare that with the output of this command: > > # pciconf -lv | grep -A 4 vga > vgapci0@pci0:0:2:0: class=0x030000 card=0x803a103c chip=0x16068086 rev=0x08 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Broadwell-U Integrated Graphics' > class = display > subclass = VGA > > Looks good, doesn't it? Besides that, Linux on the same > machine uses the "intel" driver successfully. Broadwell is not yet supported by the intel driver version in FreeBSD. At present, vesa must be used. From owner-freebsd-questions@freebsd.org Thu Dec 3 22:21:48 2015 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 8AB52A405EF for ; Thu, 3 Dec 2015 22:21:48 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.74]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CB0DB1006 for ; Thu, 3 Dec 2015 22:21:47 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from becker.bs.l ([85.180.6.162]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0Lm4GH-1adx8k05h3-00Zcvq for ; Thu, 03 Dec 2015 23:21:39 +0100 Received: from bsch by becker.bs.l with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1a4cFt-0000LB-TM for freebsd-questions@freebsd.org; Thu, 03 Dec 2015 23:21:37 +0100 Date: Thu, 3 Dec 2015 23:21:37 +0100 From: Bertram Scharpf To: freebsd-questions@freebsd.org Subject: Re: X won't start Message-ID: <20151203222137.GA1111@becker.bs.l> Mail-Followup-To: freebsd-questions@freebsd.org References: <20151203174008.GA98937@becker.bs.l> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: Bertram Scharpf X-Provags-ID: V03:K0:PBhoZQwgcx6noKJ+XMZg0/bl2TVrmhBJG0NXplZdrhr+ygcwX/I VLZIMSpHkk0ud/OMtftpDc0Qvrpfutg/j1V3lTX9DIXqGeTLe8ycrlC49Qw+S/nBwZr82f/ SUAbJNahStrPy+6drN2Nwj+9KETY4LfI1pLBuBmdesOh8+zEQPfP4yLoAgOVHRHheT+0MsO 0p+iLeLy5MjNFexEnz50g== X-UI-Out-Filterresults: notjunk:1;V01:K0:P6jbHAqAZ74=:r01xJcQVbXVIgh1xGbyuYN rb8Sx3HSMbiE1sL7KYNkhsCo8J6Vs7fGJD/oBgj+uu8DqxYnzFyzqXRt1uJo5ug/Yti+u+Nox QJi7juwnbRaCH03KJXFyL9X4zpg56a3q4hsVG6RRbGQ9p7YxPhrx+qS8R0jQmj6ObDIQqEsdP GG0Rk+PPOYcWd3y3qgiZYXwsIrwY2b+mBgwyNknoDQdlOReilBBVlZAAAYjL7t5Z48gfouTcv 4c3IFDcGOQCz5VJ0oDVYEUdg7ZYs+IdI1j9uYQyos/m/mXBmspu9r/i3v4RjrPA7dcT8tSLu7 bWbIjaOp3XiKGtWluyWCjnaTUrSP5hPL9EAI0OEIiTPPYiO98l8vjSv31HM0MHWbiaIEO5vBW InctsyyJ/lzxBSR/jkgDveFvNkBNZ0UNU8cBWelHAzUwGIgMmYukWMhLxsQf+NzeFvJwLqkFu CEeTiTIJRM/ZZsVMjgHmQ3dH/fe54sYfmTFfCnNMDD6JLSGEV1LC2xS5MUB1zY1k+ls3xg2F5 +YERdLmNcTsbZau6AewIYVR93XGh0I3SkD4u+GX6OV2psfCtQCDta8F9GEBza+uecZwhO94mN NfMePeRts3xOD0L5MI2xdedFXJz+9a/10oqEDfiq5cVbRR0cmUOZnZLTEm0vMjPUtDps8yIF/ vnG0VOxFPVbpWQpV6p+h5bk0QaLBCa7ak3/m2y/ySzdvVWkhYQ0T1pk9KfsUGrNhJoQ8= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 22:21:48 -0000 On Thursday, 03. Dec 2015, 13:42:25 -0700, Warren Block wrote: > On Thu, 3 Dec 2015, Bertram Scharpf wrote: > > > > Section "Device" > > Identifier "Card0" > > Driver "intel" > > BusID "PCI:0:2:0" > > EndSection > > > > # pciconf -lv | grep -A 4 vga > > vgapci0@pci0:0:2:0: class=0x030000 card=0x803a103c chip=0x16068086 rev=0x08 hdr=0x00 > > vendor = 'Intel Corporation' > > device = 'Broadwell-U Integrated Graphics' > > class = display > > subclass = VGA > > > > Looks good, doesn't it? Besides that, Linux on the same > > machine uses the "intel" driver successfully. > > Broadwell is not yet supported by the intel driver version in FreeBSD. > At present, vesa must be used. Arrgh! That hurts. It is already the second built-in device that is not supported. (The other one is the RTL8723BE wirelass card.) What does "not yet"/"at present" mean? Is there currently work on it? I would not mind to contribute, not least because I now own an excellent testing environment. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From owner-freebsd-questions@freebsd.org Thu Dec 3 22:31:07 2015 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 37B84A408E0 for ; Thu, 3 Dec 2015 22:31:07 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::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 C64E21281 for ; Thu, 3 Dec 2015 22:31:06 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by wmww144 with SMTP id w144so40300354wmw.1 for ; Thu, 03 Dec 2015 14:31:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=8rB4sd4c4t59CYqziqgcHfP1MiVkURifH78VlEQ0vh4=; b=H3G39NVrlYeusN7bquD2H2V1/tBKTaOkPGfQTn6Bh3tH7Ltj3fwhoQcmxFrDm6O0qX 6KHMDQ7cbSuIIeviKGo1HU388oIDrGH2KrOg8Uly+wLFWU5o+go202OQQj9eT1L1yHzi 8d2G9v0pR8cFEn64zO8lR0B7eISajP0Kfj4Wz1hb8I4UxigdLUbu/NwWTJqsCBc1Vpnb w8TSnPb7W4DS7cMNvuCrglOiVhdq5gj1US8cMMpjnjUeq4CPAh64vusN75WYwkyKNhWr KTVTihpbIX9rXwbZ25fXe+Y4+ed/BOKRpjC2GzhC4R6iCtkmxdTOHZfDE0H8RqgJ6/tH 3w4A== MIME-Version: 1.0 X-Received: by 10.28.105.23 with SMTP id e23mr1100536wmc.80.1449181865374; Thu, 03 Dec 2015 14:31:05 -0800 (PST) Received: by 10.194.192.33 with HTTP; Thu, 3 Dec 2015 14:31:05 -0800 (PST) In-Reply-To: <20151203222137.GA1111@becker.bs.l> References: <20151203174008.GA98937@becker.bs.l> <20151203222137.GA1111@becker.bs.l> Date: Thu, 3 Dec 2015 16:31:05 -0600 Message-ID: Subject: Re: X won't start From: Adam Vande More To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 22:31:07 -0000 On Thu, Dec 3, 2015 at 4:21 PM, Bertram Scharpf wrote: > On Thursday, 03. Dec 2015, 13:42:25 -0700, Warren Block wrote: > > On Thu, 3 Dec 2015, Bertram Scharpf wrote: > > > > > > Section "Device" > > > Identifier "Card0" > > > Driver "intel" > > > BusID "PCI:0:2:0" > > > EndSection > > > > > > # pciconf -lv | grep -A 4 vga > > > vgapci0@pci0:0:2:0: class=0x030000 card=0x803a103c > chip=0x16068086 rev=0x08 hdr=0x00 > > > vendor = 'Intel Corporation' > > > device = 'Broadwell-U Integrated Graphics' > > > class = display > > > subclass = VGA > > > > > > Looks good, doesn't it? Besides that, Linux on the same > > > machine uses the "intel" driver successfully. > > > > Broadwell is not yet supported by the intel driver version in FreeBSD. > > At present, vesa must be used. > > Arrgh! That hurts. It is already the second built-in device > that is not supported. (The other one is the RTL8723BE > wirelass card.) > > What does "not yet"/"at present" mean? Is there currently > work on it? I would not mind to contribute, not least > because I now own an excellent testing environment. > I believe broadwell is covered in the 3.8 update. https://wiki.freebsd.org/Graphics/Update%20i915%20GPU%20driver%20to%20Linux%203.8 -- Adam From owner-freebsd-questions@freebsd.org Thu Dec 3 23:40:14 2015 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 10AF6A3E729 for ; Thu, 3 Dec 2015 23:40:14 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (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 CA6201449 for ; Thu, 3 Dec 2015 23:40:13 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-76-245.dynamic.qsc.de [92.195.76.245]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id D55663CED3; Fri, 4 Dec 2015 00:34:24 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id tB3NYNwp002017; Fri, 4 Dec 2015 00:34:23 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 4 Dec 2015 00:34:23 +0100 From: Polytropon To: "William A. Mahaffey III" Cc: FreeBSD Questions !!!! Subject: Re: tcsh issue Message-Id: <20151204003423.6e95c19b.freebsd@edvax.de> In-Reply-To: <56605CE0.4010105@hiwaay.net> References: <56605CE0.4010105@hiwaay.net> 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-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 23:40:14 -0000 On Thu, 3 Dec 2015 09:22:18 -0553.75, William A. Mahaffey III wrote: > > > I am having a puzzling problem w/ the tcsh shell locating a script that > I think it should be finding: > > > [wam@devbox, TEST, 9:18:10am] 1399 % which beginbg > beginbg: Command not found. > [wam@devbox, TEST, 9:18:21am] 1400 % set > _ which beginbg > [...] > path (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin > /usr/local/bin /home/wam/bin) [...] > [wam@devbox, TEST, 9:18:25am] 1401 % lf /home/wam/bin [...] > BenchMarks.tgz VectorExe.AMD64.new~* beginbg* [...] > [wam@devbox, TEST, 9:18:38am] 1402 % which beginbg > beginbg: Command not found. > [wam@devbox, TEST, 9:18:49am] 1403 % uname -a > FreeBSD devbox 9.3-RELEASE-p30 FreeBSD 9.3-RELEASE-p30 #0: Mon Nov 2 > 10:11:50 UTC 2015 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > [wam@devbox, TEST, 9:19:55am] 1404 % > > > i.e. the file 'beginbg' ( a shell script) appears in the file ~/bin > (/home/wam/bin) which is in the search path, yet the shell doesn't find > it .... Pilot error ? TIA for any clues & have a good one. Just make sure permissions are okay (but it seems to be correct from the completition list): % ls -la /home/wam/bin/beginbg Also make sure the shell has "picked up" a new command. Use % rehash to let the shell know about any new commands in $PATH. And then read "Csh Programming Considered Harmful" written by Tom Christiansen: http://sc.tamu.edu/help/other/CshProgrammingConsideredHarmful.html I'm just saying because I once wrote a C shell script to automatically enumerate files... ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu Dec 3 23:42:49 2015 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 635ACA3E8DA for ; Thu, 3 Dec 2015 23:42:49 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (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 32699186D for ; Thu, 3 Dec 2015 23:42:48 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id tB3NgfMN030749 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 3 Dec 2015 17:42:42 -0600 Subject: Re: tcsh issue References: <56605CE0.4010105@hiwaay.net> <20151204003423.6e95c19b.freebsd@edvax.de> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <5660D371.2080000@hiwaay.net> Date: Thu, 3 Dec 2015 17:48:11 -0553.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151204003423.6e95c19b.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 23:42:49 -0000 On 12/03/15 17:40, Polytropon wrote: > On Thu, 3 Dec 2015 09:22:18 -0553.75, William A. Mahaffey III wrote: >> >> I am having a puzzling problem w/ the tcsh shell locating a script that >> I think it should be finding: >> >> >> [wam@devbox, TEST, 9:18:10am] 1399 % which beginbg >> beginbg: Command not found. >> [wam@devbox, TEST, 9:18:21am] 1400 % set >> _ which beginbg >> > [...] >> path (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin >> /usr/local/bin /home/wam/bin) > [...] >> [wam@devbox, TEST, 9:18:25am] 1401 % lf /home/wam/bin > [...] >> BenchMarks.tgz VectorExe.AMD64.new~* beginbg* > [...] >> [wam@devbox, TEST, 9:18:38am] 1402 % which beginbg >> beginbg: Command not found. >> [wam@devbox, TEST, 9:18:49am] 1403 % uname -a >> FreeBSD devbox 9.3-RELEASE-p30 FreeBSD 9.3-RELEASE-p30 #0: Mon Nov 2 >> 10:11:50 UTC 2015 >> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >> [wam@devbox, TEST, 9:19:55am] 1404 % >> >> >> i.e. the file 'beginbg' ( a shell script) appears in the file ~/bin >> (/home/wam/bin) which is in the search path, yet the shell doesn't find >> it .... Pilot error ? TIA for any clues & have a good one. > Just make sure permissions are okay (but it seems to be correct > from the completition list): > > % ls -la /home/wam/bin/beginbg > > Also make sure the shell has "picked up" a new command. Use > > % rehash > > to let the shell know about any new commands in $PATH. > > And then read "Csh Programming Considered Harmful" written by > Tom Christiansen: > > http://sc.tamu.edu/help/other/CshProgrammingConsideredHarmful.html > > I'm just saying because I once wrote a C shell script to > automatically enumerate files... ;-) Permissions were indeed the problem, which is puzzling since I copied (cp -p) the file from my linux box where it has worked for years, file was/is dated 2006, I haven't messed w/ it in ages .... Thanks :-) !!!! -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Thu Dec 3 23:52:18 2015 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 374E7A3EA9C for ; Thu, 3 Dec 2015 23:52:18 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (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 043771B91 for ; Thu, 3 Dec 2015 23:52:17 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id tB3NqFWZ004755 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 3 Dec 2015 17:52:16 -0600 Subject: Re: tcsh issue References: <56605CE0.4010105@hiwaay.net> <20151204003423.6e95c19b.freebsd@edvax.de> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <5660D5AF.8000108@hiwaay.net> Date: Thu, 3 Dec 2015 17:57:45 -0553.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151204003423.6e95c19b.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 23:52:18 -0000 On 12/03/15 17:40, Polytropon wrote: > On Thu, 3 Dec 2015 09:22:18 -0553.75, William A. Mahaffey III wrote: >> >> I am having a puzzling problem w/ the tcsh shell locating a script that >> I think it should be finding: >> >> >> [wam@devbox, TEST, 9:18:10am] 1399 % which beginbg >> beginbg: Command not found. >> [wam@devbox, TEST, 9:18:21am] 1400 % set >> _ which beginbg >> > [...] >> path (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin >> /usr/local/bin /home/wam/bin) > [...] >> [wam@devbox, TEST, 9:18:25am] 1401 % lf /home/wam/bin > [...] >> BenchMarks.tgz VectorExe.AMD64.new~* beginbg* > [...] >> [wam@devbox, TEST, 9:18:38am] 1402 % which beginbg >> beginbg: Command not found. >> [wam@devbox, TEST, 9:18:49am] 1403 % uname -a >> FreeBSD devbox 9.3-RELEASE-p30 FreeBSD 9.3-RELEASE-p30 #0: Mon Nov 2 >> 10:11:50 UTC 2015 >> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >> [wam@devbox, TEST, 9:19:55am] 1404 % >> >> >> i.e. the file 'beginbg' ( a shell script) appears in the file ~/bin >> (/home/wam/bin) which is in the search path, yet the shell doesn't find >> it .... Pilot error ? TIA for any clues & have a good one. > Just make sure permissions are okay (but it seems to be correct > from the completition list): > > % ls -la /home/wam/bin/beginbg > > Also make sure the shell has "picked up" a new command. Use > > % rehash > > to let the shell know about any new commands in $PATH. > > And then read "Csh Programming Considered Harmful" written by > Tom Christiansen: > > http://sc.tamu.edu/help/other/CshProgrammingConsideredHarmful.html > > I'm just saying because I once wrote a C shell script to > automatically enumerate files... ;-) P.S. That link really takes me back, dude's email address is convex.com. The 1st UNIX machine I worked on (end user) was also the 1st Convex machine (a C1) installed in HSV .... *Loved that machine* .... .... & I have come to agree about csh scripts, but this one is so small & simple (3 lines, a wrapper to run a process in BG, nice it down, redirect stdout & stderr to a file, & clock it) I let it live .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Fri Dec 4 01:55:49 2015 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 2CD07A3680E for ; Fri, 4 Dec 2015 01:55:49 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EFBA1117C for ; Fri, 4 Dec 2015 01:55:48 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id tB41tavg006018 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 3 Dec 2015 18:55:36 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id tB41taEU006015; Thu, 3 Dec 2015 18:55:36 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Thu, 3 Dec 2015 18:55:36 -0700 (MST) From: Warren Block To: Bertram Scharpf cc: freebsd-questions@freebsd.org Subject: Re: X won't start In-Reply-To: <20151203222137.GA1111@becker.bs.l> Message-ID: References: <20151203174008.GA98937@becker.bs.l> <20151203222137.GA1111@becker.bs.l> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Thu, 03 Dec 2015 18:55:36 -0700 (MST) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2015 01:55:49 -0000 On Thu, 3 Dec 2015, Bertram Scharpf wrote: > On Thursday, 03. Dec 2015, 13:42:25 -0700, Warren Block wrote: >> On Thu, 3 Dec 2015, Bertram Scharpf wrote: >>> >>> Section "Device" >>> Identifier "Card0" >>> Driver "intel" >>> BusID "PCI:0:2:0" >>> EndSection >>> >>> # pciconf -lv | grep -A 4 vga >>> vgapci0@pci0:0:2:0: class=0x030000 card=0x803a103c chip=0x16068086 rev=0x08 hdr=0x00 >>> vendor = 'Intel Corporation' >>> device = 'Broadwell-U Integrated Graphics' >>> class = display >>> subclass = VGA >>> >>> Looks good, doesn't it? Besides that, Linux on the same >>> machine uses the "intel" driver successfully. >> >> Broadwell is not yet supported by the intel driver version in FreeBSD. >> At present, vesa must be used. > > Arrgh! That hurts. It is already the second built-in device > that is not supported. (The other one is the RTL8723BE > wirelass card.) > > What does "not yet"/"at present" mean? Is there currently > work on it? I would not mind to contribute, not least > because I now own an excellent testing environment. Work is going on right now. The freebsd-x11 mailing list is the place to look: http://lists.freebsd.org/mailman/listinfo/freebsd-x11 From owner-freebsd-questions@freebsd.org Fri Dec 4 02:45:18 2015 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 8A3A4A403E5 for ; Fri, 4 Dec 2015 02:45:18 +0000 (UTC) (envelope-from alexmiroslav@gmail.com) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::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 295681928 for ; Fri, 4 Dec 2015 02:45:18 +0000 (UTC) (envelope-from alexmiroslav@gmail.com) Received: by wmec201 with SMTP id c201so47511896wme.1 for ; Thu, 03 Dec 2015 18:45:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=1pvBceUCWddqy8E/I/D68Ey0LXn5QX/ZWeBiDe2qOtM=; b=wDRE3lBx1cI1D0v79cb0a2L0FT052K81or5OIFT1juTPon5zb0/DCNbT5VqM2WDANQ BkPEfyTYFNtQdoLVYDNz5grm5+Kt6WPwM1ZFvHUJ8CJ+4C1CEo3uq01MF5E9drFCH4Sr UwRVWR4e5ZXEENCmMZG1VZjrBTeXWO4oV++v91rtB4hIAOf9hJtRtzskdAuiomuIKH1S TKsJDU1dV3pBD1CYkJANcLe6fjwGJpHOGdtfkGtf8Z2WjJUI4XsG4jkFlKKYBLj/jdK4 BxyMitqb3t1CceIb70/eWe1j7xg3d86MzfdX53DPE7d+pbXLCso1IbLaeQ335/AhSx1V 83pQ== MIME-Version: 1.0 X-Received: by 10.28.126.197 with SMTP id z188mr2073546wmc.88.1449197116748; Thu, 03 Dec 2015 18:45:16 -0800 (PST) Received: by 10.28.162.16 with HTTP; Thu, 3 Dec 2015 18:45:16 -0800 (PST) In-Reply-To: <20151203073923.17dae0c41a2b5e29a5b3a3dd@sohara.org> References: <20151203073923.17dae0c41a2b5e29a5b3a3dd@sohara.org> Date: Thu, 3 Dec 2015 18:45:16 -0800 Message-ID: Subject: Re: best practice for locking down private jail? From: Aleksandr Miroslav To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2015 02:45:18 -0000 On Wed, Dec 2, 2015 at 11:39 PM, Steve O'Hara-Smith wrote: > I would set up two jails - one as the upload jail the other the web > server and use a cron job on the host to move verified mp3 files Excellent advice, I will do just that. > don't use Apache, use a minimalist web server that can only serve > static files (thttpd can be set up this way - there are others). thttpd doesn't look like it's been updated in a while, but a bit of Googling shows that lighttpd, nginx, and hiawatha are all small secure web servers. Any recommendations from these? > Finally I'd use pf to lock down the traffic so that nothing gets to > the jails that shouldn't. I only have redirects for both the web server jail and the file uploader jail that look like this: rdr pass on $EXT_NIC inet proto tcp from any to $PUBLIC_IP port = $JAIL_UPLOADER_SSH_EXTERNAL_PORT -> $JAIL_UPLOADER_IP port $JAIL_UPLOADER_SSH_PORT rdr pass on $EXT_NIC inet proto tcp from any to $PUBLIC_IP port = $JAIL_WEB_HTTP_EXTERNAL_PORT -> $JAIL_WEB_IP port $JAIL_WEB_HTTP_PORT And both jails are on private IPs that don't talk to each other or the outside host/world. Is this sufficient or should I add blocks for these private jails as well? From owner-freebsd-questions@freebsd.org Fri Dec 4 05:16:18 2015 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 2DB4AA401B3 for ; Fri, 4 Dec 2015 05:16:18 +0000 (UTC) (envelope-from oliver@schonrocks.com) Received: from smtp.schonrocks.com (smtp.schonrocks.com [89.187.108.85]) by mx1.freebsd.org (Postfix) with ESMTP id DFEFC1034 for ; Fri, 4 Dec 2015 05:16:17 +0000 (UTC) (envelope-from oliver@schonrocks.com) Received: from [192.168.40.60] (home.zaheer.org.uk [81.187.127.171]) by smtp.schonrocks.com (Postfix) with ESMTPA id 84592D7FC36 for ; Fri, 4 Dec 2015 05:16:20 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schonrocks.com; s=default; t=1449206180; bh=6HeFWVAn8SQ6UoIFiMWkUJQimstqUH9AY4FCiOH9zC8=; h=Subject:To:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=P3MXhePZvoUXi94GtH1jZymYrrjdIQW/nU8GHsa4a2saszUZ3pwhcmgjNx+vxLxH2 9LUP22SI4BgRPx7+wjZtvkPE6H1kw5vJSEmBae4sfvr7M4dxj88M2uMBCmLGcfda1N cHIp4jo2uM5fcs8z50PlwNUIERw8ZM8AWum+8V6M= Subject: Re: openssl: verify error:num=20:unable to get local issuer certificate To: freebsd-questions@freebsd.org References: <565B2ACD.4030509@schonrocks.com> <565B3495.40005@schonrocks.com> From: Oliver Schonrock Message-ID: <56612199.2030402@schonrocks.com> Date: Fri, 4 Dec 2015 05:16:09 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <565B3495.40005@schonrocks.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="b771VtCpHqfxT1swegXKhnRFBiDKScdTf" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2015 05:16:18 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --b771VtCpHqfxT1swegXKhnRFBiDKScdTf Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 29/11/15 16:41, Oliver Schonrock wrote: > 2. there is something wrong with the openssl installation on that=20 > 10.1 machine. I have spent nearly a week trying to get to the bottom of this. In the end I installed a clean version of FreeBSD 10.1 to a virtual machine and tested that. Result: exactly the same as my production FreeBSD 10.1 machine. ie openssl refuses to verify that cert, no matter what CAfile and CApath setting I pass to it. So, rather than fight the tide, I swam with it and upgraded my production machine from 10.1 to 10.2 =3D> problem solved. For anyone reading this: openssl certificate chain verification in FreeBSD 10.1 seems to be "broken"..certainly is for me. 10.2 works perfectly. --b771VtCpHqfxT1swegXKhnRFBiDKScdTf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJWYSGZAAoJEF6SumULDx4Pb80H/2ny5LN38o5kSQgldyfrtiaG zALwlSmlBdhXS/XqlrZ9SeDloN0xs5+t4CaSZJvOOWTrXR/m53nfF+zzrHlASfNl 1zHPeugFPeg8uQnw08OcfWymTZbXiu/xYYqfUueVwjev5VulBpZ0IyGX08nD6ajU xJOF0IbaJ06m0zaYozGiHgcXeV+I0ic0J8IfToy0B4/kkRyiXsboUuwLlNRWJs/n 3r69epDwioswr6jvRTwCoWdeKE3oY5f2faJiEYd5lQWSvALLQkceFRmcv2uDirjY GApG0bT2p//XrmOc2AVnVYHFeRZhuOUac7qzZosz01Ciex1CyybIp4JhevRPmiM= =3V31 -----END PGP SIGNATURE----- --b771VtCpHqfxT1swegXKhnRFBiDKScdTf-- From owner-freebsd-questions@freebsd.org Fri Dec 4 10:44:59 2015 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 A7CC8A40666 for ; Fri, 4 Dec 2015 10:44:59 +0000 (UTC) (envelope-from xxjack12xx@gmail.com) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::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 469E31A1B for ; Fri, 4 Dec 2015 10:44:59 +0000 (UTC) (envelope-from xxjack12xx@gmail.com) Received: by wmww144 with SMTP id w144so56567763wmw.1 for ; Fri, 04 Dec 2015 02:44:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=Y4VPRAbhAi8IiF9eNywa0+CuURlnhNBnTuHArFQfBKE=; b=IRsXtm8NTRu7uvwcmrWtjVQwzQslwn/XMMO4jhR75M0lcErhU9PDC1DVK5cU0W8cjZ j7fr8PgtwRe5bXDRNCGoGcUZQLP5tpOStMCDtFteU7aMru9x6Md5lZuVUSv+7sXFfc8h w+aBglqnEFmVtgm3A/WE1tf81m9auCAoxt3EaTbDg0pU2Oxi9voJEmXDB1+pGdhvt56N CNtV8iVCoAjRhGXiBV0klWzi6LdonhyaDzGDmZ2LPgSFVQgslZIkaJSk8fr2nuYXG+zB lzZBBJy7g0tvBcK6d9SAU6DsN1SL8TPdY+Chh5eclaVblpNzxaSADEbOgoGThr3mFh8g 72jA== X-Received: by 10.28.47.212 with SMTP id v203mr3926503wmv.37.1449225897756; Fri, 04 Dec 2015 02:44:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.202.201 with HTTP; Fri, 4 Dec 2015 02:44:18 -0800 (PST) From: "Jack L." Date: Fri, 4 Dec 2015 02:44:18 -0800 Message-ID: Subject: pnfs in FreeBSD To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2015 10:44:59 -0000 Does FreeBSD support pnfs as a server (nfs 4.1)? From owner-freebsd-questions@freebsd.org Fri Dec 4 10:47:24 2015 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 66E22A40781 for ; Fri, 4 Dec 2015 10:47:24 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (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 1D69A1B5A for ; Fri, 4 Dec 2015 10:47:23 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: by wmvv187 with SMTP id v187so68428163wmv.1 for ; Fri, 04 Dec 2015 02:47:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bris-ac-uk.20150623.gappssmtp.com; s=20150623; h=date:from:message-id:to:subject:reply-to; bh=Xf15YqnSNnVNgR9PUgXI71goHb//mPaDVcpl6ynjnFk=; b=kTJyuxjN7QZkCt1yWGeJV4QYhgYZt8/KPz2kJomBPUH/Ss2jYiiHXC1LuAKwqeDB8T 7VI43mCQbqAD8QH7sAvagTjTgT8K4oFd2oZsog+1OOEkNV6ADmBVG44ZNesV7n61OZSB 74Qyt5e2VNUdnOAKlKn1qgeQL0SRR1wbX89+BwzTuU3mDe5KqQtHbFhieJxcFIDLy839 iSHmTYMaBvhgG0YzZYnXzAR3OEznNvdPjs3eAndtUxX9TmgaKxblmuiOlBgcVD/OKGWA IiQDCJQJnHpHbCYrlNhqSj2pnRBD34CvoMIrG8D3bEqWnI8TvypKSoh/KLcAmndlXq8X eX9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:reply-to; bh=Xf15YqnSNnVNgR9PUgXI71goHb//mPaDVcpl6ynjnFk=; b=Se4wyUv5gJoE0p8qqAd+X9mQTTqDP/8E6WaV21EavRBO3YMVfP1ZMYBUdzEB0y7RUG cwq5L1dvO30PYYg7Yq1DBJSoZSFxmp/TxaaPpPqNBBnd0Dskg008JpxStWHfDZxxjUtB ygd+N5Cw0AMuTGjrHqi9AniYpp2nhWfq614h+zjqSDPbL7q9rJ9+5mETXr8imvDqgOzm veqYq15vPawPjAcO5bV9nn5p3vrOauzL3auZqjHHh40oqCuuwUppxfzAoEkzgZkN2uws PMp7R94/scpkeDIkPewlRAkSjeXCb/9tVeBgYMVaWuBgw1lMQRk02si/UrytK2CBrkO1 IHgg== X-Gm-Message-State: ALoCoQmVIEf49P2bxvxwFGCFOwzdyDF8kqGRr9/uTb2hNYahYvKMhhZuBDE+p5xA1MAdAEM/+wSV X-Received: by 10.194.71.16 with SMTP id q16mr17044451wju.49.1449226042497; Fri, 04 Dec 2015 02:47:22 -0800 (PST) Received: from mech-as222.men.bris.ac.uk (mech-as222.men.bris.ac.uk. [137.222.170.4]) by smtp.gmail.com with ESMTPSA id k125sm2956245wmf.2.2015.12.04.02.47.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Dec 2015 02:47:22 -0800 (PST) Date: Fri, 04 Dec 2015 02:47:22 -0800 (PST) X-Google-Original-Date: Fri, 4 Dec 2015 10:47:21 GMT Received: from mech-as222.men.bris.ac.uk (localhost [127.0.0.1]) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2) with ESMTP id tB4AlLXa091376 for ; Fri, 4 Dec 2015 10:47:21 GMT (envelope-from mexas@mech-as222.men.bris.ac.uk) Received: (from mexas@localhost) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2/Submit) id tB4AlLEq091375 for freebsd-questions@freebsd.org; Fri, 4 Dec 2015 10:47:21 GMT (envelope-from mexas) From: Anton Shterenlikht Message-Id: <201512041047.tB4AlLEq091375@mech-as222.men.bris.ac.uk> To: freebsd-questions@freebsd.org Subject: help number disks via /boot/device.hints Reply-To: mexas@bris.ac.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2015 10:47:24 -0000 I've a problem - when the fibre disks are connected at boot, the boot disk is not given da0 and I cannot boot. So what I do now is disconnect the fiber disk until boot is completed, and connect is manually afterwards. Then I get: da0 at mpt0 bus 0 scbus3 target 2 lun 0 da0: Fixed Direct Access SPC-3 SCSI device da0: Serial Number B399P790FBEG da0: 300.000MB/s transfers da0: Command Queueing enabled da0: 70006MB (143374000 512 byte sectors: 255H 63S/T 8924C) da1 at isp0 bus 0 scbus2 target 0 lun 5 da1: Fixed Direct Access SPC-2 SCSI device da1: Serial Number P56350GX3RX04Z da1: 200.000MB/s transfers WWNN 0x500805f3000ec220 WWPN 0x500805f3000ec221 PortID 0x10000 da1: Command Queueing enabled da1: 140011MB (286744185 512 byte sectors: 255H 63S/T 17849C) How can I set in /boot/device.hints that the MSA1000 disk is da1 and IBM is the boot disk da0? Thanks Anton From owner-freebsd-questions@freebsd.org Fri Dec 4 10:54:34 2015 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 2BA94A409C6 for ; Fri, 4 Dec 2015 10:54:34 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::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 B95921EB2 for ; Fri, 4 Dec 2015 10:54:33 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: by wmvv187 with SMTP id v187so68695884wmv.1 for ; Fri, 04 Dec 2015 02:54:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=C/HzMVZOvruTOxG/AmTP83JPExVAUVpBKkoPKvmVCv8=; b=VTlmgouiVbbg2VYSNlTjxTp23gkhscmWNf3cCWpDzFrluQ8kKp9OUIdGw7c3V/Ub7I fPDFnByklBuvEO94cChYXhdIpovAD90g1559kLjsGBtFhEtmwlGX3+dzXgNWsCmQQreU 0RptCvus35wEAef2tJZjHwU3gKrnvViJEiLKaRo+cKogY0SiSBmQOPKVt2nVRMK3V9Dr oFhzDjAYkmIYxrKVbuanOTE9HN74rNKCNc3j3C61ZAuK7iJXYiaPZxRv2N0b96oyVUgm SaXX5FEfLwx2N2WW+1fz/9WipauUmrvf55df3WEVTFQvwGXRZRPeYEsa7wB4knniifDz KitA== X-Received: by 10.28.150.11 with SMTP id y11mr4026699wmd.43.1449226472278; Fri, 04 Dec 2015 02:54:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.140.75 with HTTP; Fri, 4 Dec 2015 02:54:12 -0800 (PST) In-Reply-To: <201512041047.tB4AlLEq091375@mech-as222.men.bris.ac.uk> References: <201512041047.tB4AlLEq091375@mech-as222.men.bris.ac.uk> From: Anton Sayetsky Date: Fri, 4 Dec 2015 12:54:12 +0200 Message-ID: Subject: Re: help number disks via /boot/device.hints To: mexas@bris.ac.uk Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2015 10:54:34 -0000 2015-12-04 12:47 GMT+02:00 Anton Shterenlikht : > I've a problem - when the fibre disks are connected > at boot, the boot disk is not given da0 and I cannot boot. > So what I do now is disconnect the fiber disk until boot > is completed, and connect is manually afterwards. > > Then I get: > > da0 at mpt0 bus 0 scbus3 target 2 lun 0 > da0: Fixed Direct Access SPC-3 SCSI device > da0: Serial Number B399P790FBEG > da0: 300.000MB/s transfers > da0: Command Queueing enabled > da0: 70006MB (143374000 512 byte sectors: 255H 63S/T 8924C) > > da1 at isp0 bus 0 scbus2 target 0 lun 5 > da1: Fixed Direct Access SPC-2 SCSI device > da1: Serial Number P56350GX3RX04Z > da1: 200.000MB/s transfers WWNN 0x500805f3000ec220 WWPN 0x500805f3000ec221 PortID 0x10000 > da1: Command Queueing enabled > da1: 140011MB (286744185 512 byte sectors: 255H 63S/T 17849C) > > How can I set in /boot/device.hints that the MSA1000 > disk is da1 and IBM is the boot disk da0? It does not matter what number assigned to disk with FreeBSD. You should setup correct boot order in BIOS/UEFI and/or controller firmware. AFAIK Assigning fixed number to disks is not possible. From owner-freebsd-questions@freebsd.org Fri Dec 4 11:04:57 2015 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 BD9A6A40D7F for ; Fri, 4 Dec 2015 11:04:57 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (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 4CB63178D for ; Fri, 4 Dec 2015 11:04:57 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: by wmuu63 with SMTP id u63so57265143wmu.0 for ; Fri, 04 Dec 2015 03:04:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bris-ac-uk.20150623.gappssmtp.com; s=20150623; h=date:from:message-id:to:subject:reply-to; bh=JW241bBFyo+GwRQE7uTo6BAeSv2AcfVRThJH+2K/IIA=; b=OuNYX4YGYxv66Xypx/77xqqurlgRon6USEAYBMjuFPw9ez9QoG4bh7fO2cHXrKVSHU tC+7+mwJMVMUFBN4aXZaEStHhCyATjGl/HabBv9RCXL14l5AdbA00Qnne4D4Ek6Bb/g6 XN74J/+IgHOcporqCGX0two9yxzUoMLYsEkZkX5fhnsUQSsObBOKH7Pegi94NdjhZaYE SorD6s6yFVPVkjq179Mnph72hGip7SY85DoYfGG49gs1THZRfQM1rrNXSsxlZ6VqUu9J OFAkj83UN34UxDuhmIGHpxjSLaIi+GYjtSep6+fxcKBKWTdeN1YMJ5ktDhL2xA87eOTJ ua1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:reply-to; bh=JW241bBFyo+GwRQE7uTo6BAeSv2AcfVRThJH+2K/IIA=; b=gmRONASefIbFHJD5vE+M3yzTf33lugIxYINyRE8ohiGPFtKMTEiNvhX7d7r9IeVt9h K6SJqyIwCjLrtBIvT4DbVN2MP3RyMyMHFTT2YjcNDtUgWIkXPS43jxPpsmZj4IuFP6zq 2DaqVT5OmcTBAqnz0AnljqgVkS3W5HFPCELelr3X00hESvEe0i+CTlibRwozv9sLugL2 PcEH++Z9i/YVDzymzhVXkrlcCDWEKjwHnEIb4uOJ4xj13y0Xfn0uU91zwMRhR8q0BMxq I4kQcAteuBRPR0ARwoVMFeqpxMyPHwQo8aEjW7L7mXFSwdUqucosnylW7BS8LC1bPEzJ Hrxg== X-Gm-Message-State: ALoCoQnYodnzGVZiwgUWC8tEJ3TlmZWd3mupoqyr3g5MBaR0ukWp8Zq0rxWWntfkLhUdUjBdolvA X-Received: by 10.194.236.228 with SMTP id ux4mr17277670wjc.56.1449227095425; Fri, 04 Dec 2015 03:04:55 -0800 (PST) Received: from mech-as222.men.bris.ac.uk (mech-as222.men.bris.ac.uk. [137.222.170.4]) by smtp.gmail.com with ESMTPSA id jm4sm11576131wjb.7.2015.12.04.03.04.54 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Dec 2015 03:04:55 -0800 (PST) Date: Fri, 04 Dec 2015 03:04:55 -0800 (PST) X-Google-Original-Date: Fri, 4 Dec 2015 11:04:54 GMT Received: from mech-as222.men.bris.ac.uk (localhost [127.0.0.1]) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2) with ESMTP id tB4B4sAP091537 for ; Fri, 4 Dec 2015 11:04:54 GMT (envelope-from mexas@mech-as222.men.bris.ac.uk) Received: (from mexas@localhost) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2/Submit) id tB4B4s5Z091536 for freebsd-questions@freebsd.org; Fri, 4 Dec 2015 11:04:54 GMT (envelope-from mexas) From: Anton Shterenlikht Message-Id: <201512041104.tB4B4s5Z091536@mech-as222.men.bris.ac.uk> To: freebsd-questions@freebsd.org Subject: adduser - gid error? Reply-To: mexas@bris.ac.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2015 11:04:57 -0000 This is on FreeBSD 10.2-RELEASE #0 r286666 amd64. I haven't seen this problem before. I'm adding users with adduser. There are already several users on the system, which I added ages ago also with adduser. All those have default gid equal to uid, e.g.: user1:*:1002:1002: ... user2:*:1003:1003: ... For the user I added today I got: newuser:*:1004:4294967295: ... Does this look right? This gid is not a problem in itself, except when I try to add one more user, I get: # adduser Username: newuser Full name: New User Uid (Leave empty for default): Login group [newuser]: Login group is newuser. Invite newuser into other groups? []: Login class [default]: Shell (sh csh tcsh bash rbash nologin) [sh]: Home directory [/home/newuser]: Home directory permissions (Leave empty for default): Use password-based authentication? [yes]: no Lock out the account after creation? [no]: Username : newuser Password : Full Name : New User Uid : 1005 Class : Groups : newuser Home : /home/newuser Home Mode : Shell : /bin/sh Locked : no OK? (yes/no): yes pw: gid `4294967295' has already been allocated adduser: ERROR: There was an error adding user (newuser). So the system tries to use the same gid, as is used already for another user. This makes me think that 4294967295 is an error. Can anybody else see this behaviour? What shall I do? Thanks Anton From owner-freebsd-questions@freebsd.org Fri Dec 4 13:05:28 2015 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 03E12A40FCB for ; Fri, 4 Dec 2015 13:05:28 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5308F1E62 for ; Fri, 4 Dec 2015 13:05:26 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from becker.bs.l ([85.180.6.162]) by mrelayeu.kundenserver.de (mreue001) with ESMTPSA (Nemesis) id 0MCDQW-1Zw4ch10Xg-008r72 for ; Fri, 04 Dec 2015 14:05:19 +0100 Received: from bsch by becker.bs.l with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1a4q34-0002NQ-KH for freebsd-questions@freebsd.org; Fri, 04 Dec 2015 14:05:18 +0100 Date: Fri, 4 Dec 2015 14:05:18 +0100 From: Bertram Scharpf To: freebsd-questions@freebsd.org Subject: Re: adduser - gid error? Message-ID: <20151204130518.GA8421@becker.bs.l> Mail-Followup-To: freebsd-questions@freebsd.org References: <201512041104.tB4B4s5Z091536@mech-as222.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <201512041104.tB4B4s5Z091536@mech-as222.men.bris.ac.uk> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: Bertram Scharpf X-Provags-ID: V03:K0:lrc+xmBbbKBe+qsXqoFdwBOV/X3f67jvOuUsJbEUbKo5k/f11/t Uo9YR/vaLvP00BKNJhLR2iiMNMD+l0ZLdPdZcPHwk4h5zqmCfLgndiw/+R99FkI8QkBBuFT R3+skWHfXgctWfvEvJoO9QTbQB339/iuP5NddvYjJCUHsyns4RwrKFg8wad/lAfBxrEVDCn fbCrJhi2iuiG8/vpR+W8w== X-UI-Out-Filterresults: notjunk:1;V01:K0:PCNzlYB5jVg=:cZMbXR1gLRq8sZ5WICnt13 JYW3Mvz9CKag/9Vgn6HJaULeMvMjJjHM76QelR8kG3FJe5ayh9yjwk2A3NOWWp/kR9lwEVdT0 3E+YEDXSjdkkTxend0o115dIgoNa79p7gKHUE3Fnn27apWPkB5f0BmdqYUWN5lHn1TTa7ZqVD r9DRxH74i55DM7AhPIShXlUeM5pd4E+oAW+Tk2+m9HMu6c1hbGQkwIhAQR2ROh8HkEWv9JTu9 u7FHwfg4+RE4TT3aOe4apibZy8ZSsN/mya4WLleSk0DkDQZ1LDRCphrqg0VrFY9xixXaLdsI5 /xZyS6VAKY0rrTI/mfLUABLKj/+ULeVeTA7RDW71c0lUez5GlSDglnkUyqYLpIpXUXxOnNTpD qCUscUISn28w5aOW8ugmC19r43/QBEBTmKYp3ye34Xd/pNgccbhe84kTHQV4IBNoYCF0cJxXF Vfkw7eWPTPS/jf79LkdDOUTi+Eov4W265dv5ioRsgYg6VQI8xQ7el1yPEaG5Sjz7xPz2ew8EJ gekbDaZE//kNLzmifJNFxj3Igna3BbVtOqaCm1of83k4Y3iC0spLrNFXWsamDAVcUE9HrW/TV 6k6xeQJybMgJfPEp4T5hvDsWs6bop38L0ILC3LAoqvsRUFJDBJjUuvkHQa0cIFOgx/0qbaQja wlPk60cgOpcuGP3IToj5TNIVWVgrj1BQ7GjJrgb58teR3PT5p1yYOjh0gMxf4cKpxGc8= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2015 13:05:28 -0000 On Friday, 04. Dec 2015, 03:04:55 -0800, Anton Shterenlikht wrote: > For the user I added today I got: > > newuser:*:1004:4294967295: ... > > Does this look right? 4294967295 is obviously 0xffffffff in hexadecimal and -1 if seen as a signed value what is commonly used in C as a return value to indicate an error. > pw: gid `4294967295' has already been allocated > adduser: ERROR: There was an error adding user (newuser). "adduser" is a shell script. I had a look at it but I don't know how you managed to generate that number. The script calls "pw", that is written in C and probably cannot increment the maximum 32-bit value. > What shall I do? Untested: You should be save by editing /etc/groups and change the value by hand. Then call "vipw" to edit /etc/passwd. After that you need to find files on disk with the wrong group id. You can do something like # find /home /var -group 4294967295 -exec ls -l '{}' \; # find /home /var -group 4294967295 -exec chgrp 1004 '{}' \; Did I forget anything? Good luck! Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From owner-freebsd-questions@freebsd.org Fri Dec 4 13:14:27 2015 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 73722A41159 for ; Fri, 4 Dec 2015 13:14:27 +0000 (UTC) (envelope-from kuleshovmail@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::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 1C0BB1285 for ; Fri, 4 Dec 2015 13:14:27 +0000 (UTC) (envelope-from kuleshovmail@gmail.com) Received: by wmec201 with SMTP id c201so64687361wme.1 for ; Fri, 04 Dec 2015 05:14:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=jShwvujzslZGFBvNfObqnkL6LzoRiavpph8byhN7rTs=; b=mvONBfo3jB8vOvvStnquZbJPowQLwY4xCGi1Tq5RrvkFW5dTj+fwbvHUwZ7Z3tT7ti zV+JMLJooIoXAEf2MGXVN+L4/fCcre3N2Xr1TdouzQ0OtREK4q6ptAI06nDCJ38jbuUi nby5UfvbxC9h6s1jiXUhvKqrrp4bmseqNPYHhJnvnvgnWfSECnEPCTUg+pUmWiTtHnym kcTJjs3B+x+jge5+pK8fq59QgxryLVGSzccmhbEHyUyoJNa8gbUvkeBY2wJn+fi7XATr YQ+d6FtkBRs/ZjSwmWsWBbX15reNFPxvNt5nhwYRzfC5l610Y8f3CabQWBpTfZk84PjL JJfQ== X-Received: by 10.194.116.40 with SMTP id jt8mr16484677wjb.57.1449234865693; Fri, 04 Dec 2015 05:14:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.27.4.195 with HTTP; Fri, 4 Dec 2015 05:14:06 -0800 (PST) From: Alexander Kuleshov Date: Fri, 4 Dec 2015 19:14:06 +0600 Message-ID: Subject: buildworld failed To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2015 13:14:27 -0000 Hello all, I'm trying to execute: make -DNO_CLEAN buildworld in my /usr/src directory, but build failed with: --cut-- ===> lib/libcompiler_rt (obj,depend,all,install) sh /usr/src/tools/install.sh -C -o root -g wheel -m 444 libcompiler_rt.a /usr/obj/usr/src/tmp/usr/lib/ /usr/lib/libgcc.a -> libcompiler_rt.a ===> gnu/lib/csu (obj,depend,all,install) sh /usr/src/tools/install.sh -o root -g wheel -m 444 crtbegin.o crtend.o crtbeginT.o crtbeginS.o crtendS.o /usr/obj/usr/src/tmp/usr/lib/ ===> lib/csu (obj,depend,all,install) ===> lib/csu/amd64 (obj) ===> lib/csu/amd64 (depend) ===> lib/csu/amd64 (all) ===> lib/csu/amd64 (install) sh /usr/src/tools/install.sh -o root -g wheel -m 444 crt1.o crti.o crtn.o Scrt1.o gcrt1.o /usr/obj/usr/src/tmp/usr/lib/ ===> lib/libc (obj,depend,all,install) ln -sf /usr/src/lib/libc/gen/sem.c cancelpoints_sem.c ln -sf /usr/src/lib/libc/gen/sem_new.c cancelpoints_sem_new.c yacc -d -p_nsyy -o nsparser.c /usr/src/lib/libc/net/nsparser.y lex -P_nsyy -onslexer.c.tmp1 /usr/src/lib/libc/net/nslexer.l sed -e '/YY_BUF_SIZE/s/16384/1024/' nslexer.c.tmp1 >nslexer.c.tmp2 rm -f nslexer.c.tmp1 mv -f nslexer.c.tmp2 nslexer.c cat /usr/src/lib/libc/../../sys/kern/subr_acl_nfs4.c > subr_acl_nfs4.c make[4]: don't know how to make /usr/obj/usr/src/tmp/usr/include/rpcsvc/crypt.x. Stop make[4]: stopped in /usr/src/lib/libc *** Error code 2 Stop. make[3]: stopped in /usr/src *** Error code 1 Stop. make[2]: stopped in /usr/src *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src --end-of-cut-- Any hints what's wrong here? Thank you. From owner-freebsd-questions@freebsd.org Fri Dec 4 13:16:25 2015 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 7C5BCA411F7 for ; Fri, 4 Dec 2015 13:16:25 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::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 168961391 for ; Fri, 4 Dec 2015 13:16:25 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: by wmec201 with SMTP id c201so73666021wme.0 for ; Fri, 04 Dec 2015 05:16:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=oEs3/Bo9M/jb4Xi7lCQXuECsewwftFVy7hhW8S91ZMs=; b=SjE/Mn3isUc1ZgCF7KmU9RR1G/Y4YLL5xHW1lM6rvlRixGmKmkx5VyR+BpI5guYLuw hXHk67njYw3tvRndH/qdaw5WJ4F7l/Wtet3Otfe7376h2/wBBC9PK0OWH23ZioontDDS GmmeIXpe9vW+uCxDA3bXnecSWFwD8eLJVDnFEP9Gx7qGNvGgn8+wR5N7jfQoSG+VxAr9 /KNqgGIkay9nSKU67uemdt/YYiWRxWPYU0nBF5431UXCpFZajIHCCLqDeHQGiE5eXi+j MDTHG7Ev79KyeXl5yZyG7gBBPFMAQnPtZA+vXgNFGKlI0Whct2b2P/hnll9myuYCsUw1 vpJQ== X-Received: by 10.194.2.33 with SMTP id 1mr19905407wjr.150.1449234982503; Fri, 04 Dec 2015 05:16:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.140.75 with HTTP; Fri, 4 Dec 2015 05:16:03 -0800 (PST) In-Reply-To: References: From: Anton Sayetsky Date: Fri, 4 Dec 2015 15:16:03 +0200 Message-ID: Subject: Re: buildworld failed To: Alexander Kuleshov Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2015 13:16:25 -0000 2015-12-04 15:14 GMT+02:00 Alexander Kuleshov : > Hello all, > > I'm trying to execute: > > make -DNO_CLEAN buildworld > > in my /usr/src directory, but build failed with: > > --cut-- > ===> lib/libcompiler_rt (obj,depend,all,install) > sh /usr/src/tools/install.sh -C -o root -g wheel -m 444 > libcompiler_rt.a /usr/obj/usr/src/tmp/usr/lib/ > /usr/lib/libgcc.a -> libcompiler_rt.a > ===> gnu/lib/csu (obj,depend,all,install) > sh /usr/src/tools/install.sh -o root -g wheel -m 444 crtbegin.o > crtend.o crtbeginT.o crtbeginS.o crtendS.o > /usr/obj/usr/src/tmp/usr/lib/ > ===> lib/csu (obj,depend,all,install) > ===> lib/csu/amd64 (obj) > ===> lib/csu/amd64 (depend) > ===> lib/csu/amd64 (all) > ===> lib/csu/amd64 (install) > sh /usr/src/tools/install.sh -o root -g wheel -m 444 crt1.o crti.o > crtn.o Scrt1.o gcrt1.o /usr/obj/usr/src/tmp/usr/lib/ > ===> lib/libc (obj,depend,all,install) > ln -sf /usr/src/lib/libc/gen/sem.c cancelpoints_sem.c > ln -sf /usr/src/lib/libc/gen/sem_new.c cancelpoints_sem_new.c > yacc -d -p_nsyy -o nsparser.c /usr/src/lib/libc/net/nsparser.y > lex -P_nsyy -onslexer.c.tmp1 /usr/src/lib/libc/net/nslexer.l > sed -e '/YY_BUF_SIZE/s/16384/1024/' nslexer.c.tmp1 >nslexer.c.tmp2 > rm -f nslexer.c.tmp1 > mv -f nslexer.c.tmp2 nslexer.c > cat /usr/src/lib/libc/../../sys/kern/subr_acl_nfs4.c > subr_acl_nfs4.c > make[4]: don't know how to make > /usr/obj/usr/src/tmp/usr/include/rpcsvc/crypt.x. Stop > > make[4]: stopped in /usr/src/lib/libc > *** Error code 2 > > Stop. > make[3]: stopped in /usr/src > *** Error code 1 > > Stop. > make[2]: stopped in /usr/src > *** Error code 1 > > Stop. > make[1]: stopped in /usr/src > *** Error code 1 > > Stop. > make: stopped in /usr/src > > --end-of-cut-- > > Any hints what's wrong here? -DNO_CLEAN - this. From owner-freebsd-questions@freebsd.org Fri Dec 4 13:31:24 2015 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 8A77DA4153D for ; Fri, 4 Dec 2015 13:31:24 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (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 1FFF310F9 for ; Fri, 4 Dec 2015 13:31:23 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: by wmec201 with SMTP id c201so74260247wme.0 for ; Fri, 04 Dec 2015 05:31:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bris-ac-uk.20150623.gappssmtp.com; s=20150623; h=date:from:message-id:to:subject:reply-to:in-reply-to; bh=5sR2fL8tlpbc63ssESwYb/eQjR3hPNhiDLH2BcaXovg=; b=OPVEtaN3wILAIczwPkEmYEFttR3AztVKiKtotl6F70KwnqVQZICASjbTtkIirKQZk+ 2N1so/vOOOhaX50pmHky9RCYZeCcF2Vph60wWTLMpNI7wuxl/LddXzze0gXQheXHhHOb hlFG4C3zYDX98Fsem6pjUfsBxtM8MqjdM3u/QvadcLmtAq6kDw4clraOmEFOe8klPdUf TEmfzEHUu+cw94I6Kub6sZx0S+MpRTHiSFUTRChCvv7/JY/ADlhC/m6jj8vgrtxB+ROk Y3fh5DvRqLvAgQyztX2Txq8D33xymsRiUzUgcmxa1WY41tNn7dc1XZIOzrPJ33aDyxbE 08FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:reply-to :in-reply-to; bh=5sR2fL8tlpbc63ssESwYb/eQjR3hPNhiDLH2BcaXovg=; b=T34HV71i42WFLgweq/x4eqDh4lf2ZWwxNQBBAFamQ/YpH4IIoDAC4dRPtiSuHJxEZ+ QYDNe3zUPOP0bC73xhtzbqY2CVMzuWSCbgHpe1qBmWtV4H2hDxViG4Vd/qzHcztf1ZJj KE9yeKYcwNaJ6G3OZVOsSYVAt/bUbxpdK3+fY5Mj+vXdESHBwYK+MFfoFBc9poxeLaoX +y8VSd5JBb/mpiSnkxrSUlKPDt04Mszssd3MxBadBEoKg9IzAy4Fzno6JXKkXLRbjONJ GAiHCjgVO4Xz/PsYwtYQRkHp+YbpluImLTiO1A6UWeuGkHBcQjgXtzo5P9ypnaWY6gEk kb2Q== X-Gm-Message-State: ALoCoQmyUKEhJYqDu6L98HWGMj2qDMM/EtF0cJMHCdCQTkfYPoBzkQjIBiLnh6G1XI1cYxgkBt9XaA1iSdfNBbtYye+hbD/3ag== X-Received: by 10.28.188.84 with SMTP id m81mr4939630wmf.38.1449235881815; Fri, 04 Dec 2015 05:31:21 -0800 (PST) Received: from mech-as222.men.bris.ac.uk (mech-as222.men.bris.ac.uk. [137.222.170.4]) by smtp.gmail.com with ESMTPSA id e83sm3520137wmc.23.2015.12.04.05.31.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Dec 2015 05:31:21 -0800 (PST) Date: Fri, 04 Dec 2015 05:31:21 -0800 (PST) X-Google-Original-Date: Fri, 4 Dec 2015 13:31:20 GMT Received: from mech-as222.men.bris.ac.uk (localhost [127.0.0.1]) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2) with ESMTP id tB4DVKSN092106; Fri, 4 Dec 2015 13:31:20 GMT (envelope-from mexas@mech-as222.men.bris.ac.uk) Received: (from mexas@localhost) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2/Submit) id tB4DVKsK092105; Fri, 4 Dec 2015 13:31:20 GMT (envelope-from mexas) From: Anton Shterenlikht Message-Id: <201512041331.tB4DVKsK092105@mech-as222.men.bris.ac.uk> To: freebsd-questions@freebsd.org, lists@bertram-scharpf.de Subject: Re: adduser - gid error? Reply-To: mexas@bris.ac.uk In-Reply-To: <20151204130518.GA8421@becker.bs.l> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2015 13:31:24 -0000 >On Friday, 04. Dec 2015, 03:04:55 -0800, Anton Shterenlikht wrote: >> For the user I added today I got: >> >> newuser:*:1004:4294967295: ... >> >> Does this look right? > >4294967295 is obviously 0xffffffff in hexadecimal and -1 if >seen as a signed value what is commonly used in C as a >return value to indicate an error. > >> pw: gid `4294967295' has already been allocated >> adduser: ERROR: There was an error adding user (newuser). > >"adduser" is a shell script. I had a look at it but I don't >know how you managed to generate that number. The script >calls "pw", that is written in C and probably cannot >increment the maximum 32-bit value. # pw useradd newuser pw: gid `4294967295' has already been allocated # Now I'm worried... >> What shall I do? > >Untested: You should be save by editing /etc/groups and change >the value by hand. Then call "vipw" to edit /etc/passwd. >After that you need to find files on disk with the wrong >group id. You can do something like > > # find /home /var -group 4294967295 -exec ls -l '{}' \; > # find /home /var -group 4294967295 -exec chgrp 1004 '{}' \; > >Did I forget anything? I'll give it a go if all else fails, but I worry that my system is not right. Thanks Anton From owner-freebsd-questions@freebsd.org Fri Dec 4 13:36:37 2015 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 D0228A4171A for ; Fri, 4 Dec 2015 13:36:37 +0000 (UTC) (envelope-from kuleshovmail@gmail.com) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::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 780A11777 for ; Fri, 4 Dec 2015 13:36:37 +0000 (UTC) (envelope-from kuleshovmail@gmail.com) Received: by wmec201 with SMTP id c201so74468802wme.0 for ; Fri, 04 Dec 2015 05:36:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=iff9FfT7l2WMLu5abBBHc5V+U1eM0OhUV2UEkM9GE7g=; b=KAciiI5LPouevR3wimy4cT9T5gBTFHY/gZ9r1sC/Awrxnd9xyHnz2+rji13RMWtt1y h2e2ls1yVgMklgRl1oivIx/RVEjt/2XpOZYf1CvG6wP/bm/y2SCucGlYOQKyW9hUJMbX t+f7KDbIdD8e74KUhA4OsYzfSjH2B4iZVrlGrkrjzNfu1GJu9y9MeQ2T9gnZVwUHNWIN creF00//GhZSt+fON8X338aU0/2R5rHF1L9aDM1defG7dAznDcckrUIWOUa2nZvvo7Jk hl7CEmc5sCWfv0hab3SEo2AUTE7KNFbdkR/mSUswjxpVh26CAreuDK5Jp3ZaP+hRSp/1 mf+A== X-Received: by 10.28.51.83 with SMTP id z80mr5463144wmz.54.1449236195874; Fri, 04 Dec 2015 05:36:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.27.4.195 with HTTP; Fri, 4 Dec 2015 05:36:16 -0800 (PST) In-Reply-To: References: From: Alexander Kuleshov Date: Fri, 4 Dec 2015 19:36:16 +0600 Message-ID: Subject: Re: buildworld failed To: Anton Sayetsky Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2015 13:36:37 -0000 Hello Anton, On Fri, Dec 4, 2015 at 7:16 PM, Anton Sayetsky wrote: > 2015-12-04 15:14 GMT+02:00 Alexander Kuleshov : >> /usr/obj/usr/src/tmp/usr/include/rpcsvc/crypt.x. Stop >> > -DNO_CLEAN - this. I've removed /usr/obj and execute make buildword. Getting the same: make[4]: don't know how to make /usr/obj/usr/src/tmp/usr/include/rpcsvc/crypt.x. Stop Thank you From owner-freebsd-questions@freebsd.org Fri Dec 4 14:05:15 2015 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 93AF4A41C65 for ; Fri, 4 Dec 2015 14:05:15 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::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 2E1491825 for ; Fri, 4 Dec 2015 14:05:15 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by wmuu63 with SMTP id u63so63270227wmu.0 for ; Fri, 04 Dec 2015 06:05:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1Gj3Fgo9BAJRzm6VPVcbPJ1K1K5vnsT8zPXJYjGZPxY=; b=wxNNjpZsopehZ5yVulRNvsNkpSbmOGTigCc7EosrxQwVd+cR+Z5VEjlVz0vzSbsKJs 7ET1UsyI360MAUlXCV3AAZvvDFHAz5oO3KEME74OMaP5E8VeoTtbG6rlsjs8B7rM7SvJ hsza3taaQDjIhZXpCpCC4hDhms2Azo0V4S6p1P2g/QWva1+2j9p8HLJsV+m0+l8Mjls6 PB3FIgbs2yWhwssFYTmYxUXTVKt5SvgOt4ZMa4sky4jLXZXpShcmLyBtzwVKtE/iG5YD 9DZlNeToQX6vq7+caBLhjmeY4qRkHCWF5xn5N9G1s1jykjB3C8cy489xOiJhEEtgrqje Zypw== MIME-Version: 1.0 X-Received: by 10.28.195.10 with SMTP id t10mr5025967wmf.11.1449237913712; Fri, 04 Dec 2015 06:05:13 -0800 (PST) Received: by 10.194.192.33 with HTTP; Fri, 4 Dec 2015 06:05:13 -0800 (PST) In-Reply-To: References: Date: Fri, 4 Dec 2015 08:05:13 -0600 Message-ID: Subject: Re: pnfs in FreeBSD From: Adam Vande More To: "Jack L." Cc: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2015 14:05:15 -0000 On Fri, Dec 4, 2015 at 4:44 AM, Jack L. wrote: > Does FreeBSD support pnfs as a server (nfs 4.1)? > > Not yet. It's under development. -- Adam From owner-freebsd-questions@freebsd.org Fri Dec 4 14:26:54 2015 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 90566A400E5 for ; Fri, 4 Dec 2015 14:26:54 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::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 2949511BD for ; Fri, 4 Dec 2015 14:26:54 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by wmww144 with SMTP id w144so64022849wmw.1 for ; Fri, 04 Dec 2015 06:26:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=TK9ciGLGuwSGlrt8OF82MnE/3pUbQCOFnG4d3mx6fDs=; b=I78WuVuWYdMy/v5zaEvb5bnpcVYQDLr0Ln5rqKn+V91t5MW4YrH3l1gUtxQhg4vkRI NOBu5xX2766WKG8sqQLsrijePXj0MaP/xpBc5NnRnr4QUhQkbfAVBsxwayp5IHkhP9G+ yh053K6aFftqVugzi3t3vgptm5x86UzBunqnDI40+1LDFNcwWf7cEXLcBGwa1KKgUIUI 6ykU6/BvGE4PidHlxPggTrDmpq5/b6WL+Wrpu7qr06RnJvSSUmaXWbGAh6r12xlOJvmy t9zL6nXhqrbiZ2KXbS9bNMhXUiHPLGlKDQRGA1Rla6YOPSKy4b+COaf+EM71YSzo5fbh hniw== MIME-Version: 1.0 X-Received: by 10.28.222.4 with SMTP id v4mr5711410wmg.67.1449239211480; Fri, 04 Dec 2015 06:26:51 -0800 (PST) Received: by 10.194.192.33 with HTTP; Fri, 4 Dec 2015 06:26:51 -0800 (PST) In-Reply-To: <201512041047.tB4AlLEq091375@mech-as222.men.bris.ac.uk> References: <201512041047.tB4AlLEq091375@mech-as222.men.bris.ac.uk> Date: Fri, 4 Dec 2015 08:26:51 -0600 Message-ID: Subject: Re: help number disks via /boot/device.hints From: Adam Vande More To: mexas@bris.ac.uk Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2015 14:26:54 -0000 On Fri, Dec 4, 2015 at 4:47 AM, Anton Shterenlikht wrote: > I've a problem - when the fibre disks are connected > at boot, the boot disk is not given da0 and I cannot boot. > So what I do now is disconnect the fiber disk until boot > is completed, and connect is manually afterwards. > > Then I get: > > da0 at mpt0 bus 0 scbus3 target 2 lun 0 > da0: Fixed Direct Access SPC-3 SCSI device > da0: Serial Number B399P790FBEG > da0: 300.000MB/s transfers > da0: Command Queueing enabled > da0: 70006MB (143374000 512 byte sectors: 255H 63S/T 8924C) > > da1 at isp0 bus 0 scbus2 target 0 lun 5 > da1: Fixed Direct Access SPC-2 SCSI device > da1: Serial Number P56350GX3RX04Z > da1: 200.000MB/s transfers WWNN 0x500805f3000ec220 WWPN 0x500805f3000ec221 > PortID 0x10000 > da1: Command Queueing enabled > da1: 140011MB (286744185 512 byte sectors: 255H 63S/T 17849C) > > How can I set in /boot/device.hints that the MSA1000 > disk is da1 and IBM is the boot disk da0? > man 4 cam -- Adam From owner-freebsd-questions@freebsd.org Fri Dec 4 14:59:42 2015 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 066F4A40855 for ; Fri, 4 Dec 2015 14:59:42 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mx1.eichornenterprises.com (mx1.eichornenterprises.com [104.236.13.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.eichornenterprises.com", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AE7F71313 for ; Fri, 4 Dec 2015 14:59:40 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mail.eichornenterprises.com (cpe-184-59-147-149.neo.res.rr.com [184.59.147.149]) by mx1.eichornenterprises.com (OpenSMTPD) with ESMTP id 2b382e08; Fri, 4 Dec 2015 09:52:57 -0500 (EST) Received: by mail.eichornenterprises.com (OpenSMTPD) with ESMTPSA id a3483b0c TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Fri, 4 Dec 2015 09:52:56 -0500 (EST) Message-ID: <1449240776.992.17.camel@michaeleichorn.com> Subject: Re: adduser - gid error? From: "Michael B. Eichorn" To: mexas@bris.ac.uk, freebsd-questions@freebsd.org, lists@bertram-scharpf.de Date: Fri, 04 Dec 2015 09:52:56 -0500 In-Reply-To: <201512041331.tB4DVKsK092105@mech-as222.men.bris.ac.uk> References: <201512041331.tB4DVKsK092105@mech-as222.men.bris.ac.uk> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2015 14:59:42 -0000 On Fri, 2015-12-04 at 05:31 -0800, Anton Shterenlikht wrote: > > On Friday, 04. Dec 2015, 03:04:55 -0800, Anton Shterenlikht wrote: > > > For the user I added today I got: > > > > > > newuser:*:1004:4294967295: ... > > > > > > Does this look right? > > > > 4294967295 is obviously 0xffffffff in hexadecimal and -1 if > > seen as a signed value what is commonly used in C as a > > return value to indicate an error. > > > > > pw: gid `4294967295' has already been allocated > > > adduser: ERROR: There was an error adding user (newuser). > > > > "adduser" is a shell script. I had a look at it but I don't > > know how you managed to generate that number. The script > > calls "pw", that is written in C and probably cannot > > increment the maximum 32-bit value. > > # pw useradd newuser > pw: gid `4294967295' has already been allocated > # > > Now I'm worried... I can replicate your problem, there is a bug in pw. What is happening is that you already have a group that has a gid equal to the next availible uid. Go ahead and use the adduser script, but you will need to specify a uid that does not correspond to an existing uid or gid. (You can safely cat /etc/group and /etc/passwd to find what has been used already). I will file a PR. From owner-freebsd-questions@freebsd.org Fri Dec 4 15:20:17 2015 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 41419A40FBB for ; Fri, 4 Dec 2015 15:20:17 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mx1.eichornenterprises.com (mx1.eichornenterprises.com [104.236.13.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.eichornenterprises.com", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E483417A5 for ; Fri, 4 Dec 2015 15:20:16 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mail.eichornenterprises.com (cpe-184-59-147-149.neo.res.rr.com [184.59.147.149]) by mx1.eichornenterprises.com (OpenSMTPD) with ESMTP id 5a2f8f9e; Fri, 4 Dec 2015 10:20:13 -0500 (EST) Received: by mail.eichornenterprises.com (OpenSMTPD) with ESMTPSA id be780c08 TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Fri, 4 Dec 2015 10:20:12 -0500 (EST) Message-ID: <1449242411.992.19.camel@michaeleichorn.com> Subject: Re: adduser - gid error? From: "Michael B. Eichorn" To: mexas@bris.ac.uk, freebsd-questions@freebsd.org, lists@bertram-scharpf.de Date: Fri, 04 Dec 2015 10:20:11 -0500 In-Reply-To: <1449240776.992.17.camel@michaeleichorn.com> References: <201512041331.tB4DVKsK092105@mech-as222.men.bris.ac.uk> <1449240776.992.17.camel@michaeleichorn.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2015 15:20:17 -0000 On Fri, 2015-12-04 at 09:52 -0500, Michael B. Eichorn wrote: > On Fri, 2015-12-04 at 05:31 -0800, Anton Shterenlikht wrote: > > > On Friday, 04. Dec 2015, 03:04:55 -0800, Anton Shterenlikht > > > wrote: > > > > For the user I added today I got: > > > > > > > > newuser:*:1004:4294967295: ... > > > > > > > > Does this look right? > > > > > > 4294967295 is obviously 0xffffffff in hexadecimal and -1 if > > > seen as a signed value what is commonly used in C as a > > > return value to indicate an error. > > > > > > > pw: gid `4294967295' has already been allocated > > > > adduser: ERROR: There was an error adding user (newuser). > > > > > > "adduser" is a shell script. I had a look at it but I don't > > > know how you managed to generate that number. The script > > > calls "pw", that is written in C and probably cannot > > > increment the maximum 32-bit value. > > > > # pw useradd newuser > > pw: gid `4294967295' has already been allocated > > # > > > > Now I'm worried... > > I can replicate your problem, there is a bug in pw. What is happening > is that you already have a group that has a gid equal to the next > availible uid. > > Go ahead and use the adduser script, but you will need to specify a > uid > that does not correspond to an existing uid or gid. (You can safely > cat > /etc/group and /etc/passwd to find what has been used already). > > I will file a PR. Filed as PR 205019 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205019 From owner-freebsd-questions@freebsd.org Fri Dec 4 22:34:45 2015 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 36596A400AB for ; Fri, 4 Dec 2015 22:34:45 +0000 (UTC) (envelope-from pallav_bose@yahoo.com) Received: from nm38-vm5.bullet.mail.gq1.yahoo.com (nm38-vm5.bullet.mail.gq1.yahoo.com [98.136.217.76]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 019FF19E7 for ; Fri, 4 Dec 2015 22:34:44 +0000 (UTC) (envelope-from pallav_bose@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1449268357; bh=kNU+aPhk//Iq05cny4CKxqPbvKNBum5pIVb96RP7NV0=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=JP8wrNQGQkprv0v3MV7tRNWtvGwdNnjFLIyBWlBVJ/jIcDbc/AYAcEYFq3ODhb+D6lTbC/OtSD206ZQar9YceVFMTBn2ylUAXq+0J5TRuZoJ5foyRlfbBksKF0Zcdi5Llk/+vy1SfUxwSXYBiCTf2rslHj1c+qPSxE3k/xgfkM+FHGiUu34bOLjz1qpeinhDCxaLL32RllsuV5uWyq0whmgQP9PrJ/9CljQwMbKsB6aSWDXfSf89WVrgVsaMArM4UuZ4eekoPGAduItNDTMNMKirhdWng7Ui3J1ZE9VFrT1hpgHm+KxEhz8nSFUinV7Pfe5UWM/ruQnMgTyV23uYZA== Received: from [127.0.0.1] by nm38.bullet.mail.gq1.yahoo.com with NNFMP; 04 Dec 2015 22:32:37 -0000 Received: from [98.137.12.190] by nm38.bullet.mail.gq1.yahoo.com with NNFMP; 04 Dec 2015 22:29:37 -0000 Received: from [98.137.12.199] by tm11.bullet.mail.gq1.yahoo.com with NNFMP; 04 Dec 2015 22:29:37 -0000 Received: from [127.0.0.1] by omp1007.mail.gq1.yahoo.com with NNFMP; 04 Dec 2015 22:29:37 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 772998.74613.bm@omp1007.mail.gq1.yahoo.com X-YMail-OSG: vF7TzXwVM1nWH0ybhE6rz3uazEaz4DQ4na.9N0SniaW0g4WZeBvssbuFSe6QYAL CgDygWcbLJGaqM.6cYL0OGBNyuo8vlpxgOIN.CZVL6GeVJZ_k3dcfZc0OzYyOKM_R.cMZF.Qe824 YMS1FPvIw_Iu.yP.frQiJI2yjpjpVjBgDkVrgKwgzPCCyHFg1sQO2YtZ7CvmU_MsOGxBDxXMYM_2 FD2JHaNyyggSZy.Xr4Yk2qJDEWOuHDsZCKtnym5kg8tFKMZkG6.ZxHL9ycYSSCjH9I4VYFbci2pi tJXrRuvxTVul_pxW82FWQhLzzj8jiqJQT3wf7rNIprzQhwv1_Lkr6vopYFSCb7T2zVRG7hqa3sbw kdIMFR5buE6fLjb_uUgSccIBUGJwp4mkTHQ.4m3GdVgsC9wzzyIDjmm7KUe.sJ1UfJJlZwltHF9r SKuMCQDGinRz8WCHam0IPP95.PVJ1OL6ZOl6IvJxYIokIwZZxZeuRPXgTGFLQJK2oRyaLrkHEMBw mrc_qW6tV_CwXHZ4JCdsW.g-- Received: by 216.39.60.207; Fri, 04 Dec 2015 22:29:37 +0000 Date: Fri, 4 Dec 2015 22:29:28 +0000 (UTC) From: Pallav Bose Reply-To: Pallav Bose To: "freebsd-questions@freebsd.org" Message-ID: <714512716.14770398.1449268168021.JavaMail.yahoo@mail.yahoo.com> Subject: Meaning behind target ID in the output of camcontrol and MegaCli MIME-Version: 1.0 References: <714512716.14770398.1449268168021.JavaMail.yahoo.ref@mail.yahoo.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2015 22:34:45 -0000 Hi, I have a Dell PowerEdge R730 with a PERC H730 and a PERC H830. The H730 is = connected to 15 disks and the H830 to two disks, with a RAID 0 configuratio= n created out of each disk. The mrsas(4) driver is attached to each RAID co= ntroller. # MegaCli cfgdsply aall | grep -e Slot -e Target -e RAID -e Adapter Adapter: 0 Product Name: PERC H730 Mini Virtual Drive: 0 (Target Id: 0) RAID Level=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : Primary-= 0, Secondary-0, RAID Level Qualifier-0 Slot Number: 0 Virtual Drive: 1 (Target Id: 1) RAID Level=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : Primary-= 0, Secondary-0, RAID Level Qualifier-0 Slot Number: 1 Virtual Drive: 2 (Target Id: 2) RAID Level=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : Primary-= 0, Secondary-0, RAID Level Qualifier-0 Slot Number: 2 Virtual Drive: 3 (Target Id: 3) RAID Level=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : Primary-= 0, Secondary-0, RAID Level Qualifier-0 Slot Number: 3 Virtual Drive: 4 (Target Id: 4) RAID Level=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : Primary-= 0, Secondary-0, RAID Level Qualifier-0 Slot Number: 4 Virtual Drive: 5 (Target Id: 5) RAID Level=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : Primary-= 0, Secondary-0, RAID Level Qualifier-0 Slot Number: 5 Virtual Drive: 6 (Target Id: 6) RAID Level=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : Primary-= 0, Secondary-0, RAID Level Qualifier-0 Slot Number: 6 Virtual Drive: 7 (Target Id: 7) RAID Level=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : Primary-= 0, Secondary-0, RAID Level Qualifier-0 Slot Number: 7 Virtual Drive: 8 (Target Id: 8) RAID Level=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : Primary-= 0, Secondary-0, RAID Level Qualifier-0 Slot Number: 8 Virtual Drive: 9 (Target Id: 9) RAID Level=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : Primary-= 0, Secondary-0, RAID Level Qualifier-0 Slot Number: 9 Virtual Drive: 10 (Target Id: 10) RAID Level=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : Primary-= 0, Secondary-0, RAID Level Qualifier-0 Slot Number: 10 Virtual Drive: 11 (Target Id: 11) RAID Level=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : Primary-= 0, Secondary-0, RAID Level Qualifier-0 Slot Number: 11 Virtual Drive: 12 (Target Id: 12) RAID Level=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : Primary-= 0, Secondary-0, RAID Level Qualifier-0 Slot Number: 12 Virtual Drive: 13 (Target Id: 13) RAID Level=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : Primary-= 0, Secondary-0, RAID Level Qualifier-0 Slot Number: 13 Virtual Drive: 14 (Target Id: 14) RAID Level=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : Primary-= 0, Secondary-0, RAID Level Qualifier-0 Slot Number: 14 Adapter: 1 Product Name: PERC H830 Adapter Virtual Drive: 0 (Target Id: 0) RAID Level=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : Primary-= 0, Secondary-0, RAID Level Qualifier-0 Slot Number: 0 Virtual Drive: 1 (Target Id: 1) RAID Level=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : Primary-= 0, Secondary-0, RAID Level Qualifier-0 Slot Number: 1 How is the target ID determined? Where is this information stored? Under wh= at circumstances can it change? My understanding is that the target ID links a disk in a particular slot on= a particular adapter to its device name. This can be gathered from the Meg= aCli configuration output above and the camcontrol output below. MegaCli gi= ves us the 3-tuple [adapter,slot,target ID] and camcontrol gives us the 3-t= uple [adapter,target ID,device name]. So, I now know what device name does = a physical disk (configured as a RAID 0) in a particular slot on a particul= ar adapter map to. Is my understanding correct? # camcontrol devlist =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = at scbus0 target 0 lun 0 (pass0,da0) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = at scbus0 target 1 lun 0 (pass1,da1) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = at scbus0 target 2 lun 0 (pass2,da2) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = at scbus0 target 3 lun 0 (pass3,da3) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = at scbus0 target 4 lun 0 (pass4,da4) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = at scbus0 target 5 lun 0 (pass5,da5) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = at scbus0 target 6 lun 0 (pass6,da6) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = at scbus0 target 7 lun 0 (pass7,da7) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = at scbus0 target 8 lun 0 (pass8,da8) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = at scbus0 target 9 lun 0 (pass9,da9) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = at scbus0 target 10 lun 0 (pass10,da10) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = at scbus0 target 11 lun 0 (pass11,da11) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = at scbus0 target 12 lun 0 (pass12,da12) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = at scbus0 target 13 lun 0 (pass13,da13) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = at scbus0 target 14 lun 0 (pass14,da14) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 at scbus2 target 0 lun 0 (pass15,da15) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 at scbus2 target 1 lun 0 (pass16,da16) =C2=A0=C2=A0 at scbus4 target 0 lun 0 (da17= ,pass17) I haven't tried any other configuration apart from RAID 0. Regards,Pallav From owner-freebsd-questions@freebsd.org Sat Dec 5 00:21:03 2015 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 454A0A4154B for ; Sat, 5 Dec 2015 00:21:03 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (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 B104419B6 for ; Sat, 5 Dec 2015 00:21:01 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-76-245.dynamic.qsc.de [92.195.76.245]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id E2886278F3; Sat, 5 Dec 2015 01:20:52 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id tB50KqNh002047; Sat, 5 Dec 2015 01:20:52 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 5 Dec 2015 01:20:52 +0100 From: Polytropon To: Pallav Bose Cc: freebsd-questions@freebsd.org Subject: Re: Meaning behind target ID in the output of camcontrol and MegaCli Message-Id: <20151205012052.77256a47.freebsd@edvax.de> In-Reply-To: <714512716.14770398.1449268168021.JavaMail.yahoo@mail.yahoo.com> References: <714512716.14770398.1449268168021.JavaMail.yahoo.ref@mail.yahoo.com> <714512716.14770398.1449268168021.JavaMail.yahoo@mail.yahoo.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=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2015 00:21:03 -0000 On Fri, 4 Dec 2015 22:29:28 +0000 (UTC), Pallav Bose via freebsd-questions = wrote: > My understanding is that the target ID links a disk in a particular > slot on a particular adapter to its device name. This can be gathered > from the MegaCli configuration output above and the camcontrol output > below. MegaCli gives us the 3-tuple [adapter,slot,target ID] and > camcontrol gives us the 3-tuple [adapter,target ID,device name]. So, > I now know what device name does a physical disk (configured as a > RAID 0) in a particular slot on a particular adapter map to. The numbering B:T:L (or B:T:U) is typical regarding how SCSI enumerates devices. B is the bus number, T the target number (the device on that bus), and L is the LUN (logical unit number) depending on the device, which can have more than one "unit" (slot, drive, whatever). In ye olden times one SCSI bus could have up to 8 devices, numbered 0 - 6, and 7 being the controller itself. The number of a device ("target") usually was configured via jumpers on that device. Today, ATA and SATA, as well as other mass storage means, have adopted CAM ("SCSI language"), so some terminology is still being used. But device enumeration isn't coded in hardware anymore. Modern SCSI BIOSs typically do that in firmware. See this for example: % camcontrol devlist at scbus0 target 0 lun 0 (pass0,cd0) at scbus3 target 0 lun 0 (da0,pass1) at scbus3 target 0 lun 1 (da1,pass2) at scbus3 target 0 lun 2 (da2,pass3) As you can see, there are a bus 0 and bus 3, each with only one device, but target 3:0 has three LUNs. In your case, it's a lot easier: > # camcontrol devlist > =A0=A0=A0=A0=A0=A0=A0=A0 at scbus0 target 0 lun= 0 (pass0,da0) > =A0=A0=A0=A0=A0=A0=A0=A0 at scbus0 target 1 lun= 0 (pass1,da1) > =A0=A0=A0=A0=A0=A0=A0=A0 at scbus0 target 2 lun= 0 (pass2,da2) > =A0=A0=A0=A0=A0=A0=A0=A0 at scbus0 target 3 lun= 0 (pass3,da3) > =A0=A0=A0=A0=A0=A0=A0=A0 at scbus0 target 4 lun= 0 (pass4,da4) > =A0=A0=A0=A0=A0=A0=A0=A0 at scbus0 target 5 lun= 0 (pass5,da5) > =A0=A0=A0=A0=A0=A0=A0=A0 at scbus0 target 6 lun= 0 (pass6,da6) > =A0=A0=A0=A0=A0=A0=A0=A0 at scbus0 target 7 lun= 0 (pass7,da7) > =A0=A0=A0=A0=A0=A0=A0=A0 at scbus0 target 8 lun= 0 (pass8,da8) > =A0=A0=A0=A0=A0=A0=A0=A0 at scbus0 target 9 lun= 0 (pass9,da9) > =A0=A0=A0=A0=A0=A0=A0=A0 at scbus0 target 10 lu= n 0 (pass10,da10) > =A0=A0=A0=A0=A0=A0=A0=A0 at scbus0 target 11 lu= n 0 (pass11,da11) > =A0=A0=A0=A0=A0=A0=A0=A0 at scbus0 target 12 lu= n 0 (pass12,da12) > =A0=A0=A0=A0=A0=A0=A0=A0 at scbus0 target 13 lu= n 0 (pass13,da13) > =A0=A0=A0=A0=A0=A0=A0=A0 at scbus0 target 14 lu= n 0 (pass14,da14) > =A0=A0=A0=A0=A0=A0=A0=A0=A0 at scbus2 target 0 l= un 0 (pass15,da15) > =A0=A0=A0=A0=A0=A0=A0=A0=A0 at scbus2 target 1 l= un 0 (pass16,da16) > =A0=A0 at scbus4 target 0 lun 0 (da17,pas= s17) Bus 0 with 15 targets, each with one LUN, and bus 2 with two of them. They represent two "SCSI adapters", each one representing a disk as a _single_ target (with one LUN). It could have been a different setup, for example, one target per four disks with LUNs 0 - 3... --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sat Dec 5 02:20:23 2015 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 F13A3A3FDFE for ; Sat, 5 Dec 2015 02:20:23 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from relay-b02.edpnet.be (relay-b02.edpnet.be [212.71.1.222]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "edpnet.email", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A9D941B2A for ; Sat, 5 Dec 2015 02:20:22 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) X-ASG-Debug-ID: 1449231652-0a7b8d5081373840001-jLrpzn Received: from mordor.lan (77.109.103.53.adsl.dyn.edpnet.net [77.109.103.53]) by relay.edpnet.be with ESMTP id LAeM6VBfpAftP44D (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 04 Dec 2015 13:20:53 +0100 (CET) X-Barracuda-Envelope-From: jcigar@ulb.ac.be X-Barracuda-Effective-Source-IP: 77.109.103.53.adsl.dyn.edpnet.net[77.109.103.53] X-Barracuda-Apparent-Source-IP: 77.109.103.53 Date: Fri, 4 Dec 2015 13:20:52 +0100 From: Julien Cigar To: freebsd-questions@freebsd.org Subject: redundant firewall Message-ID: <20151204122052.GH13477@mordor.lan> X-ASG-Orig-Subj: redundant firewall MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="mtfogggI1YmpIpmy" Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Barracuda-Connect: 77.109.103.53.adsl.dyn.edpnet.net[77.109.103.53] X-Barracuda-Start-Time: 1449231652 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://212.71.1.222:443/cgi-mod/mark.cgi X-Barracuda-Scan-Msg-Size: 638 X-Virus-Scanned: by bsmtpd at edpnet.be X-Barracuda-Malware-Scanned: by bsmtpd at edpnet.be X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.24966 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2015 02:20:24 -0000 --mtfogggI1YmpIpmy Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, I bought 2 Soekris 6501 in order to setup a redundant firewall (with Freebsd 10, CARP, and PF).=20 Let's say I don't need remote access to each individual boxes from the=20 WAN side, I wondered if it's really necessary to bind "real" IPs to=20 each interface involved in the CARP alias? I'm asking this because I don't have enough public IPs... Thanks! Julien --=20 Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --mtfogggI1YmpIpmy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCgAGBQJWYYUgAAoJEAi2KiTKQR5p1wgP/iiEBKBWeDZUHVNmMSr/7XxO CtPIRxnxEby+ts7OeQoESzk4wlqdocJ5BNSx2CANZ6rncG+RuZulbz0BfIkVSW/n G3gHsLeXHGF4YtnzgjwHtK5swOFpyaPl2ztLO7ivsVnCvF7Z7fdtJCKQvn4q9Vf8 X9E5xy/eujJvCHYIyOB+aXEW4RSjgFRJZX4J5COml0AZ3wixUeRpC5aMyaN7R82i +DeXwr3xElbOY7zZ9fNzh2veefJeGMO/K1NWb/uon0o8swjfdUS3Ol5Uy/o14ojL FVo11uLmrknNRlxxClaOG4BfJA15lhJrS/R5PebyqmiunPNVIJNsiR4e6FearPfI 6sXI4sYMrXQQ/SkBUBZatyh1Rq4cQxWeGJZT/JcARJu9tDwCs/OV0bg3khZCz2PQ O/tpRTDbhHQm1+mK52761y7lOlr5WQu/WJGUh7jrM34YdUy9UCL6WqI9z4vKr/La TtKbP51Hl8yXQxhvBBspyMlZ/B/kgqruTDlA4RXyjoKT8kxPUnO+xayaxi5OHAqZ 1VFG09Eeta6Aoj+aQ02vxGJgDHi0ga5dhNBJTE9fVSmi55llH4D8M3LM478qjTvb XttKHukkuak2qrmZsO0Bgax2m9nLRo+Fi61ZNePsm12PIHzsr9cbqmoxsO5vecJW +F7iZrSsvbWDL9h+73lj =zlHe -----END PGP SIGNATURE----- --mtfogggI1YmpIpmy-- From owner-freebsd-questions@freebsd.org Sat Dec 5 03:24:07 2015 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 090C5A40D2B for ; Sat, 5 Dec 2015 03:24:07 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-pf0-x233.google.com (mail-pf0-x233.google.com [IPv6:2607:f8b0:400e:c00::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 BF4ED1E45 for ; Sat, 5 Dec 2015 03:24:06 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by pfnn128 with SMTP id n128so35258184pfn.0 for ; Fri, 04 Dec 2015 19:24:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=q/4N2eeD2Er9Nvfp+sfzi95qO3LwZ/IzGIe5dxQR5Mg=; b=C1HerWZrvjKqIzr6UB1RQ+XgRNdrwI9Lf72zcvXVDhBAKZNgcr7NmjHMh1D+3xhiPz MNs1ksHsQvPCKgIblzdhJalW+jWLcBlQxxlcfIY5/gt6in7yr8LyS5pPBwGkrNudspUk pGmaphmKaDoMqQsVOPm6CPn4QLJf109Tma6ZnUG/5MMYNBd6vfYxzWRrZ2lGrblCwXmn KnFxcvRJdbnbjzcio0OJCr+0pHb9ZtbWlt2XE4EwqYDbTV7gy4o53PVrZJU4Y7wfaQd4 mQ4WSDHNVls7BKf5rL9uX6GSJWbbYScojmVeekQQEMAnTKPFg60uwM0L58bCboT50Q+8 2pyg== X-Received: by 10.98.43.18 with SMTP id r18mr26678244pfr.2.1449285846263; Fri, 04 Dec 2015 19:24:06 -0800 (PST) Received: from [192.168.111.129] ([120.29.76.26]) by smtp.googlemail.com with ESMTPSA id o63sm19831918pfi.77.2015.12.04.19.24.04 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Dec 2015 19:24:05 -0800 (PST) Message-ID: <566258D7.6010405@gmail.com> Date: Fri, 04 Dec 2015 22:24:07 -0500 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Lev CC: freebsd-questions@freebsd.org Subject: Re: ppp broken link leftover References: <20151129223711.116a8d7f@jive.levalinux.org> In-Reply-To: <20151129223711.116a8d7f@jive.levalinux.org> 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.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2015 03:24:07 -0000 Lev wrote: > I've set up ppp and it works as expected. > > The connection to my ISP brakes from time to time. I experience that > the IP address of tun0 and the routing table doesn't get updated. All > the old address and routing record stay there. > > Everything is working, I just don't think that a broken routing record > is a good idea to leave it in the kernel's routing table. Not to > mention the address of the interface. > > I've tried adding the 'add! default HISADDR' to my ppp.conf, but it > didn't help. > > Any ideas? > This should fix your problem. Add this to your ppp.conf file disable iface-alias # Stop adding old IP address as alias when ppp # redials because line was lost. These old IPs # showed using ifconfig -a on tun0. iface clear # Remove all previous IP address From owner-freebsd-questions@freebsd.org Sat Dec 5 14:18:40 2015 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 7AA7FA419FC for ; Sat, 5 Dec 2015 14:18:40 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) (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 65A8A1A85 for ; Sat, 5 Dec 2015 14:18:40 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id tB5EDiJP065962 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 5 Dec 2015 06:13:46 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.14.2/Submit) with UUCP id tB5EDhcP065961 for freebsd-questions@freebsd.org; Sat, 5 Dec 2015 06:13:43 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: from fbsd81 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA26963; Sat, 5 Dec 15 00:01:04 PST Date: Sat, 05 Dec 2015 00:01:03 -0800 From: perryh@pluto.rain.com (Perry Hutchison) To: freebsd-questions@freebsd.org Subject: resizing a memstick image Message-Id: <566299bf.2z11XFWfUMRFyXGs%perryh@pluto.rain.com> User-Agent: nail 11.25 7/29/05 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.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2015 14:18:40 -0000 Having downloaded the 10.2 memstick image, I see that it is configured as a 657MB GPT: # mdconfig -a -t vnode -u 0 -f /path/to/FreeBSD-10.2-RELEASE-i386-memstick.img # ls -l /dev/md* crw-r----- 1 root operator 0, 175 Nov 30 01:46 /dev/md0 crw-r----- 1 root operator 0, 176 Nov 30 01:46 /dev/md0p1 crw-r----- 1 root operator 0, 178 Nov 30 01:46 /dev/md0p2 crw-r----- 1 root operator 0, 179 Nov 30 01:46 /dev/md0p3 crw------- 1 root wheel 0, 74 Aug 29 12:17 /dev/mdctl # gpart show md0 => 3 1346448 md0 GPT (657M) 3 32 1 freebsd-boot (16K) 35 1344368 2 freebsd-ufs (656M) 1344403 2048 3 freebsd-swap (1.0M) After I write this onto a 4GB flash drive, how would I go about resizing the GPT and/or protective MBR to reflect the actual size of the drive, so as to make the remaining 3GB or so available for an additional partition and eliminate the geom warnings that the secondary GPT is either corrupted or not in the last LBA? Relevant parts of dmesg -- When connecting the flash drive before writing to it (on FreeBSD 8): ugen0.3: at usbus0 umass1: on usbus0 umass1: SCSI over Bulk-Only; quirks = 0x0000 umass1:3:1:-1: Attached to scbus3 (probe0:umass-sim1:1:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim1:1:0:0): CAM status: SCSI Status Error (probe0:umass-sim1:1:0:0): SCSI status: Check Condition (probe0:umass-sim1:1:0:0): SCSI sense: UNIT ATTENTION asc:28,0 (Not ready to ready change, medium may have changed) da2 at umass-sim1 bus 1 scbus3 target 0 lun 0 da2: < Patriot Memory PMAP> Removable Direct Access SCSI-4 device da2: 1.000MB/s transfers da2: 3814MB (7811072 512 byte sectors: 255H 63S/T 486C) After writing the .img file to the flash drive (on FreeBSD 8): GEOM: da2: partition 1 does not end on a track boundary. GEOM: da2: the secondary GPT table is corrupt or invalid. GEOM: da2: using the primary only -- recovery suggested. When booting 10.2-RELEASE from that flash drive: ehci0: mem 0xffa80800-0xffa80bff irq 23 at device 29.7 on pci0 usbus4: EHCI version 1.0 usbus4 on ehci0 usbus4: 480Mbps High Speed USB v2.0 ugen4.1: at usbus4 uhub2: on usbus4 Root mount waiting for: usbus4 Root mount waiting for: usbus4 uhub2: 8 ports with 8 removable, self powered Root mount waiting for: usbus4 Root mount waiting for: usbus4 ugen4.2: at usbus4 umass0: on usbus4 umass0: SCSI over Bulk-Only; quirks = 0xc100 umass0:4:0:-1: Attached to scbus4 Trying to mount root from ufs:/dev/ufs/FreeBSD_Install [ro,noatime]... mountroot: waiting for device /dev/ufs/FreeBSD_Install ... pass2 at umass-sim0 bus 0 scbus4 target 0 lun 0 pass2: < Patriot Memory PMAP> Removable Direct Access SPC-2 SCSI device pass2: Serial Number ################ pass2: 40.000MB/s transfers GEOM: new disk da0 da0 at umass-sim0 bus 0 scbus4 target 0 lun 0 da0: < Patriot Memory PMAP> Removable Direct Access SPC-2 SCSI device da0: Serial Number ################ da0: 40.000MB/s transfers da0: 3814MB (7811072 512 byte sectors: 255H 63S/T 486C) da0: quirks=0x2 GEOM: da0: the secondary GPT header is not in the last LBA. GEOM: diskid/DISK-################: the secondary GPT header is not in the last LBA. GEOM: diskid/DISK-################: the secondary GPT header is not in the last LBA. GEOM: diskid/DISK-################: the secondary GPT header is not in the last LBA. From owner-freebsd-questions@freebsd.org Sat Dec 5 14:40:49 2015 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 03B30A41121 for ; Sat, 5 Dec 2015 14:40:49 +0000 (UTC) (envelope-from leventelist@gmail.com) Received: from papyrus.altaweb.hu (papyrus.altaweb.hu [195.228.155.151]) (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 B8B4E1313 for ; Sat, 5 Dec 2015 14:40:48 +0000 (UTC) (envelope-from leventelist@gmail.com) Received: from localhost (localhost [127.0.0.1]) by papyrus.altaweb.hu (Postfix) with ESMTP id C2A6DA04D6 for ; Sat, 5 Dec 2015 15:32:50 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at papyrus.altaweb.hu Received: from papyrus.altaweb.hu ([127.0.0.1]) by localhost (papyrus.altaweb.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0sMqar2-Ya5D for ; Sat, 5 Dec 2015 15:32:49 +0100 (CET) Received: from chacha.levafreebsd.org (5E1BCF66.mobile.pool.telekom.hu [94.27.207.102]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: levente@altanet.hu) by papyrus.altaweb.hu (Postfix) with ESMTPSA id BE184A04D8 for ; Sat, 5 Dec 2015 15:32:48 +0100 (CET) Received: from jive.levalinux.org (jive.levalinux.org [192.168.1.1]) by chacha.levafreebsd.org (Postfix) with ESMTPS id 8E21FE9E9E0 for ; Sat, 5 Dec 2015 15:40:36 +0100 (CET) Date: Sat, 5 Dec 2015 15:40:35 +0100 From: Lev To: freebsd-questions@freebsd.org Subject: Re: ppp broken link leftover Message-ID: <20151205154035.4f932fad@jive.levalinux.org> In-Reply-To: <566258D7.6010405@gmail.com> References: <20151129223711.116a8d7f@jive.levalinux.org> <566258D7.6010405@gmail.com> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd10.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: base64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2015 14:40:49 -0000 T24gRnJpLCAwNCBEZWMgMjAxNSAyMjoyNDowNyAtMDUwMA0KRXJuaWUgTHV6YXIgPGx1emFyNzIy QGdtYWlsLmNvbT4gd3JvdGU6DQoNCj4gQWRkIHRoaXMgdG8geW91ciBwcHAuY29uZiBmaWxlDQo+ IA0KPiAgICBkaXNhYmxlIGlmYWNlLWFsaWFzICAgICMgU3RvcCBhZGRpbmcgb2xkIElQIGFkZHJl c3MgYXMgYWxpYXMgd2hlbg0KPiBwcHAgIyByZWRpYWxzIGJlY2F1c2UgbGluZSB3YXMgbG9zdC4g VGhlc2Ugb2xkIElQcw0KPiAgICAgICAgICAgICAgICAgICAgICAgICAgICMgc2hvd2VkIHVzaW5n ICBpZmNvbmZpZyAtYSAgIG9uIHR1bjAuDQo+IA0KPiAgICBpZmFjZSBjbGVhciAgICAgICAgICAg ICMgUmVtb3ZlIGFsbCBwcmV2aW91cyBJUCBhZGRyZXNzDQoNClRoYW5rcyEgVGhpcyBpcyB3aGF0 IEkgd2FzIGxvb2tpbmcgZm9yLiBJdCBpcyBhIHBpdHksIHRoYXQgaXMgbm90IGluDQp0aGUgaGFu ZGJvb2suDQoNCkxldg0KDQoNCi0tIA0KNzMgZGUgSEE1T0dMDQpPcC46IExldmVudGUNCg== From owner-freebsd-questions@freebsd.org Sat Dec 5 14:49:20 2015 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 BF7B0A4140B for ; Sat, 5 Dec 2015 14:49:20 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::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 5CF5C1808 for ; Sat, 5 Dec 2015 14:49:20 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: by wmec201 with SMTP id c201so99551979wme.1 for ; Sat, 05 Dec 2015 06:49:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=YzTdqnZjaDaGG99DoC/hmHbeqC3UeUTSQE+WhO1UvEk=; b=KX6pz7+lpPyPhVW+x+1oJa+Zh3cr6cZKRIZcmLElPJ9U+km5ByRliOBVp216K+8kYF HZoKE/bQRlZ8ZK5V2iV55Hw6fJXa1ui9J4FpyvYR7RDv9VjFOGnEu0x3xbOJzsEOJpCB ZZbH5uMUsNEG7rH0m492Plfo9GZRrI3F+c4G2TgEM/to/L0ofmsKofXlI8gqJ4Vbd3cG sjq9Z9rKEB3p9pgs+uS6tuyfWELr/tyPvOG0wQA3FaqpbPFWzPljlARYjHzxSJMaZRTp bRWaRHm8rf+xybiOh+AVMFZRUauAQobsrWt38CQozOnPsw5kjZi0A2wrlzhrvWM3qTtq HR8Q== X-Received: by 10.28.85.129 with SMTP id j123mr11684842wmb.77.1449326958941; Sat, 05 Dec 2015 06:49:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.140.75 with HTTP; Sat, 5 Dec 2015 06:48:59 -0800 (PST) In-Reply-To: <566299bf.2z11XFWfUMRFyXGs%perryh@pluto.rain.com> References: <566299bf.2z11XFWfUMRFyXGs%perryh@pluto.rain.com> From: Anton Sayetsky Date: Sat, 5 Dec 2015 16:48:59 +0200 Message-ID: Subject: Re: resizing a memstick image To: Perry Hutchison Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2015 14:49:20 -0000 RTFM: https://www.freebsd.org/doc/handbook/disks-growing.html 2015-12-05 10:01 GMT+02:00 Perry Hutchison : > Having downloaded the 10.2 memstick image, I see that it is > configured as a 657MB GPT: > > # mdconfig -a -t vnode -u 0 -f /path/to/FreeBSD-10.2-RELEASE-i386-memstick.img > > # ls -l /dev/md* > crw-r----- 1 root operator 0, 175 Nov 30 01:46 /dev/md0 > crw-r----- 1 root operator 0, 176 Nov 30 01:46 /dev/md0p1 > crw-r----- 1 root operator 0, 178 Nov 30 01:46 /dev/md0p2 > crw-r----- 1 root operator 0, 179 Nov 30 01:46 /dev/md0p3 > crw------- 1 root wheel 0, 74 Aug 29 12:17 /dev/mdctl > > # gpart show md0 > => 3 1346448 md0 GPT (657M) > 3 32 1 freebsd-boot (16K) > 35 1344368 2 freebsd-ufs (656M) > 1344403 2048 3 freebsd-swap (1.0M) > > After I write this onto a 4GB flash drive, how would I go about > resizing the GPT and/or protective MBR to reflect the actual size > of the drive, so as to make the remaining 3GB or so available for > an additional partition and eliminate the geom warnings that the > secondary GPT is either corrupted or not in the last LBA? > > Relevant parts of dmesg -- > When connecting the flash drive before writing to it (on FreeBSD 8): > ugen0.3: at usbus0 > umass1: on usbus0 > umass1: SCSI over Bulk-Only; quirks = 0x0000 > umass1:3:1:-1: Attached to scbus3 > (probe0:umass-sim1:1:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 > (probe0:umass-sim1:1:0:0): CAM status: SCSI Status Error > (probe0:umass-sim1:1:0:0): SCSI status: Check Condition > (probe0:umass-sim1:1:0:0): SCSI sense: UNIT ATTENTION asc:28,0 (Not ready to ready change, medium may have changed) > da2 at umass-sim1 bus 1 scbus3 target 0 lun 0 > da2: < Patriot Memory PMAP> Removable Direct Access SCSI-4 device > da2: 1.000MB/s transfers > da2: 3814MB (7811072 512 byte sectors: 255H 63S/T 486C) > > After writing the .img file to the flash drive (on FreeBSD 8): > GEOM: da2: partition 1 does not end on a track boundary. > GEOM: da2: the secondary GPT table is corrupt or invalid. > GEOM: da2: using the primary only -- recovery suggested. > > When booting 10.2-RELEASE from that flash drive: > ehci0: mem 0xffa80800-0xffa80bff irq 23 at device 29.7 on pci0 > usbus4: EHCI version 1.0 > usbus4 on ehci0 > usbus4: 480Mbps High Speed USB v2.0 > ugen4.1: at usbus4 > uhub2: on usbus4 > Root mount waiting for: usbus4 > Root mount waiting for: usbus4 > uhub2: 8 ports with 8 removable, self powered > Root mount waiting for: usbus4 > Root mount waiting for: usbus4 > ugen4.2: at usbus4 > umass0: on usbus4 > umass0: SCSI over Bulk-Only; quirks = 0xc100 > umass0:4:0:-1: Attached to scbus4 > Trying to mount root from ufs:/dev/ufs/FreeBSD_Install [ro,noatime]... > mountroot: waiting for device /dev/ufs/FreeBSD_Install ... > pass2 at umass-sim0 bus 0 scbus4 target 0 lun 0 > pass2: < Patriot Memory PMAP> Removable Direct Access SPC-2 SCSI device > pass2: Serial Number ################ > pass2: 40.000MB/s transfers > GEOM: new disk da0 > da0 at umass-sim0 bus 0 scbus4 target 0 lun 0 > da0: < Patriot Memory PMAP> Removable Direct Access SPC-2 SCSI device > da0: Serial Number ################ > da0: 40.000MB/s transfers > da0: 3814MB (7811072 512 byte sectors: 255H 63S/T 486C) > da0: quirks=0x2 > GEOM: da0: the secondary GPT header is not in the last LBA. > GEOM: diskid/DISK-################: the secondary GPT header is not in the last LBA. > GEOM: diskid/DISK-################: the secondary GPT header is not in the last LBA. > GEOM: diskid/DISK-################: the secondary GPT header is not in the last LBA. > _______________________________________________ > 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 Sat Dec 5 20:09:34 2015 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 0B71BA42DB1 for ; Sat, 5 Dec 2015 20:09:34 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from iris.ime.usp.br (iris.ime.usp.br [143.107.45.5]) by mx1.freebsd.org (Postfix) with ESMTP id AE7981D11 for ; Sat, 5 Dec 2015 20:09:33 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from hpmini (unknown [187.65.219.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: schultz@iris.ime.usp.br) by iris.ime.usp.br (Postfix) with ESMTPSA id 0501E290032C for ; Sat, 5 Dec 2015 18:09:28 -0200 (BRST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ime.usp.br; s=mail; t=1449346172; bh=ZWYU4yAWchhJNyCWl/QDkpreNS1r1TH5EzZd2St5Azk=; h=Date:From:To:Subject:From; b=R01c3AYXOMv7OB0M5mnlC1rI9r3e+WmNlkpdyz8/t3dQD0LSo3Kz1F9oKGodlQdAd 6zxeBQu/R6KczGZu5S3hevtQoYcO10BLW3aox2fwCUyOxlNQQ7PFsk0RJSDRmeDPHi Mz7S+CerRsVxrHNLFfsDckKgJn8oImztwoRojzOk= Date: Sat, 5 Dec 2015 18:11:07 -0200 From: =?utf-8?B?THXDrXM=?= Fernando Schultz Xavier da Silveira To: freebsd-questions@freebsd.org Subject: Cleaning obsolete files after make installworld Message-ID: <20151205201107.GA19335@hpmini> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on iris.ime.usp.br X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2015 20:09:34 -0000 Hi, I have edited /etc/src.conf to remove software which is not useful to me. After compiling and installing the world, I have launched the check-old, delete-old and delete-old-libs targets of /usr/src/Makefile. However, several old files still remain in the system. For example, I have included WITHOUT_INETD in /etc/src.conf, but after peforming the above procedure, the file /usr/sbin/inetd was still there, with a modification time that predates the installation of the system. What is the standard procedure for removing these stale files? I have used the -mtime option of find to locate and remove them, but I doubt this is the recommended approach. Thanks. From owner-freebsd-questions@freebsd.org Sat Dec 5 20:41:13 2015 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 35B42A417DC for ; Sat, 5 Dec 2015 20:41:13 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::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 C44E61C5F for ; Sat, 5 Dec 2015 20:41:12 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: by wmec201 with SMTP id c201so105605497wme.1 for ; Sat, 05 Dec 2015 12:41:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=6u69nt8+B6h0LLu8E6MlmCg2nr1A3DTbByjxXny0MzU=; b=t13p4py175lyO5pewxUkXJVJI9Lc5Qv47DZuTwu+7TNWg52kho/Aa5nr+4LfQvhMly +Dw5H8kVxtu+F/L0geODcfH5pvF/RPwEIy/9YZ8zCo/gR66z9mKnjYsf2ACPpuNqnCve vYNcRvFvRs3eAtV5NkdXHGE+jtSWII852yV5o9Dw26bBo1iz9d4mEcZYlz86B3VHXJHo nzJUPMIctoeSe+pBg7wJ+scBgMA5xrs4gyVcQTY1PSePLmJHbxndOx46DpJgLn7q8Zyu p5Bfub7WN5hJ5cWG71JwI9gzF7QgRcuY10qSBzCItXc3BnzLZL1WalNiPDKsX4DlL2H8 1WBw== X-Received: by 10.28.150.11 with SMTP id y11mr11619238wmd.43.1449348071328; Sat, 05 Dec 2015 12:41:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.140.75 with HTTP; Sat, 5 Dec 2015 12:40:51 -0800 (PST) In-Reply-To: <20151205201107.GA19335@hpmini> References: <20151205201107.GA19335@hpmini> From: Anton Sayetsky Date: Sat, 5 Dec 2015 22:40:51 +0200 Message-ID: Subject: Re: Cleaning obsolete files after make installworld To: =?UTF-8?Q?Lu=C3=ADs_Fernando_Schultz_Xavier_da_Silveira?= Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2015 20:41:13 -0000 Standard procedure is filing a PR, because it's a BUG. Someone adds WITHOUT_XXX option and forgets to update ObsoleteFiles.inc. 2015-12-05 22:11 GMT+02:00 Lu=C3=ADs Fernando Schultz Xavier da Silveira : > Hi, > > I have edited /etc/src.conf to remove software which is not useful > to me. After compiling and installing the world, I have launched the > check-old, delete-old and delete-old-libs targets of /usr/src/Makefile. > > However, several old files still remain in the system. For example, > I have included WITHOUT_INETD in /etc/src.conf, but after peforming the > above procedure, the file /usr/sbin/inetd was still there, with a > modification time that predates the installation of the system. > > What is the standard procedure for removing these stale files? > I have used the -mtime option of find to locate and remove them, but > I doubt this is the recommended approach. > > 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.o= rg" From owner-freebsd-questions@freebsd.org Sat Dec 5 20:48:09 2015 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 C4F57A419F0 for ; Sat, 5 Dec 2015 20:48:09 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from iris.ime.usp.br (iris.ime.usp.br [143.107.45.5]) by mx1.freebsd.org (Postfix) with ESMTP id 7B7B51E93 for ; Sat, 5 Dec 2015 20:48:09 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from hpmini (unknown [187.65.219.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: schultz@iris.ime.usp.br) by iris.ime.usp.br (Postfix) with ESMTPSA id ADA8829002E0; Sat, 5 Dec 2015 18:48:04 -0200 (BRST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ime.usp.br; s=mail; t=1449348488; bh=fU2msr/wHzkI8J7LLpZui/Vmq7tErbsb0R/Wf9WVGV0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HTMDCOfQrt0GtNlQLahbx5UkC4xt/MSehnYfnQefHS6zLcvpvfQVKYiL/9m9G/syS l877BEtyu7MoH+rHZpGT7tpVbAQ02k2KMdAUv32zI8D8I5NoI8aIcf04ASpj4wwcRb kjh+IG7i/VDKkQSlRbSIsoVq1hcN2tmQgz+Om47g= Date: Sat, 5 Dec 2015 18:49:43 -0200 From: =?utf-8?B?THXDrXM=?= Fernando Schultz Xavier da Silveira To: Anton Sayetsky Cc: freebsd-questions@freebsd.org Subject: Re: Cleaning obsolete files after make installworld Message-ID: <20151205204943.GA19890@hpmini> References: <20151205201107.GA19335@hpmini> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on iris.ime.usp.br X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2015 20:48:09 -0000 Well, the problem is there were hundreds upon hundreds of such files from several switches in src.conf. I do not think that many developers would forget that many obsolete files. The more likely possibility is that I have made a mistake somewhere. On Sat, Dec 05, 2015 at 10:40:51PM +0200, Anton Sayetsky wrote: > Standard procedure is filing a PR, because it's a BUG. Someone adds > WITHOUT_XXX option and forgets to update ObsoleteFiles.inc. > > 2015-12-05 22:11 GMT+02:00 Luís Fernando Schultz Xavier da Silveira > : > > Hi, > > > > I have edited /etc/src.conf to remove software which is not useful > > to me. After compiling and installing the world, I have launched the > > check-old, delete-old and delete-old-libs targets of /usr/src/Makefile. > > > > However, several old files still remain in the system. For example, > > I have included WITHOUT_INETD in /etc/src.conf, but after peforming the > > above procedure, the file /usr/sbin/inetd was still there, with a > > modification time that predates the installation of the system. > > > > What is the standard procedure for removing these stale files? > > I have used the -mtime option of find to locate and remove them, but > > I doubt this is the recommended approach. > > > > 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 Sat Dec 5 23:44:03 2015 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 AF22EA42CAF for ; Sat, 5 Dec 2015 23:44:03 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) (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 947931A6E for ; Sat, 5 Dec 2015 23:44:03 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id tB5Nd6gB089938 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 5 Dec 2015 15:39:06 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.14.2/Submit) with UUCP id tB5Nd5bm089937; Sat, 5 Dec 2015 15:39:05 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: from fbsd81 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA29385; Sat, 5 Dec 15 14:47:18 PST Date: Sat, 05 Dec 2015 14:47:17 -0800 From: perryh@pluto.rain.com (Perry Hutchison) To: vsasjason@gmail.com Cc: freebsd-questions@freebsd.org Subject: Re: resizing a memstick image Message-Id: <56636975.b93jZCFgr0v+h5OW%perryh@pluto.rain.com> References: <566299bf.2z11XFWfUMRFyXGs%perryh@pluto.rain.com> In-Reply-To: User-Agent: nail 11.25 7/29/05 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.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2015 23:44:03 -0000 Anton Sayetsky wrote: > 2015-12-05 10:01 GMT+02:00 Perry Hutchison : > > Having downloaded the 10.2 memstick image, I see that it is > > configured as a 657MB GPT: ... > > After I write this onto a 4GB flash drive, how would I go about > > resizing the GPT and/or protective MBR to reflect the actual size > > of the drive ... > > RTFM: https://www.freebsd.org/doc/handbook/disks-growing.html Thanks for the pointer. That section must be new since the 8.1 handbook that I have locally.* I did check there, and also looked for a newer version on the 10.2 memstick, but it seems not to be included in either the live FS or the "doc" distribution set :( * My Internet connection has been _really flakey_ lately,** so I didn't check the online version. ** It works sporadically, but is very slow even then -- email eventually gets through -- telco problem, nothing to do with FreeBSD.