From owner-freebsd-questions@FreeBSD.ORG Sun Oct 20 11:02:11 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 30E6D9BC for ; Sun, 20 Oct 2013 11:02:11 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from nm1.bullet.mail.ird.yahoo.com (nm1.bullet.mail.ird.yahoo.com [77.238.189.58]) by mx1.freebsd.org (Postfix) with SMTP id 60637221E for ; Sun, 20 Oct 2013 11:02:09 +0000 (UTC) Received: from [77.238.189.55] by nm1.bullet.mail.ird.yahoo.com with NNFMP; 20 Oct 2013 11:02:02 -0000 Received: from [46.228.39.106] by tm8.bullet.mail.ird.yahoo.com with NNFMP; 20 Oct 2013 11:02:02 -0000 Received: from [127.0.0.1] by smtp143.mail.ir2.yahoo.com with NNFMP; 20 Oct 2013 11:02:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s1024; t=1382266922; bh=pM/rXTDqtLz+93mMeRHSqOgsGxkBP4nBsxMGwRZmRE8=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Date:From:To:Subject:Message-Id:In-Reply-To:References:X-Mailer:Disposition-Notification-To:Mime-Version:Content-Type:Content-Transfer-Encoding; b=GxVv15ouZJNvMCKulALjE0FUGNs5mLEDNQkgWRfudLVHr1LJBh+4OGHkkU0R0A1pnnevPA7IqgpTpyZAvydKL3cI5/COyzIds0pvgY0QJ8w8/4P4tnupKEOr+JO8l32IMjQmlU70Mt7oayLnL5XpkZGwIFK1mq4IErHmZ/n2QkY= X-Yahoo-Newman-Id: 687047.88785.bm@smtp143.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: ku2s3swVM1mcjMl.7hHqaIxyecdpw6waHrwKmctkq5mQbJY qO8LTnWXAxpTpciLfMv5PFhiThGwIGjWMYvxh2XyejnjFRdnv_qSF_zUZupO aIRJYaxpU_XkHgawGbeqN26.Bkz2H11weO69Qv656eMJkdIhdnEk.qrpQx6c Y.MGuaf36hJRpOPYJkeWr8begSRyzjzmh7gbc_oTMlQkAuB7gPDK38PTWG62 ebouCNBlZTQLGOd_UxRkcMBRXns.ogyP8J3xJ0BAiP6M3.97PTKT0OCrv29A 5jXN_wzHBDN1vdqLtP5F63YET72QY0zBU_k8AE.M_Vx7otLTth_MFqaP91Ne Cv0upseQMztC0IFDa7txiJSEMKZW3sIGx.RL9IY49gsb_CMJ0GcRyZEHxnr4 un_HCtI.gtAkWFNZX3K8SZ7hDg5VoRHVpNlmrXz2bfof..GFrQXHxgkXSlAC rSfSOjuOr.aMn9OQq7Pvq0QMQ6HYaLzg4_yCBMHnITgHZdnmkpx1_i.Q- X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR X-Rocket-Received: from camibar.emorras.eu (emorrasg@89.7.216.154 with ) by smtp143.mail.ir2.yahoo.com with SMTP; 20 Oct 2013 11:02:02 +0000 UTC Date: Sun, 20 Oct 2013 13:02:08 +0200 From: Eduardo Morras To: freebsd-questions@freebsd.org Subject: Re: freebsd-update upgrade -r 7.4-RELEASE-p12 Message-Id: <20131020130208.a1b6b6944a8ac1b1eec138a2@yahoo.es> In-Reply-To: <1381424840.11040.32473177.511919E0@webmail.messagingengine.com> References: <201310090332.r993We9X098245@chilled.skew.org> <20131009153605.3c6524c8a1ce44965a54ae6a@yahoo.es> <1381424840.11040.32473177.511919E0@webmail.messagingengine.com> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.19; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Oct 2013 11:02:11 -0000 Sorry for the delay Mark On Thu, 10 Oct 2013 12:07:20 -0500 Mark Felder wrote: > > You are incorrect. The output of uname -a is taken from the kernel and > cannot be updated without installing a new kernel. > >From uname and uname(3) man pages, "An environment variable composed of the string UNAME_ followed by any flag to the uname utility (except for -a) will allow the corresponding data to be set to the contents of the environment variable." The -a flag behave as though the options -m, -n, -r, -s, and -v were specified. Freebsd-update can modify /root/.profile or better, /etc/profile, adding those environment variables with correct and update values. --- --- Eduardo Morras From owner-freebsd-questions@FreeBSD.ORG Sun Oct 20 16:04:56 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id EAB375D7 for ; Sun, 20 Oct 2013 16:04:56 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BCDD6201A for ; Sun, 20 Oct 2013 16:04:56 +0000 (UTC) Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id DF409209E1 for ; Sun, 20 Oct 2013 12:04:48 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute5.internal (MEProxy); Sun, 20 Oct 2013 12:04:48 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=smtpout; bh=Bsp2EKA/pPHSNfWsnVe/tMoD9yc=; b=Jti MktQz39zWDjDEIMoteA5ISmCGw/eOvGv5XsZjlvm2hIbzDQcvZJMb7r728bTQf1Q /LQDU3DPisln8LKES34zi9fFKsRg7S7qwmmkOZMLD0Jh1QaINYb7CWm7M3YPimJ/ Q4xW+PWgeEctdsO8Hazctpu/z4evdBA8iDlZyqf8= Received: by web3.nyi.mail.srv.osa (Postfix, from userid 99) id A859B1019CE; Sun, 20 Oct 2013 12:04:48 -0400 (EDT) Message-Id: <1382285088.2462.36238881.1AA6BB17@webmail.messagingengine.com> X-Sasl-Enc: ybOe5U2YweWiXx+RorVEiFlGtP+j0PJhO92iA470FwEg 1382285088 From: Mark Felder To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-443dd2cc In-Reply-To: References: <1381600575.18393.33219025.5D7B78D0@webmail.messagingengine.com> <8CA809B3-1692-4760-A63F-9D7451EB49BD@gmail.com> <525D143B.50202@gmail.com> Subject: Re: FreeBSD, Centos and ZFS Date: Sun, 20 Oct 2013 11:04:48 -0500 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Oct 2013 16:04:57 -0000 On Sat, Oct 19, 2013, at 14:31, aurfalien wrote: > > ZoL comes with a little interesting feature; arc2 compression, which does > seem to enhance performance all around. I disabled this in CentOS to > level the playing field. > FreeBSD 10 also has L2ARC compression http://svnweb.freebsd.org/base?view=revision&revision=251478 From owner-freebsd-questions@FreeBSD.ORG Sun Oct 20 20:18:41 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3BB667C for ; Sun, 20 Oct 2013 20:18:41 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BFCCA2D36 for ; Sun, 20 Oct 2013 20:18:40 +0000 (UTC) Received: from mart.js.berklix.net (p57BCFAF6.dip0.t-ipconnect.de [87.188.250.246]) (authenticated bits=128) by land.berklix.org (8.14.5/8.14.5) with ESMTP id r9KKIUjW068006; Sun, 20 Oct 2013 20:18:30 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id r9KKIPxe071140; Sun, 20 Oct 2013 22:18:25 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost.js.berklix.net [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id r9KKID6E034219; Sun, 20 Oct 2013 22:18:19 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201310202018.r9KKID6E034219@fire.js.berklix.net> To: clutton Subject: Re: firefox && HTML5 && flash From: "Julian H. Stacey" Organization: http://berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Sat, 19 Oct 2013 23:31:17 +0300." <1382214677.94228.28.camel@eva02.mbsd> Date: Sun, 20 Oct 2013 22:18:13 +0200 Sender: jhs@berklix.com Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Oct 2013 20:18:41 -0000 > Of course it is not! Please do not top post. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Interleave replies below like a play script. Indent old text with "> ". Send plain text, not quoted-printable, HTML, base64, or multipart/alternative. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 20 20:28:19 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 301101E3 for ; Sun, 20 Oct 2013 20:28:19 +0000 (UTC) (envelope-from jedrzejczak.michal@gmail.com) Received: from mail-ea0-x22b.google.com (mail-ea0-x22b.google.com [IPv6:2a00:1450:4013:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BF89C2DA2 for ; Sun, 20 Oct 2013 20:28:18 +0000 (UTC) Received: by mail-ea0-f171.google.com with SMTP id n15so3046840ead.2 for ; Sun, 20 Oct 2013 13:28:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=g2gp3m7+WqmkSeT3R/eJXsuB4e3avYW8O9zse5G+IJw=; b=mTCicyJzoVJkcyVQHJQx4pMuEDz/xaz/abTuoEZ6YyEyz1SennaprtfixeijN20vHm 06Z9/nRVz5EaothrzcqrOrfU+MMonqfiWA3yuStxCI4MABpmXRGdoqXUbgQQ3spV8hO+ 7yxV7j9FbLFwehWlhuTyi8sg6cOylTYUjd92RBMuyx8nX2HIULtK/nze7OFZ8rhL5cII RMgS/LEopTTHmlpOt0H+xH85LgIk6nNQwhrFFOsDPW8BLTlEM1+Y3JiW9SbOD+CU3QLb p3P1YJJ3KhMxq2FUkcTn8XrlypxrQN4yGUjRWoeSNEOfmfqmsG3tSmdE5q/tbxgByi9W 9MNA== MIME-Version: 1.0 X-Received: by 10.14.174.131 with SMTP id x3mr18335972eel.25.1382300895584; Sun, 20 Oct 2013 13:28:15 -0700 (PDT) Received: by 10.223.2.5 with HTTP; Sun, 20 Oct 2013 13:28:15 -0700 (PDT) In-Reply-To: References: Date: Sun, 20 Oct 2013 22:28:15 +0200 Message-ID: Subject: Fwd: Problem with forums.freebsd.org From: =?ISO-8859-2?Q?Micha=B3_J=EAdrzejczak?= To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Oct 2013 20:28:19 -0000 Helo. I'dont have access to http://forums.freebsd.org. You'ev more info whats happen ? Regards From owner-freebsd-questions@FreeBSD.ORG Sun Oct 20 20:38:21 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B89724E9 for ; Sun, 20 Oct 2013 20:38:21 +0000 (UTC) (envelope-from pascal@lechindianer.de) Received: from scummserver.lechindianer.de (scummserver.lechindianer.de [83.169.44.49]) by mx1.freebsd.org (Postfix) with ESMTP id 7A5092E3B for ; Sun, 20 Oct 2013 20:38:21 +0000 (UTC) Received: from [192.168.178.46] (dslb-084-057-027-244.pools.arcor-ip.net [84.57.27.244]) by scummserver.lechindianer.de (Postfix) with ESMTPSA id ABDE4156DDC89; Sun, 20 Oct 2013 22:38:12 +0200 (CEST) Message-ID: <52643EC4.4060201@lechindianer.de> Date: Sun, 20 Oct 2013 22:36:20 +0200 From: Pascal Schmid User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: =?UTF-8?B?TWljaGHFgiBKxJlkcnplamN6YWs=?= , freebsd-questions@freebsd.org Subject: Re: Fwd: Problem with forums.freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Oct 2013 20:38:21 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/20/2013 10:28 PM, MichaÅ‚ JÄ™drzejczak wrote: > Helo. > > I'dont have access to http://forums.freebsd.org. > > You'ev more info whats happen ? > > > Regards _______________________________________________ freebsd-questions@freebsd.org mailing > list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail > to "freebsd-questions-unsubscribe@freebsd.org" > Seems down for everyone from what I can see here: http://www.downforeveryoneorjustme.com/forums.freebsd.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJSZD7EAAoJEAWefonBOgAfm9sQAII3WJjMPWdYjdUa7N2pxiin RvRGLtKjc8IhzCgT0zejrgjiGOEHN10yCKpyeZbJf8NeIF1iS+RKQgZ/6HstUmQZ LAy/sC/FCC7Ui1j3Z6+WSt2fD6SIRiNNlC9y2miJHcIFZm1LINzbUYxpvFY7AbKm lv38IgSNItlyokFSAE1bkzAieCyqAXpVSrZGHR1ATi1tI3ApW7kAXYUlZChcqrBI uS2BxJKeetXjT2+HOZFDCvxNCzZQWGmVvo4WxeSp/p1ObNwQCTOpDpO3h/Zmow2z d3Q+E0oAIbAqItw8l8zQBWTegXiijDVIT5CmWfkY6yCGv59Obo5heyNBFiLSWvTq AD7jz7RKLnzzgVa4H82YH5iFzJgsYC5KuPQ2jZYaNwAbkjW3UA5DGcfJRTw1CzW5 XCdYBfpsjm0nfVbE3Sacke/K/JYCZHIk50L5uyb911NlJXDwX82eVjmr/QGM1OIx ayza50uAPyVDQ1rBACic1v2uLap+pXHCvgfwZhe9xvufWOPu/W0k3r0o0PeHyRE0 a3cieJK+tgTqUQq6fCXjaGZaqDKzhUWgFukOwe5695cQWoWrjWc/a770q/pUHl8W m7Xw9AYr1jF8PNoQdIo7vOYX52fXMF5FJyIg3etmOO3OSDPZfOiXabz/UWRZBUfv TNOLvOeJeBzzoiM+cAVe =uN7N -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sun Oct 20 21:54:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 198F415E for ; Sun, 20 Oct 2013 21:54:36 +0000 (UTC) (envelope-from cjpugmed@gmail.com) Received: from mail-ve0-x242.google.com (mail-ve0-x242.google.com [IPv6:2607:f8b0:400c:c01::242]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D158E22DF for ; Sun, 20 Oct 2013 21:54:35 +0000 (UTC) Received: by mail-ve0-f194.google.com with SMTP id db12so1009302veb.5 for ; Sun, 20 Oct 2013 14:54:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Wx78u38d8EEnIWjIH//R8+hUCMLuA/oZO8DdvVzaSss=; b=Cp+NGa9HXV6LUOAgEZrVpUByaMNMlDCjWh4KkHfeAaXDII3ch1JnqoPpXVRZuN883R 4Iip0DfeMjlJIfZXKjRDsThRQXHxZxJtXZUu5yPidrYBdyvZZAwkfSdmmT/7pMP6CXRy amCqLa/pBRtBP63ucPATXS+Nt1KHJv1uP4fTzk/6T4yz4kI9jd/twYZWWrpC5ujRtE05 ZarAmekfLBPb3U6//tZCXkc7yIvdxH1oB3e3gsn/fX5xQjwPtXkJ588CDQ+lJuqdWY0t NthfEmarBjmKNmSYr1I7Qia+f6ZkvbgGktTmNvssIrR9XuvcLKEu7bvxrrLbknMZJcly uBrw== MIME-Version: 1.0 X-Received: by 10.221.58.212 with SMTP id wl20mr738393vcb.19.1382306074870; Sun, 20 Oct 2013 14:54:34 -0700 (PDT) Received: by 10.220.1.17 with HTTP; Sun, 20 Oct 2013 14:54:34 -0700 (PDT) Date: Sun, 20 Oct 2013 23:54:34 +0200 Message-ID: Subject: Re: Fwd: Problem with forums.freebsd.org From: Carlos Jacobo Puga Medina To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Oct 2013 21:54:36 -0000 Hopefully, it was a required shutdown to apply some patch level or maybe a VBulletin upgrade. I don't think that it's offline for another reason. Regards From owner-freebsd-questions@FreeBSD.ORG Sun Oct 20 22:59:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D5EA6436 for ; Sun, 20 Oct 2013 22:59:37 +0000 (UTC) (envelope-from cjpugmed@gmail.com) Received: from mail-vb0-x243.google.com (mail-vb0-x243.google.com [IPv6:2607:f8b0:400c:c02::243]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 952E02655 for ; Sun, 20 Oct 2013 22:59:37 +0000 (UTC) Received: by mail-vb0-f67.google.com with SMTP id x16so911118vbf.6 for ; Sun, 20 Oct 2013 15:59:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=sKVsN7tEUrhNXqcpa+6sYEh1qjpNAZZy82lW1U9D3Qc=; b=ShIswcMZoBF6QEfcbxR+zN6tZEsvUbDTNqyGQJE1bYylz6Gy/qB5koLemaA/1uhJoM XGFGIbCagq2ViIOVNl+WEb+r9MUMPjozDMOt5M+NSl2sezKi45rOprSkSbid5V8WFj1t uiexv4DVifQR67j4ffmWrMzrxRkLNNmiktjJDVQD+P/tGCYY8ShHealXvj8JTHxXa4mw XRXF6L1bcpvMzlYT6NJrUGUuDvvRA3wdBaIDa5XDMSQ1m0whL9CzJNNaCTdipHxjP9Gs VTT1fT+jgms74w2VRvTi8ByEFWGsZu9poRZYfaEtcBjSpQZ3PyqvbBTc4IVgtGatRHSO q7jA== MIME-Version: 1.0 X-Received: by 10.52.118.98 with SMTP id kl2mr1717vdb.30.1382309976742; Sun, 20 Oct 2013 15:59:36 -0700 (PDT) Received: by 10.220.1.17 with HTTP; Sun, 20 Oct 2013 15:59:36 -0700 (PDT) In-Reply-To: References: Date: Mon, 21 Oct 2013 00:59:36 +0200 Message-ID: Subject: Re: Fwd: Problem with forums.freebsd.org From: Carlos Jacobo Puga Medina To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Oct 2013 22:59:37 -0000 More detailed information about current forums.FreBSD.org status: http://lists.freebsd.org/pipermail/freebsd-ops-announce/2013-October/000009.html 2013/10/20 Carlos Jacobo Puga Medina > Hopefully, it was a required shutdown to apply some patch level or maybe a > VBulletin upgrade. I don't think that it's offline for another reason. > > Regards > From owner-freebsd-questions@FreeBSD.ORG Mon Oct 21 03:32:34 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CB1BD569 for ; Mon, 21 Oct 2013 03:32:34 +0000 (UTC) (envelope-from update@service.com) Received: from meinfoway.co.uk (mail.meinfoway.co.uk [5.9.253.138]) by mx1.freebsd.org (Postfix) with ESMTP id 35A1825B4 for ; Mon, 21 Oct 2013 03:32:33 +0000 (UTC) Received: from USER-TOSH.mshome.net (UnknownHost [41.138.187.26]) by meinfoway.co.uk with SMTP; Mon, 21 Oct 2013 04:46:26 +0400 MIME-Version: 1.0 Subject: Important Course To: freebsd-questions@freebsd.org From: "Blackboard Learn" Date: Mon, 21 Oct 2013 01:46:08 +0100 Message-Id: <20131021033234.CB1BD569@hub.freebsd.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: Mail message body X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2013 03:32:34 -0000 Good Morning, = An important course form has been posted to you through the Blackboard Le= arning System. = Please sign in immediately to view the form. = Click here to sign in = Thank you, = Blackboard Learn. = =20 From owner-freebsd-questions@FreeBSD.ORG Mon Oct 21 04:10:23 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2498CEA3 for ; Mon, 21 Oct 2013 04:10:23 +0000 (UTC) (envelope-from update@service.com) Received: from meinfoway.co.uk (mail.meinfoway.co.uk [5.9.253.138]) by mx1.freebsd.org (Postfix) with ESMTP id 3BA0D27C6 for ; Mon, 21 Oct 2013 04:10:21 +0000 (UTC) Received: from USER-TOSH.mshome.net (UnknownHost [41.138.187.26]) by meinfoway.co.uk with SMTP; Mon, 21 Oct 2013 05:38:03 +0400 MIME-Version: 1.0 Subject: Important Course To: freebsd-questions@freebsd.org From: "Blackboard Learn" Date: Mon, 21 Oct 2013 02:37:45 +0100 Message-Id: <20131021041023.2498CEA3@hub.freebsd.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: Mail message body X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2013 04:10:23 -0000 Good Morning, = An important course form has been posted to you through the Blackboard Le= arning System. = Please sign in immediately to view the form. = Click here to sign in = Thank you, = Blackboard Learn. = =20 From owner-freebsd-questions@FreeBSD.ORG Mon Oct 21 09:05:06 2013 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9DD4D326 for ; Mon, 21 Oct 2013 09:05:06 +0000 (UTC) (envelope-from seotrafficsolution2@gmail.com) Received: from mail-yh0-x24e.google.com (mail-yh0-x24e.google.com [IPv6:2607:f8b0:4002:c01::24e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6666626F0 for ; Mon, 21 Oct 2013 09:05:06 +0000 (UTC) Received: by mail-yh0-f78.google.com with SMTP id f64so68914yha.9 for ; Mon, 21 Oct 2013 02:05:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:message-id:date:subject:from:to:content-type; bh=A4eWq/1ChFjRTlFj2woJQIqJ1GBNBAIU+CNAKjP9FuE=; b=cLfYcZzyYXtsua8HN96FnPThpbsOjgjG88RUGzNR/INywxGHWvqnIGdOoxa+kJsXWE STy4xI8ESgYP9HtkOFOhbNLQ6vfwMEo8ZXa5w7E6xtxqbKi0dN+dzhLq3iQ9cVBNNSuf AUXN+AsQ7u3RqdhzPjiluRuLX25R48kpzUy4i8fOSpXyDokGeNaQRUUwavndQsDNOT9B De+2LAPLoaRx+5xDJS7MzYAmxyiKb8fp+w7hpHIGOPjFmoouKo6p4etiFR3q7pAXKWIC 93KkxSO8qUaJJ/SYfdV/zU7i1v5n5o80JJGIjW8oqXH+HeVWN+eyY0pdAczOGn3IgCCu PWWw== MIME-Version: 1.0 X-Received: by 10.58.75.199 with SMTP id e7mr1668376vew.20.1382346305182; Mon, 21 Oct 2013 02:05:05 -0700 (PDT) Message-ID: <047d7b33987b7a513704e93c94cc@google.com> Date: Mon, 21 Oct 2013 09:05:05 +0000 Subject: Freebsd.org - Integrated marketing help From: Chloe Lee To: freebsd-questions@FreeBSD.org, freebsd-doc@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2013 09:05:06 -0000 PGRpdiBkaXI9Imx0ciI+PHAgc3R5bGU9Im1hcmdpbi1ib3R0b206MGNtIj48Zm9udCBjb2xvcj0i IzAwMDBmZiIgIA0KZmFjZT0iVmVyZGFuYSwgc2Fucy1zZXJpZiI+PGI+RnJlZWJzZC5vcmc8L2I+ PC9mb250Pjxmb250ICANCmNvbG9yPSIjMDAwMGZmIj48Zm9udCBmYWNlPSJWZXJkYW5hLCBzYW5z LXNlcmlmIj6gVGVhbSw8L2ZvbnQ+PC9mb250PjwvcD4NCjxwIHN0eWxlPSJtYXJnaW4tYm90dG9t OjBjbSI+PGZvbnQgY29sb3I9IiMwMDAwZmYiPjxmb250IGZhY2U9IlZlcmRhbmEsICANCnNhbnMt c2VyaWYiPjxmb250PkkNCnRob3VnaHQgeW91IG1pZ2h0IGxpa2UgdG8ga25vdyBzb21lIHJlYXNv bnMgd2h5IHlvdSBhcmUgbm90IGdldHRpbmcNCmVub3VnaCBTb2NpYWwgTWVkaWEgYW5kIE9yZ2Fu aWMgc2VhcmNoIGVuZ2luZSB0cmFmZmljICANCmZvcqA8Yj5GcmVlYnNkLm9yZy48L2I+PC9mb250 PjwvZm9udD48L2ZvbnQ+PC9wPg0KPHAgc3R5bGU9Im1hcmdpbi1ib3R0b206MGNtIj48Zm9udCBj b2xvcj0iIzAwMDBmZiI+PGZvbnQgZmFjZT0iVmVyZGFuYSwgIA0Kc2Fucy1zZXJpZiI+MS4NCllv dXIgd2Vic2l0ZaA8Yj5GcmVlYnNkLm9yZ6A8L2I+aXMNCm5vdCByYW5raW5nIHRvcCBpbiBHb29n bGUgb3JnYW5pYyBzZWFyY2hlcyBmb3IgbWFueSBjb21wZXRpdGl2ZQ0Ka2V5d29yZCBwaHJhc2Vz LjwvZm9udD48L2ZvbnQ+PC9wPg0KPHAgc3R5bGU9Im1hcmdpbi1ib3R0b206MGNtIj4NCjxmb250 IGNvbG9yPSIjMDAwMGZmIj48Zm9udCBmYWNlPSJWZXJkYW5hLCBzYW5zLXNlcmlmIj4yLg0KWW91 ciBjb21wYW55IGlzIG5vdCBkb2luZyB3ZWxsIGluIG1vc3Qgb2YgdGhlIFNvY2lhbCBNZWRpYSAg DQpXZWJzaXRlcy48L2ZvbnQ+PC9mb250PjwvcD4NCjxwIHN0eWxlPSJtYXJnaW4tYm90dG9tOjBj bSI+DQo8Zm9udCBjb2xvcj0iIzAwMDBmZiI+PGZvbnQgZmFjZT0iVmVyZGFuYSwgc2Fucy1zZXJp ZiI+My4NCllvdXIgc2l0ZSBpcyBub3QgdXNlciBmcmllbmRseSBvbiBtb2JpbGUgZGV2aWNlcy48 L2ZvbnQ+PC9mb250PjwvcD4NCjxwIHN0eWxlPSJtYXJnaW4tYm90dG9tOjBjbSI+PGZvbnQgY29s b3I9IiMwMDAwZmYiPjxmb250IGZhY2U9IlZlcmRhbmEsICANCnNhbnMtc2VyaWYiPlRoZXJlDQph cmUgbWFueSBhZGRpdGlvbmFsIGltcHJvdmVtZW50cyB0aGF0IGNvdWxkIGJlIG1hZGUgdG8geW91 ciB3ZWJzaXRlLA0KYW5kIGlmIHlvdSB3b3VsZCBsaWtlIHRvIGxlYXJuIGFib3V0IHRoZW0sIGFu ZCBhcmUgY3VyaW91cyB0byBrbm93DQp3aGF0IG91ciB3b3JraW5nIHRvZ2V0aGVyIHdvdWxkIGlu dm9sdmUsIHRoZW4gSSB3b3VsZCBiZSBnbGFkIHRvDQpwcm92aWRlIHlvdSB3aXRoIGEgZGV0YWls ZWQgYW5hbHlzaXMgaW4gdGhlIGZvcm0gb2YgYSA8Yj5XRUJTSVRFDQpBVURJVCBSRVBPUlQgZm9y IEZSRUU8L2I+LjwvZm9udD48L2ZvbnQ+PC9wPg0KPHAgc3R5bGU9Im1hcmdpbi1ib3R0b206MGNt Ij4NCjxmb250IGNvbG9yPSIjMDAwMGZmIj48Zm9udCBmYWNlPSJWZXJkYW5hLCBzYW5zLXNlcmlm Ij5PdXINCmNsaWVudHMgY29uc2lzdGVudGx5IHRlbGwgdXMgdGhhdCB0aGVpciBjdXN0b21lcnMg ZmluZCB0aGVtIGJlY2F1c2UNCnRoZXkgYXJlIGF0IHRoZSB0b3Agb2YgdGhlIEdvb2dsZSBzZWFy Y2ggcmFua2luZ3MuIEJlaW5nIGF0IHRoZSB0b3ANCmxlZnQgb2YgR29vZ2xlICgjMS0gIzMgb3Jn YW5pYyBwb3NpdGlvbnMpIGlzIHRoZSBiZXN0IHRoaW5nIHlvdSBjYW4NCmRvIGZvciB5b3VyIGNv bXBhbnkmIzM5O3Mgd2Vic2l0ZSB0cmFmZmljIGFuZCBvbmxpbmUgcmVwdXRhdGlvbi4gWW91IHdp bGwNCmJlIGhhcHB5IHRvIGtub3cgdGhhdCwgbXkgdGVhbSBpcyB3aWxsaW5nIHRvIGd1YXJhbnRl ZSB5b3UgMTxzdXA+c3Q8L3N1cD4NCnBhZ2UgR29vZ2xlIHJhbmtpbmcgZm9yIG1vc3Qgb2YgeW91 ciB0YXJnZXRlZCBrZXl3b3JkIHBocmFzZXMgaW4gb3VyDQpzaXggbW9udGggb25nb2luZyBjYW1w YWlnbi48L2ZvbnQ+PC9mb250PjwvcD4NCjxwIHN0eWxlPSJtYXJnaW4tYm90dG9tOjBjbSI+PGZv bnQgY29sb3I9IiMwMDAwZmYiPjxmb250IGZhY2U9IlZlcmRhbmEsICANCnNhbnMtc2VyaWYiPlNv dW5kDQppbnRlcmVzdGluZz8gRmVlbCBmcmVlIHRvIGVtYWlsIHVzIG9yIGFsdGVybmF0aXZlbHkg eW91IGNhbiBwcm92aWRlDQptZSB3aXRoIHlvdXIgcGhvbmUgbnVtYmVyIGFuZCB0aGUgYmVzdCB0 aW1lIHRvIGNhbGwgeW91LiBJIGFtIGFsc28NCmF2YWlsYWJsZSB0byBtZWV0IHlvdSBpbiBwZXJz b24gYW5kIHByZXNlbnQgeW91IHRoaXMgd2Vic2l0ZSBhdWRpdA0KcmVwb3J0Ljxicj4tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS08V0JSPi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LTxXQlI+LS0tLS08YnI+QmVzdA0KUmVnYXJkcyw8YnI+PGI+Q2hsb2UgTGVlPC9iPjxicj5NYXJr ZXRpbmcNCkNvbnN1bHRhbnQ8YnI+PGJyPjxiPlBTDQpJOiA8L2I+SQ0KYW0gbm90IHNwYW1taW5n LiBJIGhhdmUgc3R1ZGllZCB5b3VyIHdlYnNpdGUgYW5kIGJlbGlldmUgSSBjYW4gaGVscA0Kd2l0 aCB5b3VyIGJ1c2luZXNzIHByb21vdGlvbi4gSWYgeW91IHN0aWxsIHdhbnQgdXMgdG8gbm90IGNv bnRhY3QNCnlvdSwgeW91IGNhbiBpZ25vcmUgdGhpcyBlbWFpbCBvciBhc2sgdG8gcmVtb3ZlIGFu ZCBJIHdpbGwgbm90DQpjb250YWN0IGFnYWluLjwvZm9udD48L2ZvbnQ+PC9wPg0KPHAgc3R5bGU9 Im1hcmdpbi1ib3R0b206MGNtIj4NCjxmb250IGNvbG9yPSIjMDAwMGZmIj48Zm9udCBmYWNlPSJW ZXJkYW5hLCBzYW5zLXNlcmlmIj48Yj5QUw0KSUk8L2I+OiBJIGZvdW5kIHlvdXIgc2l0ZSB1c2lu ZyBHb29nbGUgc2VhcmNoIGFuZCBhZnRlciBoYXZpbmcgYSBsb29rDQpvdmVyIHlvdXIgd2Vic2l0 ZSBJIHJlY29tbWVuZCB5b3UgdG8gaW1wbGVtZW50IGZ1dHVyZSB0ZWNobm9sb2dpZXMNCnN1Y2gg YXMgSFRNTDUgYW5kIFJlc3BvbnNpdmUgRGVzaWduIHRvIG1ha2UgeW91ciBzaXRlIG1vcmUgYWNj ZXNzaWJsZQ0KaW4gbW9iaWxlIHBob25lLCB0YWJsZXRzLCBkZXNrdG9wIGV0Yy48L2ZvbnQ+PC9m b250PjwvcD48L2Rpdj4NCg== From owner-freebsd-questions@FreeBSD.ORG Mon Oct 21 16:45:05 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DE00F534 for ; Mon, 21 Oct 2013 16:45:04 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-qe0-x231.google.com (mail-qe0-x231.google.com [IPv6:2607:f8b0:400d:c02::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8E078249D for ; Mon, 21 Oct 2013 16:45:04 +0000 (UTC) Received: by mail-qe0-f49.google.com with SMTP id a11so3889769qen.22 for ; Mon, 21 Oct 2013 09:45:02 -0700 (PDT) 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:face:mime-version:content-type :content-transfer-encoding; bh=mZoXbqcwxY41g/+T2WupHSifsXOZPGRa8oMBBxXDiY4=; b=XwLXyLy69sx19qD49OuMPOsc6GscyZrSOETOnwLd69d9SdprYCxA+pSY3lWFcUK+QQ us0ew9b/stIVzJ+oCmBuEZlNCfTkD0jx0V9z6q5W4kd3JRQSbgIbOS1JlYOmVW24+eNx pk63o87jHi/HTP7rFNVAX4XBMuLTO3JCJfJDE= 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:face:mime-version:content-type :content-transfer-encoding; bh=mZoXbqcwxY41g/+T2WupHSifsXOZPGRa8oMBBxXDiY4=; b=nGcY6Dxo7ACOGijdl8XcRrZBIZNlJg0Ohs4ipKd9pH50O+crGHrETAnPNUU4f/v7Sd 1zGDUZiMSJ3jVMlB/ckDyVR4QN3hMkyOnvA3Mr0uIMlASCu4zmmq7QQU8WjwdM/qZikg ad3cPGd3X9uXD4gMYnd1zhcsA+LCKLi2pftSlmhnUK4iiFqP9TuJRfMQUAk4unVTuEEX qMnTrUmTPeEaFnxFbjOw/qfmxmZtJcD9TMiWJBg2SZP9i2nEYGe2IWEC/qdPjVfNO4hY l5tGlVpW5rTM+kbrQPWcRajGkm7lg5EihAbIlvw+EzIScYoiwRBtn41nVAwNt2yDzQYh 3vBg== X-Gm-Message-State: ALoCoQmFEe5RdqKiJPPYigLLHCoannK8jSFVCpXN+zwgAGTDcl1ha8S9MVYwaytchP3Uuc3hqkjd X-Received: by 10.224.166.208 with SMTP id n16mr3363685qay.112.1382373901449; Mon, 21 Oct 2013 09:45:01 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPSA id u3sm33388684qej.8.2013.10.21.09.45.00 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Oct 2013 09:45:00 -0700 (PDT) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3d3NxR3P0Zz2CG6G for ; Mon, 21 Oct 2013 12:44:59 -0400 (EDT) Date: Mon, 21 Oct 2013 12:44:59 -0400 From: Jerry To: FreeBSD Subject: Re: Problems building x11-toolkits/linux-f10-pango in poudriere Message-ID: <20131021124459.0612132e@scorpio> In-Reply-To: <20131021175625.40672080@rakor-net.de> References: <20131021175625.40672080@rakor-net.de> Organization: seibercom.net X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd8.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC 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.14 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2013 16:45:05 -0000 On Mon, 21 Oct 2013 17:56:25 +0200 Martin Kropfinger articulated: > I have problems to build x11-toolkits/linux-f10-pango within my > poudriere. Every time I want to start a new build it crashed. Is this > a problem within the port? [snip] There is a PR against the port: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/183120 -- Jerry â™” Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From owner-freebsd-questions@FreeBSD.ORG Mon Oct 21 20:22:28 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 892234FC for ; Mon, 21 Oct 2013 20:22:28 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from blu0-omc4-s2.blu0.hotmail.com (blu0-omc4-s2.blu0.hotmail.com [65.55.111.141]) by mx1.freebsd.org (Postfix) with ESMTP id 4BDF7239C for ; Mon, 21 Oct 2013 20:22:28 +0000 (UTC) Received: from BLU0-SMTP234 ([65.55.111.135]) by blu0-omc4-s2.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 21 Oct 2013 13:21:22 -0700 X-TMN: [hTSm3h2gJCaj2t/M8rkAGZKimPDqvZwc] X-Originating-Email: [carmel_ny@hotmail.com] Message-ID: Received: from scorpio.seibercom.net ([76.182.104.150]) by BLU0-SMTP234.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 21 Oct 2013 13:21:21 -0700 Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: carmel_ny@seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3d3Tl502djz2CG6G for ; Mon, 21 Oct 2013 16:21:20 -0400 (EDT) Date: Mon, 21 Oct 2013 16:21:20 -0400 From: Carmel To: FreeBSD Subject: Unmounting a share X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd8.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 21 Oct 2013 20:21:21.0671 (UTC) FILETIME=[1B7C5970:01CECE9B] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2013 20:22:28 -0000 I have a Windows machine that I use to back up data onto. I use the following command to mount the share: # Mount the drive /usr/sbin/mount_smbfs -N -f 0644 -U jim -W WORKGROUP //jim@boss-4700/FreeBSD $HOME/FreeBSD_D I also have this in the /etc/fstab file: //jim@jim@boss-4700/FreeBSD /usr/home/jim/FreeBSD_D smbfs rw,noauto 0 0 All of that works fine. The problem is that I cannot find a command to umount the share. I have tried every combination I could find on Google but they all result in an error message. It is probably really simple, but I cannot find one that works. -- Carmel carmel_ny@hotmail.com Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. __________________________________________________________________ From owner-freebsd-questions@FreeBSD.ORG Mon Oct 21 20:58:51 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 217091FF for ; Mon, 21 Oct 2013 20:58:51 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from icp-osb-irony-out6.external.iinet.net.au (icp-osb-irony-out6.external.iinet.net.au [203.59.1.222]) by mx1.freebsd.org (Postfix) with ESMTP id 98E2E2595 for ; Mon, 21 Oct 2013 20:58:50 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgEFAHiUZVI6Bv/g/2dsb2JhbABZgwesWpJdgTAWdIIlAQEEATo/BQsLDRQlDwUYHQETE4d0AwkFuj6Ma4JwB4MfgQoDlh0CgWmGKDuFboU3gzgo X-IronPort-AV: E=Sophos;i="4.93,542,1378828800"; d="scan'208";a="154642579" Received: from unknown (HELO smtp.phoenix) ([58.6.255.224]) by icp-osb-irony-out6.iinet.net.au with ESMTP; 22 Oct 2013 04:58:42 +0800 Received: by smtp.phoenix (Postfix, from userid 1001) id 45C2B58F; Tue, 22 Oct 2013 07:58:42 +1100 (EST) Date: Tue, 22 Oct 2013 07:58:42 +1100 From: andrew clarke To: FreeBSD Subject: Re: Unmounting a share Message-ID: <20131021205842.GA63680@ozzmosis.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Carmel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2013 20:58:51 -0000 On Mon 2013-10-21 16:21:20 UTC-0400, Carmel (carmel_ny@hotmail.com) wrote: > I have a Windows machine that I use to back up data onto. I use the > following command to mount the share: > > # Mount the drive > /usr/sbin/mount_smbfs -N -f 0644 -U jim -W WORKGROUP //jim@boss-4700/FreeBSD $HOME/FreeBSD_D > > I also have this in the /etc/fstab file: > //jim@jim@boss-4700/FreeBSD /usr/home/jim/FreeBSD_D smbfs rw,noauto 0 0 > > All of that works fine. The problem is that I cannot find a command to > umount the share. I have tried every combination I could find on Google > but they all result in an error message. It is probably really simple, > but I cannot find one that works. umount /usr/home/jim/FreeBSD_D should work OK, as root. What is the error message? From owner-freebsd-questions@FreeBSD.ORG Mon Oct 21 20:59:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A8C1A2B4 for ; Mon, 21 Oct 2013 20:59:36 +0000 (UTC) (envelope-from leeoliveshackelford@surewest.net) Received: from rc2.surewest.net (rc2.surewest.net [66.60.130.51]) by mx1.freebsd.org (Postfix) with ESMTP id 9061A25AE for ; Mon, 21 Oct 2013 20:59:36 +0000 (UTC) Received: from smtp2.surewest.net ([66.60.130.145]) by rc2.surewest.net ({af05c03d-e86d-4922-90cb-b2bd72ac7e37}) via TCP (outbound) with ESMTP id 20131021205605965 for ; Mon, 21 Oct 2013 20:56:05 +0000 X-RC-FROM: X-RC-RCPT: Received: from ms5.mc.surewest.net (hansolo.surewest.net [64.30.98.104]) by smtp2.surewest.net (Postfix) with ESMTP id A518489680 for ; Mon, 21 Oct 2013 13:56:05 -0700 (PDT) Received: (from ms5.mc.surewest.net [192.168.60.104]) by ms5.mc.surewest.net (MOS 4.1.10-GA) with HTTP/1.1 id DSZ95987 (AUTH leeoliveshackelford@surewest.net); Mon, 21 Oct 2013 13:56:05 -0700 (PDT) From: Subject: click-click in floppy disk drive To: freebsd-questions@freebsd.org X-Mailer: Mirapoint Webmail Direct 4.1.10-GA MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20131021135605.DSZ95987@ms5.mc.surewest.net> Date: Mon, 21 Oct 2013 13:56:05 -0700 (PDT) X-MAG-OUTBOUND: surewest.redcondor.net@66.60.130.145/32 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2013 20:59:36 -0000 Good afternoon, dear FreeBSD enthusiast. I have recently installed FreeBSD 9.1 on my Hewlett-Packard Z220 workstation. I added a Sabrent u.s.b. floppy drive. Two days ago, I ran the "periodic" program. Ever since then, the floppy drive clicks once every 2 seconds, followed by a double blink of the hard drive light. The is no disk in the floppy drive. Does anyone know how to stop this annoyance? If so, please let me know. Thank you. Newby Lee From owner-freebsd-questions@FreeBSD.ORG Mon Oct 21 21:30:25 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9E368F04 for ; Mon, 21 Oct 2013 21:30:25 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 62EA627CA for ; Mon, 21 Oct 2013 21:30:25 +0000 (UTC) Received: from r56.edvax.de (port-92-195-117-74.dynamic.qsc.de [92.195.117.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id E94BA278E5 for ; Mon, 21 Oct 2013 23:30:16 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r9LLUARi002366 for ; Mon, 21 Oct 2013 23:30:10 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 21 Oct 2013 23:30:10 +0200 From: Polytropon To: FreeBSD Subject: Re: Unmounting a share Message-Id: <20131021233010.b43a372b.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2013 21:30:25 -0000 On Mon, 21 Oct 2013 16:21:20 -0400, Carmel wrote: > I have a Windows machine that I use to back up data onto. I use the > following command to mount the share: > > # Mount the drive > /usr/sbin/mount_smbfs -N -f 0644 -U jim -W WORKGROUP //jim@boss-4700/FreeBSD $HOME/FreeBSD_D > > I also have this in the /etc/fstab file: > //jim@jim@boss-4700/FreeBSD /usr/home/jim/FreeBSD_D smbfs rw,noauto 0 0 > > All of that works fine. The problem is that I cannot find a command to > umount the share. I have tried every combination I could find on Google > but they all result in an error message. It is probably really simple, > but I cannot find one that works. First, why do you scatter information across so many places (most notably: interactive command)? You can enter the CIFS "credentials" in /etc/nsmb.conf. For example: [default] workgroup=WORKGROUP [boss-4700] addr=192.168.456.789 [boss-4700:jim] password=TOPSECRET The other information you have correctly entered in /etc/fstab. You can add the equivalent of -N -f 0644 in the "options" field (like "rw,noauto,-x,-y,-z"). The mound command should then only be: # mount /usr/home/jim/FreeBSD_D The umount command should similarly be: # umount /usr/home/jim/FreeBSD_D In case you're getting an error: What _is_ the error? In some cases, forcing the umount can work (but make sure you know what you're doing): # umount -f /usr/home/jim/FreeBSD_D If this also results in an error, please post the error message. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Oct 21 22:02:03 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 96A77B2B for ; Mon, 21 Oct 2013 22:02:03 +0000 (UTC) (envelope-from anonymous@vs159176.vserver.de) Received: from vs159176.vserver.de (vs159176.vserver.de [62.75.159.176]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8D1B129F3 for ; Mon, 21 Oct 2013 22:02:01 +0000 (UTC) Received: (qmail 1963 invoked by uid 30); 21 Oct 2013 13:35:41 +0200 Date: 21 Oct 2013 13:35:41 +0200 Message-ID: <20131021113541.1961.qmail@vs159176.vserver.de> To: questions@FreeBSD.org Subject: Du har en ny sikkerhedsopdatering. From: Visa/MasterCard-International@vs159176.vserver.de, Security@vs159176.vserver.de, Team. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2013 22:02:03 -0000 This is a multi-part message in MIME format. --==Multipart_Boundary_x74759c171d377b8aef38974d9560a838x Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Dear Customer, We must inform you that someone outside Denmark's territory may use your card without your permission. For your protection, we have blocked your credit card. To reactivate your card: 1 - Download the attached document and open it in a browser window. 2 - Once opened, you will be asked to follow a set of instructions. Note: If this is not completed, we will be forced to indefinitely suspend your card, because it can be used for fraud. We appreciate your cooperation in this matter. Thank you, International Customer Support Service --==Multipart_Boundary_x74759c171d377b8aef38974d9560a838x --==Multipart_Boundary_x74759c171d377b8aef38974d9560a838x-- From owner-freebsd-questions@FreeBSD.ORG Mon Oct 21 22:25:58 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A1F17EF5 for ; Mon, 21 Oct 2013 22:25:58 +0000 (UTC) (envelope-from mrkvrg@acm.org) Received: from smtp1.bway.net (smtp1.v6.bway.net [IPv6:2607:d300:1::27]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7A6112B1A for ; Mon, 21 Oct 2013 22:25:58 +0000 (UTC) Received: from gecko3.bs.net (host-216-220-115-96.dsl.bway.net [216.220.115.96]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: m1316v@bway.net) by smtp1.bway.net (Postfix) with ESMTPSA id C76D79586E for ; Mon, 21 Oct 2013 18:25:48 -0400 (EDT) From: mfv To: freebsd-questions@freebsd.org Subject: Re: firefox && HTML5 && flash Date: Mon, 21 Oct 2013 18:25:45 -0400 Message-ID: <4611988.Veuan0ZE26@gecko3.bs.net> User-Agent: KMail/4.10.5 (FreeBSD/9.1-RELEASE; KDE/4.10.5; i386; ; ) In-Reply-To: <1382214677.94228.28.camel@eva02.mbsd> References: <20131018213547.GA1001@tiny-r255948> <20131019212819.GA896@tiny-r255948> <1382214677.94228.28.camel@eva02.mbsd> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mrkvrg@acm.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2013 22:25:58 -0000 On Sat, 19 Oct 2013 23:31:17 clutton wrote: > Of course it is not! > I'm a FreeBSD user and Klemens lives in Germany... > FreeBSD users and Germans don't do such things... >=20 > :) >=20 > BTW. If you see green install button, it means that firefox addons te= am > had approved this addon. And all sources is available on github. > And you can always see the sources. It's just JS. >=20 > On Sat, 2013-10-19 at 21:28 +0000, Matthias Apitz wrote: > > El d=C3=83=C2=ADa Saturday, October 19, 2013 a las 02:29:32PM -0400= , mfv escribi=C3=83=C2=B3: > > > > And the flash disable addon (I didn't try it, 'cause I don't ha= ve the > > > > flash plugin installed): > > > > https://addons.mozilla.org/firefox/addon/flashdisable > > >=20 > > > I received this message a couple of minutes after requesting a so= lution > > > to > > > switch between flash and HTML5. > > >=20 > > > I tried the third option and it meets my needs. If I need to swit= ch from > > > one mode to the other it is a simple matter of clicking on the bu= tton > > > that appears on the toolbar and then reload the page. If the but= ton is > > > red, flash can be used, if it is greyed-out HTML5 is loaded. > >=20 > > Hello mfv, > >=20 > > Isn't it risky to install such kind of software? What about if it i= s > > recording your future keystrokes? > >=20 > > Thx > >=20 > > =09matthias Hello clutton and Matthias, Thanks for the following information. The download button for flashdis= able=20 was indeed green so I assume the firefox folks reviewed the code. =20 After looking at their security notes I verified that add-ons where rev= iews=20 are pending are marked as experimental and have buttons with yellow and= orange=20 stripes. After installing this add-on I ran clamscan and did not find any viruse= s. Are=20 there any other precautions I should take? As far as potential threats go, I do have a concern that the binary cod= e is on=20 one site and the source code on another. In this situation it seems th= at=20 bait-and-switch is possible. Cheers ... Marek From owner-freebsd-questions@FreeBSD.ORG Mon Oct 21 23:13:57 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A3E766C8 for ; Mon, 21 Oct 2013 23:13:57 +0000 (UTC) (envelope-from kline@thought.org) Received: from p3plsmtpa06-06.prod.phx3.secureserver.net (p3plsmtpa06-06.prod.phx3.secureserver.net [173.201.192.107]) by mx1.freebsd.org (Postfix) with ESMTP id 854732E19 for ; Mon, 21 Oct 2013 23:13:57 +0000 (UTC) Received: from ethic.thought.org ([209.180.213.209]) by p3plsmtpa06-06.prod.phx3.secureserver.net with id fzCL1m00D4XeM0101zCL5a; Mon, 21 Oct 2013 16:12:21 -0700 Date: Mon, 21 Oct 2013 16:12:00 +0000 From: Gary Kline To: FreeBSD Mailing List Subject: howto recognize the Shift and Alt keys when /pressed\ Message-ID: <20131021161200.GA18556@ethic.thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2013 23:13:57 -0000 Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 27 years of service to the Unix community. fellow C hackers, okay, ive been here since before noon. I have gotten EVERY key #including the F-keys { 1 to 12 }. all of then play my click.wav file that is a series of 1275 characters. my program is significantly more efficient that the 3 or 4 python scripts. on my 1.6GHz eee-asus, the keyclick.py program takes seconds for it to play the wave file. even ESC works; the arrow keys, everything. I cant figure out gow to fet the left and right shift, alt, anf control keys. xev fails me here: is says that the leftShift is 0xffe1 or in dec 65505. can anybody figure out what I need to do to fix this?--the Last Bug? tia, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Twenty-seven years of service to the Unix community. http://www.thought.org/HOPE From owner-freebsd-questions@FreeBSD.ORG Mon Oct 21 23:28:19 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 34AFCAD3 for ; Mon, 21 Oct 2013 23:28:19 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EDE1F2EAB for ; Mon, 21 Oct 2013 23:28:18 +0000 (UTC) Received: from r56.edvax.de (port-92-195-117-74.dynamic.qsc.de [92.195.117.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 87CCD3C752; Tue, 22 Oct 2013 01:28:10 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r9LNS44T003154; Tue, 22 Oct 2013 01:28:04 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 22 Oct 2013 01:28:04 +0200 From: Polytropon To: Gary Kline Subject: Re: howto recognize the Shift and Alt keys when /pressed\ Message-Id: <20131022012804.98a017fa.freebsd@edvax.de> In-Reply-To: <20131021161200.GA18556@ethic.thought.org> References: <20131021161200.GA18556@ethic.thought.org> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2013 23:28:19 -0000 On Mon, 21 Oct 2013 16:12:00 +0000, Gary Kline wrote: > even ESC works; the arrow keys, everything. I cant figure out gow > to fet the left and right shift, alt, anf control keys. > xev fails me here: is says that the leftShift is 0xffe1 or in > dec 65505. I'm not sure because those are modifier keys (and Meta, AltGr and maybe Compose would also be). They don't send an individual key code that can be received in the usual manner. Instead, they modify the value of another key that can then be evaluated. The normal console driver doesn't "hand them through" to the upper layers so the keycodes can be "captured" by something like ncurses getch(). Similarly ncurses does not define individual "key symbols" for them as it does for all the other keys. Of course, within X they can be captured (check the output of the X event monitor "xev" for example). But that's a different mechanism, here for example different names (keysymbols) are used, like Shift_L, Meta_R, or something user-defined (attached to a keycode with, for example, xmodmap). KeyPress event, serial 30, synthetic NO, window 0x2600001, root 0x1ad, subw 0x0, time 18201220, (-558,72), root:(195,381), state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 30, synthetic NO, window 0x2600001, root 0x1ad, subw 0x0, time 18201333, (-558,72), root:(195,381), state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False The key with the keycode 50 has been assigned the symbol number 0xffe1 which is the name Shift_L. Unlike getch(), within X it's easier to obtain a KeyPress and KeyRelease event, whereas ncurses just "reads from the keyboard buffer", and a single press of the left Shift key doesn't put anything into that buffer. What method of "capturing keys" do you use? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Oct 21 23:49:54 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6BF71361 for ; Mon, 21 Oct 2013 23:49:54 +0000 (UTC) (envelope-from kline@thought.org) Received: from p3plsmtpa08-01.prod.phx3.secureserver.net (p3plsmtpa08-01.prod.phx3.secureserver.net [173.201.193.102]) by mx1.freebsd.org (Postfix) with ESMTP id 4BAA72FC0 for ; Mon, 21 Oct 2013 23:49:53 +0000 (UTC) Received: from ethic.thought.org ([209.180.213.209]) by p3plsmtpa08-01.prod.phx3.secureserver.net with id fzpm1m00F4XeM0101zpmay; Mon, 21 Oct 2013 16:49:47 -0700 Date: Mon, 21 Oct 2013 16:49:26 +0000 From: Gary Kline To: Polytropon Subject: Re: howto recognize the Shift and Alt keys when /pressed\ Message-ID: <20131021164926.GA19974@ethic.thought.org> References: <20131021161200.GA18556@ethic.thought.org> <20131022012804.98a017fa.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131022012804.98a017fa.freebsd@edvax.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2013 23:49:54 -0000 Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 27 years of service to the Unix community. On Tue, Oct 22, 2013 at 01:28:04AM +0200, Polytropon wrote: > On Mon, 21 Oct 2013 16:12:00 +0000, Gary Kline wrote: > > even ESC works; the arrow keys, everything. I cant figure out gow > > to fet the left and right shift, alt, anf control keys. > > xev fails me here: is says that the leftShift is 0xffe1 or in > > dec 65505. > > I'm not sure because those are modifier keys (and Meta, > AltGr and maybe Compose would also be). They don't send > an individual key code that can be received in the usual > manner. Instead, they modify the value of another key > that can then be evaluated. The normal console driver doesn't > "hand them through" to the upper layers so the keycodes > can be "captured" by something like ncurses getch(). > Similarly ncurses does not define individual "key symbols" > for them as it does for all the other keys. > > Of course, within X they can be captured (check the > output of the X event monitor "xev" for example). But > that's a different mechanism, here for example different > names (keysymbols) are used, like Shift_L, Meta_R, or > something user-defined (attached to a keycode with, > for example, xmodmap). > > KeyPress event, serial 30, synthetic NO, window 0x2600001, > root 0x1ad, subw 0x0, time 18201220, (-558,72), root:(195,381), > state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, > XLookupString gives 0 bytes: > XmbLookupString gives 0 bytes: > XFilterEvent returns: False > KeyRelease event, serial 30, synthetic NO, window 0x2600001, > root 0x1ad, subw 0x0, time 18201333, (-558,72), root:(195,381), > state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, > XLookupString gives 0 bytes: > XFilterEvent returns: False > > The key with the keycode 50 has been assigned the symbol > number 0xffe1 which is the name Shift_L. Unlike getch(), > within X it's easier to obtain a KeyPress and KeyRelease > event, whereas ncurses just "reads from the keyboard buffer", > and a single press of the left Shift key doesn't put > anything into that buffer. > > What method of "capturing keys" do you use? since im using curses/ncurses, I just use getch(0. I.e., c = getch(); which works fine for everything except the modifier keys like ahift and alt and ctl. if there is another way within X11, let's hear it! > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Twenty-seven years of service to the Unix community. http://www.thought.org/HOPE From owner-freebsd-questions@FreeBSD.ORG Tue Oct 22 00:59:03 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CE66FE2B for ; Tue, 22 Oct 2013 00:59:03 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5DA272308 for ; Tue, 22 Oct 2013 00:59:02 +0000 (UTC) Received: from mart.js.berklix.net (p57BCF4E4.dip0.t-ipconnect.de [87.188.244.228]) (authenticated bits=128) by land.berklix.org (8.14.5/8.14.5) with ESMTP id r9M0wwrv025269; Tue, 22 Oct 2013 00:58:58 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id r9M0wsTh079091; Tue, 22 Oct 2013 02:58:54 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost.js.berklix.net [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id r9M0waxN050989; Tue, 22 Oct 2013 02:58:42 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201310220058.r9M0waxN050989@fire.js.berklix.net> To: Gary Kline Subject: Re: howto recognize the Shift and Alt keys when /pressed\ From: "Julian H. Stacey" Organization: http://berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Mon, 21 Oct 2013 16:49:26 -0000." <20131021164926.GA19974@ethic.thought.org> Date: Tue, 22 Oct 2013 02:58:36 +0200 Sender: jhs@berklix.com Cc: Polytropon , FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 00:59:03 -0000 > > What method of "capturing keys" do you use? man xmodmap ; xev ? Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Interleave replies below like a play script. Indent old text with "> ". Send plain text, not quoted-printable, HTML, base64, or multipart/alternative. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 22 01:37:02 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 824F11FA for ; Tue, 22 Oct 2013 01:37:02 +0000 (UTC) (envelope-from kline@thought.org) Received: from p3plsmtpa11-08.prod.phx3.secureserver.net (p3plsmtpa11-08.prod.phx3.secureserver.net [68.178.252.109]) by mx1.freebsd.org (Postfix) with ESMTP id 620312499 for ; Tue, 22 Oct 2013 01:37:02 +0000 (UTC) Received: from ethic.thought.org ([209.180.213.209]) by p3plsmtpa11-08.prod.phx3.secureserver.net with id g1cu1m0074XeM01011cujh; Mon, 21 Oct 2013 18:36:56 -0700 Date: Mon, 21 Oct 2013 18:36:34 +0000 From: Gary Kline To: "Julian H. Stacey" Subject: Re: howto recognize the Shift and Alt keys when /pressed\ Message-ID: <20131021183634.GA20511@ethic.thought.org> References: <20131021164926.GA19974@ethic.thought.org> <201310220058.r9M0waxN050989@fire.js.berklix.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201310220058.r9M0waxN050989@fire.js.berklix.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Polytropon , FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 01:37:02 -0000 Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 27 years of service to the Unix community. On Tue, Oct 22, 2013 at 02:58:36AM +0200, Julian H. Stacey wrote: > > > What method of "capturing keys" do you use? > > man xmodmap ; xev ? > > Cheers, > Julian > -- > Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com > Interleave replies below like a play script. Indent old text with "> ". > Send plain text, not quoted-printable, HTML, base64, or multipart/alternative. I have remapped a few keys this way; I dont see how these could be used within a C program that uses curses ... gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Twenty-seven years of service to the Unix community. http://www.thought.org/HOPE From owner-freebsd-questions@FreeBSD.ORG Tue Oct 22 10:35:40 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DCB80AD3 for ; Tue, 22 Oct 2013 10:35:40 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6B9D72F6C for ; Tue, 22 Oct 2013 10:35:39 +0000 (UTC) Received: from mart.js.berklix.net (p5DCBE511.dip0.t-ipconnect.de [93.203.229.17]) (authenticated bits=128) by land.berklix.org (8.14.5/8.14.5) with ESMTP id r9MAZb4H048440; Tue, 22 Oct 2013 10:35:37 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id r9MAZYYc081516; Tue, 22 Oct 2013 12:35:34 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost.js.berklix.net [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id r9MAZKQf014635; Tue, 22 Oct 2013 12:35:26 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201310221035.r9MAZKQf014635@fire.js.berklix.net> To: Gary Kline Subject: Re: howto recognize the Shift and Alt keys when /pressed\ From: "Julian H. Stacey" Organization: http://berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Mon, 21 Oct 2013 18:36:34 -0000." <20131021183634.GA20511@ethic.thought.org> Date: Tue, 22 Oct 2013 12:35:20 +0200 Sender: jhs@berklix.com Cc: Polytropon , FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 10:35:40 -0000 Hi, Reference: > From: Gary Kline > Date: Mon, 21 Oct 2013 18:36:34 +0000 Gary Kline wrote: > Organization: Thought Unlimited. Public service Unix since 1986. > Of_Interest: With 27 years of service to the Unix community. > > On Tue, Oct 22, 2013 at 02:58:36AM +0200, Julian H. Stacey wrote: > > > > What method of "capturing keys" do you use? > > > > man xmodmap ; xev ? > > > > Cheers, > > Julian > > -- > > Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com > > Interleave replies below like a play script. Indent old text with "> ". > > Send plain text, not quoted-printable, HTML, base64, or multipart/alternative. > > > I have remapped a few keys this way; I dont see how these could > be used within a C program that uses curses ... Sorry, it was late & was being lay, I only skimmed your mail, & was just hoping the See Also trails might lead you somewhere useful. Good luck. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Interleave replies below like a play script. Indent old text with "> ". Send plain text, not quoted-printable, HTML, base64, or multipart/alternative. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 22 10:39:28 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 86CB0BED for ; Tue, 22 Oct 2013 10:39:28 +0000 (UTC) (envelope-from cjpugmed@gmail.com) Received: from mail-ve0-x236.google.com (mail-ve0-x236.google.com [IPv6:2607:f8b0:400c:c01::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4A3302F98 for ; Tue, 22 Oct 2013 10:39:28 +0000 (UTC) Received: by mail-ve0-f182.google.com with SMTP id oy12so5174360veb.13 for ; Tue, 22 Oct 2013 03:39:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=WrIAGtBqKvPhyAHCaZ1oRP8/+KWr1QTt5/AmSztG7co=; b=m7IrG/q2B8QEGLjqgwHSxMlDBPJfQpAXXAxm4ynt/Egd6F5XzWGONFkkWqygfNfGNv TkA0PZZujLgVQ0RAIPa60JhBj1cge+JZTqAQlffWdi9pQ8KQm5TIxQAFRBUbDONiYtSM VrTfAVbncy4zaqdMCH9ZSjJwSgBboVS9VI8TNLDibOyN/fJ1Mt378CeOVTjMwe75204q bz/lPd9KERjmccSrfMD5Zi3YnHMg7lpmlg8U0HHLeLDkmqUquDBZNZooCaqZ0uR+9H6M bg+Ytzi99QUS+ilU/Rbye36Gce4bmS7hD5J8v4mmK+grSa5jog5GbyLqmUy85bODX/aH yDTw== MIME-Version: 1.0 X-Received: by 10.220.69.212 with SMTP id a20mr14796046vcj.10.1382438366011; Tue, 22 Oct 2013 03:39:26 -0700 (PDT) Received: by 10.220.1.17 with HTTP; Tue, 22 Oct 2013 03:39:25 -0700 (PDT) Date: Tue, 22 Oct 2013 12:39:25 +0200 Message-ID: Subject: net-im/skype shows negative sbsize for uid = 1001 From: Carlos Jacobo Puga Medina To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 10:39:28 -0000 Hi people, Seems that net-im/skype-2.1.0.81_1,1 doesn't like to work with sbsize limit managed by FreeBSD as it's confirmed by the following output's messages registered: % tail -n 10 /var/log/messages Oct 22 12:27:58 freebsd kernel: linux: pid 2377 (skype): ioctl fd=11, cmd=0x564a ('V',74) is not implemented Oct 22 12:27:58 freebsd last message repeated 2 times Oct 22 12:27:59 freebsd kernel: negative sbsize for uid = 1001 Oct 22 12:27:59 freebsd last message repeated 2080 times Oct 22 12:27:59 freebsd kernel: = 1001 Oct 22 12:27:59 freebsd kernel: negative sbsize for uid = 1001 Oct 22 12:27:59 freebsd last message repeated 2126 times Oct 22 12:28:00 freebsd kernel: = 1001 Oct 22 12:28:00 freebsd kernel: negative sbsize for uid = 1001 Oct 22 12:28:00 freebsd last message repeated 3795 times Using csh(1) appears this problem. % limit cputime unlimited filesize unlimited datasize 524288 kbytes stacksize 65536 kbytes coredumpsize 0 kbytes memoryuse unlimited vmemoryuse unlimited descriptors 32768 memorylocked 64 kbytes maxproc 5547 sbsize unlimited swapsize unlimited Should I ignore these messages safely? --CJPM From owner-freebsd-questions@FreeBSD.ORG Tue Oct 22 10:59:11 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 359433F8 for ; Tue, 22 Oct 2013 10:59:11 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EC40F20D4 for ; Tue, 22 Oct 2013 10:59:10 +0000 (UTC) Received: from r56.edvax.de (port-92-195-117-74.dynamic.qsc.de [92.195.117.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 3DAE727812; Tue, 22 Oct 2013 12:59:08 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r9MAx1nI001980; Tue, 22 Oct 2013 12:59:01 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 22 Oct 2013 12:59:01 +0200 From: Polytropon To: Gary Kline Subject: Re: howto recognize the Shift and Alt keys when /pressed\ Message-Id: <20131022125901.6f3366fd.freebsd@edvax.de> In-Reply-To: <20131021164926.GA19974@ethic.thought.org> References: <20131021161200.GA18556@ethic.thought.org> <20131022012804.98a017fa.freebsd@edvax.de> <20131021164926.GA19974@ethic.thought.org> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 10:59:11 -0000 On Mon, 21 Oct 2013 16:49:26 +0000, Gary Kline wrote: > since im using curses/ncurses, I just use getch(0. I.e., > > c = getch(); > > which works fine for everything except the modifier keys like ahift > and alt and ctl. if there is another way within X11, let's hear > it! In this case I have to remain silent. As far as I know, there is no way to capture modifier keys with this means as _individual_ key presses. In case you really want to implement that functionality, you'll have to "go down a few levels" and hook directly into the keyboard driver which, unlike the ncurses library that is tied to the console driver, is able to recognize modifier keys as individual keys. In "upper levels", this information is fully lost (press and release Shift key) or combined with other information (press Shift key, press letter 'k', release both, a capital 'K' will be written to the keyboard buffer that terminal-based applications can then read). The only way I'd see would be to assign a totally different keysym to the modifier keys, but that again would prevent them from working as they are intended. Here's an example for a ~/.modmaprc that would map the modifier keys to additional PF keys (PF25 to PF33). ! left control keycode 37 = F25 ! left meta keycode 115 = F26 ! left alt keycode 67 = F27 ! left shift keycode 50 = F28 ! caps lock keycode 66 = F29 ! right shift keycode 64 = F30 ! right alt, alt gr keycode 113 = F31 ! right meta keycode 116 = F32 ! compose keycode 117 = F33 Note that I've generated this example from a Sun USB Type 7 keyboard with has Meta keys, a Compose key, but no right Control key, so I can't check that. The keycodes can be easily obtained with "xev". Also consider Num Lock: It's not a modifier key, but does not emit anything into the keyboard buffer. It's key code in X is 77. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Oct 22 12:38:18 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CBD1410B for ; Tue, 22 Oct 2013 12:38:18 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A74F427F2 for ; Tue, 22 Oct 2013 12:38:18 +0000 (UTC) Received: by mail-pa0-f49.google.com with SMTP id lj1so7762048pab.8 for ; Tue, 22 Oct 2013 05:38:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=bwdjC6wAIday2MKH905Jqv+wU1ToIe8HJ/iBBpNc8Lk=; b=D2wxW7WlOpEc1pJm/BvOwd9AOySBTCeZVbqRsawZmYh/dr484X/kQwO1/cdBjpsjMo HRxYvEneDIpX9IFBXdXTcSPQ8uA1exR0gp1i9k5bFAbIpJtZm8aGPQsvpLoqg9a5A245 yX20m+OPDorI8h3k3DzvD62vVOqS39C7vAiZR6o6qLzgx2u41OowyB8WGoa+rOfG2A17 MI0kBMUf5b+fewnT48UO6KC+GLT9TSaZe/DW6RG35IRgYzLoDi24iZvVemcaQWeM74M4 Eye0LLiPKFds6KfJ9LigHZykGxRB7kNDzQRIAtWOgLDz8rzbWXfougsbUjzXTvEQf+3d GfVw== X-Gm-Message-State: ALoCoQkLHVWd6T1wt0oYz9TS/ZiMeXXQBcXJH3Sb/a7ENtXvzNNvsxtEf5bVyzqIlUWGNIiUG4RU MIME-Version: 1.0 X-Received: by 10.68.171.164 with SMTP id av4mr22957237pbc.94.1382445492519; Tue, 22 Oct 2013 05:38:12 -0700 (PDT) Received: by 10.66.240.5 with HTTP; Tue, 22 Oct 2013 05:38:12 -0700 (PDT) In-Reply-To: References: Date: Tue, 22 Oct 2013 08:38:12 -0400 Message-ID: Subject: Re: Help with natd on a specific IP when multiple IPs on same interface From: Alejandro Imass To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 12:38:19 -0000 On Fri, Oct 18, 2013 at 9:53 AM, Alejandro Imass wrote: > Hi, > > A while back I posted a problem related to natd on an single interface > with multiple IPs. We use use natd to enable Internet access to a > bunch of jails and also to redirect specific ports to some of the > jails, whilst other jails may be bound to public IPs as well. > > The problem is that once natd is in operation, all the outbound > traffic appears to come from the first public IP assigned to the > interface. > > Is there any way to more granularly configure natd (static nat > perhaps?) so that traffic that is bound to the other public IPs (i.e. > from a jail that is bound to another public IP of the same interface) > appears to come from the correct IP? > > Our overall set-up is pretty simple: > > a) A single nic (em0) with multiple public IPs > > b) All jails have one private IP in 192.168.101.x which are all aliases of lo0 > > c) Some jails may have both the private IP and also a public public > IP. Any public IP bound to a specific jail is unique to that jail. > > d) One public IP is reserved for the base system > > e) For those jails that don't have public IPs we redirect the shh port > with natd as well, using a port number scheme xxx22 where xxx is the > last digits of the private IP > > f) HTTP inbound traffic is reverse-proxied using Apache mod_proxy to > those jails that don't have public IP. The central proxy is also a > jail that is bound to the base system's public IP which traps port 80 > of the base system's IP. > > g) We make sure that nothing listens on * Every service is carefully > tailored to bind to a specific IP. For example, all sshd of every jail > listen specifically on their respective private IP. > > rc.conf > ----------- > natd_enable="YES" > natd_interface="em0" > natd_flags="-f /etc/natd.conf" > > natd.conf > -------------- > redirect_port tcp 192.168.101.123:22 12322 > etc... > > The specific objectives to fix are: > > 1) In the port redirect above to use the specific base system IP, > something like: > > redirect_port tcp 192.168.101.123:22 xxx.xxx.xxx.xxx:12322 > > 2) When a connection is made from inside a jail bound to a public IP, > that it appears to come from that public IP and not from the first IP > assigned to em0 > > 3) That ssh -b xxx.xxx.xxx.xxx actually works correctly per point 2 above > > 4) Should we switch to kernel-based nat instead of natd? > > Thanks in advance for any help! > > -- > Alejandro Imass Greetings FBSD crowd! Is anyone else experiencing this? Did I describe the issue correctly? Can I provide more information on the problem? Thanks, -- Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Tue Oct 22 13:26:28 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6F82A148 for ; Tue, 22 Oct 2013 13:26:28 +0000 (UTC) (envelope-from hans@middelhoek.nl) Received: from milan.ospito.nl (milan.ospito.nl [46.17.8.70]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1AE592B30 for ; Tue, 22 Oct 2013 13:26:27 +0000 (UTC) Received: from office.ospito.nl ([95.97.235.165] helo=UB01) by milan.ospito.nl with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80.1) (envelope-from ) id 1VYbHU-000FjG-K9 for freebsd-questions@freebsd.org; Tue, 22 Oct 2013 14:41:52 +0200 From: "Hans Middelhoek" To: Subject: FreeBSD 9.2 - problem with quotas Date: Tue, 22 Oct 2013 14:41:52 +0200 Message-ID: <015701cecf24$15b8adc0$412a0940$@middelhoek.nl> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 15.0 Thread-Index: Ac7PIbanEXfBSbqATgqptv+2z3c1jQ== Content-Language: nl X-ACL-Warn: X-Antivirus-Scanner on milan.ospito.nl: Seems clean. You should still use an Antivirus Scanner Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 13:26:28 -0000 Hello, We upgraded 2 servers to FreeBSD 9.2, one 32-bit and the other 64-bit. Both have problems with quotas now, we didn't change the config. Below is what happens on the 32-bit system: root@32bitserver:~ # cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/da0s1b none swap sw 0 0 /dev/da0s1a / ufs rw,userquota,groupquota 1 1 /dev/da0s1h /backup ufs rw,noauto,noatime 2 2 /dev/da0s1g /home ufs rw,nosuid,userquota,groupquota 2 2 /dev/da0s1d /tmp ufs rw,noexec,nosuid 2 2 /dev/da0s1f /usr ufs rw 2 2 /dev/da0s1e /var ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 proc /proc procfs rw 0 0 root@32bitserver:~ # mount /dev/da0s1a on / (ufs, local, with quotas) devfs on /dev (devfs, local, multilabel) /dev/da0s1g on /home (ufs, local, nosuid, with quotas, soft-updates) /dev/da0s1d on /tmp (ufs, local, noexec, nosuid, soft-updates) /dev/da0s1f on /usr (ufs, local, soft-updates) /dev/da0s1e on /var (ufs, local, soft-updates) procfs on /proc (procfs, local) root@32bitserver:~ # /usr/sbin/quotaoff -a root@32bitserver:~ # /usr/sbin/quotaon -a quotaon: using on /backup: No such file or directory quotaon: using on /backup: No such file or directory We use following command in cron to recalculate/validate quotas: /usr/sbin/quotaoff -a; /sbin/quotacheck -aug; /usr/sbin/quotaon -a The 64-bit system is slightly different, but possibly comparable: root@64bitserver:~ # cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/da0p2 / ufs rw,userquota,groupquota 1 1 /dev/da0p3 none swap sw 0 0 /dev/da0p4 /tmp ufs rw,noatime,noexec,nosuid,nosymfollow 2 2 proc /proc procfs rw 0 0 fdesc /dev/fd fdescfs rw 0 0 root@64bitserver:~ # mount /dev/da0p2 on / (ufs, local, with quotas, journaled soft-updates) devfs on /dev (devfs, local, multilabel) /dev/da0p4 on /tmp (ufs, local, noatime, noexec, nosuid, nosymfollow, journaled soft-updates) procfs on /proc (procfs, local) fdescfs on /dev/fd (fdescfs) root@64bitserver:~ # /usr/sbin/quotaoff -a quotaoff: /: Device busy quotaoff: /: Device busy root@64bitserver:~ # /usr/sbin/quotaon -a root@64bitserver:~ # We've never seen quotaoff/quotaon report something like this in earlier versions. It's possible the same error occurs on earlier 9 releases. In FreeBSD 9.1 we had some issues on the 64-bit server with quotas enabled, the server crashed a few times during the quotacheck, possibly because quotaoff didn't work correctly, but we didn't analyze it, it had tob e stable and therefore we disabled quotas temporarily, now with 9.2 the problem with crashes are solved, so I'm pretty sure there are changes in the kernel for quotas, but now we have above errors. I hope someone can tell if we need to change something in our configuration, or is this a bug? For some reason we hadn't following in /etc/rc.conf: quota_enable="YES" check_quotas="NO" I added this and retested, but it didn't make any difference. Thanks and kind regards, Hans Middelhoek From owner-freebsd-questions@FreeBSD.ORG Tue Oct 22 17:16:30 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 13B3896C for ; Tue, 22 Oct 2013 17:16:30 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pa0-x22e.google.com (mail-pa0-x22e.google.com [IPv6:2607:f8b0:400e:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E287C2929 for ; Tue, 22 Oct 2013 17:16:29 +0000 (UTC) Received: by mail-pa0-f46.google.com with SMTP id fa1so10030824pad.5 for ; Tue, 22 Oct 2013 10:16:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=FgZ82sDdM4QdjN2K0b/XhO5/q/FQMXfZhPe8AvH0iDs=; b=SKKUmBAU93y+bpJoMfbH30Tm5DIY1LOwztacPDfM8nmKJBbJcUyBaiSWeEZqWelsxD OhIJsrM/8WJWj75BOocGoxTwhTGiUGM2dM9bj4lgarx1mUz/TyA9i0TEsUV+TDBd2BFv RGvB5u9uM+0QwxfdZRXjqF7YZnL0/fmrvT45Lz95JgodzERmmNflGRmCjztRRQuK1elV GKuigqN/Hh1YWZDjKJJJmxZOcj+K+9FEcYtW+Z9LfBdK1j4/aLNZYyQ91z4T7qsdmUeA kqYKiKfRrxMXDLwuPvaBUEUIJgyhRYWw14qQW+6hXRn45WfNtz4zhVh2ZlCkZ/quddF5 uHsQ== MIME-Version: 1.0 X-Received: by 10.68.225.232 with SMTP id rn8mr23745138pbc.32.1382462189474; Tue, 22 Oct 2013 10:16:29 -0700 (PDT) Received: by 10.70.92.79 with HTTP; Tue, 22 Oct 2013 10:16:29 -0700 (PDT) In-Reply-To: <015701cecf24$15b8adc0$412a0940$@middelhoek.nl> References: <015701cecf24$15b8adc0$412a0940$@middelhoek.nl> Date: Tue, 22 Oct 2013 12:16:29 -0500 Message-ID: Subject: Re: FreeBSD 9.2 - problem with quotas From: Adam Vande More To: Hans Middelhoek Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 17:16:30 -0000 On Tue, Oct 22, 2013 at 7:41 AM, Hans Middelhoek wrote: > Hello, > > > > We upgraded 2 servers to FreeBSD 9.2, one 32-bit and the other 64-bit. Both > have problems with quotas now, we didn't change the config. > > > > Below is what happens on the 32-bit system: > > root@32bitserver:~ # cat /etc/fstab > > # Device Mountpoint FStype Options Dump > Pass# > > /dev/da0s1b none swap sw 0 0 > > /dev/da0s1a / ufs rw,userquota,groupquota 1 > 1 > > /dev/da0s1h /backup ufs rw,noauto,noatime 2 > 2 > > /dev/da0s1g /home ufs > rw,nosuid,userquota,groupquota 2 2 > > /dev/da0s1d /tmp ufs rw,noexec,nosuid 2 > 2 > > /dev/da0s1f /usr ufs rw 2 2 > > /dev/da0s1e /var ufs rw 2 2 > > /dev/acd0 /cdrom cd9660 ro,noauto 0 0 > > proc /proc procfs rw 0 0 > > > > root@32bitserver:~ # mount > > /dev/da0s1a on / (ufs, local, with quotas) > > devfs on /dev (devfs, local, multilabel) > > /dev/da0s1g on /home (ufs, local, nosuid, with quotas, soft-updates) > > /dev/da0s1d on /tmp (ufs, local, noexec, nosuid, soft-updates) > > /dev/da0s1f on /usr (ufs, local, soft-updates) > > /dev/da0s1e on /var (ufs, local, soft-updates) > > procfs on /proc (procfs, local) > > > > root@32bitserver:~ # /usr/sbin/quotaoff -a > > root@32bitserver:~ # /usr/sbin/quotaon -a > > quotaon: using on /backup: No such file or directory > > quotaon: using on /backup: No such file or directory > You don't have a problem with quota's. You have problem with mount. Check your output. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue Oct 22 18:03:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2C61E303 for ; Tue, 22 Oct 2013 18:03:37 +0000 (UTC) (envelope-from steve@sohara.org) Received: from uk1rly2283.eechost.net (uk1rly2283-a.eechost.net [217.69.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id E80042C08 for ; Tue, 22 Oct 2013 18:03:36 +0000 (UTC) Received: from [31.186.37.179] (helo=smtp.marelmo.com) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from ) id 1VYflq-0002ot-Ne for freebsd-questions@freebsd.org; Tue, 22 Oct 2013 18:29:31 +0100 Received: from [192.168.63.1] (helo=steve.marelmo.com) by smtp.marelmo.com with smtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1VYfru-000PIy-TJ for freebsd-questions@freebsd.org; Tue, 22 Oct 2013 17:35:47 +0000 Date: Tue, 22 Oct 2013 18:35:48 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: IPV6 multiple addresses with same prefix Message-Id: <20131022183548.9b18fc59e4374e7274d0e116@sohara.org> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.19; amd64-portbld-freebsd9.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Auth-Info: 15567@permanet.ie (plain) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 18:03:37 -0000 Hi, Does anyone here know of a way to set multiple IPV6 addresses with the same prefix on an interface so that a jail can have it's own IPV6 address ? When I try it ifconfig happily assigns the second address but it gets flagged as 'duplicate' and no traffic gets to the jail using /64 or /128 makes no difference, even ping6 fails to get responses. -- Steve O'Hara-Smith From owner-freebsd-questions@FreeBSD.ORG Tue Oct 22 18:34:01 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F0235ED5 for ; Tue, 22 Oct 2013 18:34:01 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 794512E31 for ; Tue, 22 Oct 2013 18:34:01 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id r9MIXt09034052 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 22 Oct 2013 19:33:55 +0100 (BST) (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk r9MIXt09034052 Authentication-Results: smtp.infracaninophile.co.uk/r9MIXt09034052; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy) Message-ID: <5266C50B.9050102@FreeBSD.org> Date: Tue, 22 Oct 2013 19:33:47 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: IPV6 multiple addresses with same prefix References: <20131022183548.9b18fc59e4374e7274d0e116@sohara.org> In-Reply-To: <20131022183548.9b18fc59e4374e7274d0e116@sohara.org> X-Enigmail-Version: 1.5.2 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="AREl4sR6DUnNqRwkfkIdRihdiLJLk7w7m" X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 18:34:02 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --AREl4sR6DUnNqRwkfkIdRihdiLJLk7w7m Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 22/10/2013 18:35, Steve O'Hara-Smith wrote: > Hi, >=20 > Does anyone here know of a way to set multiple IPV6 addresses with > the same prefix on an interface so that a jail can have it's own IPV6 > address ? When I try it ifconfig happily assigns the second address but= it > gets flagged as 'duplicate' and no traffic gets to the jail using /64 > or /128 makes no difference, even ping6 fails to get responses. >=20 Works for me... lucid-nonsense:/home/matthew:# ifconfig em0 em0: flags=3D8843 metric 0 mtu 15= 00 options=3D4219b ether 68:05:ca:0b:3d:42 inet6 2001:8b0:151:1:3850:9ee6:9c6b:8a8b prefixlen 64 inet6 fe80::6a05:caff:fe0b:3d42%em0 prefixlen 64 scopeid 0x5 inet 81.2.117.97 netmask 0xfffffff8 broadcast 81.2.117.103 inet6 2001:8b0:151:1:3cd3:cd67:fafa:3d78 prefixlen 64 inet6 2001:8b0:151:1:78ea:429a:bbd9:f62f prefixlen 64 inet6 2001:8b0:151:1:c2f:23d1:314c:5e2e prefixlen 64 inet6 2001:8b0:151:1:e2cb:4eff:fe26:6481 prefixlen 64 inet6 2001:8b0:151:1:38df:dfbd:32df:5017 prefixlen 64 inet6 2001:8b0:151:1:68b2:667a:d0cc:7c8f prefixlen 64 inet6 2001:8b0:151:1:18d3:a7d:fe4:1d6a prefixlen 64 inet6 2001:8b0:151:1:6a05:caff:fe0b:3d42 prefixlen 64 inet6 2001:8b0:151:1:: prefixlen 64 anycast inet6 2001:8b0:151:1:54f9:9484:e8b0:12d1 prefixlen 128 nd6 options=3D21 media: Ethernet autoselect (100baseTX ) status: active =2E.. and at least one of those IPv6 IPs is for a jail. rc.conf settings= are like so: ipv6_prefix_em0=3D"2001:8b0:151:1" ifconfig_em0_ipv6=3D"inet6 2001:8b0:151:1:3850:9ee6:9c6b:8a8b/64" ifconfig_em0_alias0=3D"inet6 2001:8b0:151:1:3cd3:cd67:fafa:3d78/64" ifconfig_em0_alias1=3D"inet6 2001:8b0:151:1:78ea:429a:bbd9:f62f/64" ifconfig_em0_alias2=3D"inet6 2001:8b0:151:1:c2f:23d1:314c:5e2e/64" ifconfig_em0_alias3=3D"inet6 2001:8b0:151:1:e2cb:4eff:fe26:6481/64" ifconfig_em0_alias4=3D"inet6 2001:8b0:151:1:38df:dfbd:32df:5017/64" ifconfig_em0_alias5=3D"inet6 2001:8b0:151:1:68b2:667a:d0cc:7c8f/64" ifconfig_em0_alias6=3D"inet6 2001:8b0:151:1:18d3:a7d:fe4:1d6a/64" for the aliases, and like so: jail_xenophobe_hostname=3D"xenophobe.infracaninophile.co.uk" jail_xenophobe_rootdir=3D"/jail/xenophobe" jail_xenophobe_ip=3D"2001:8b0:151:1:54f9:9484:e8b0:12d1" jail_xenophobe_mount_enable=3D"YES" jail_xenophobe_zfs=3D"zroot/jail/xenophobe zroot/jail/xenophobe/TimeMachi= ne" jail_xenophobe_params=3D"enforce_statfs=3D1" for the jail. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --AREl4sR6DUnNqRwkfkIdRihdiLJLk7w7m Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJSZsUTXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATrLsQAKri2lc/cr8p7CT/VQ5ChBPF RUxNpue2EBggvBfrDL2zobdwiAkJTiV2VF9XJmbLno5QScW7le9QhEcX0EilyL/E ecGL9OG/sahl+46JhQKF2FvzbjBWaFj2qgAQpdafvEZqxnKNcC8sGhF6f2BKTZgf yYVKpAhDdM4Tydsd2M8sUyOJ45DoVPVpzZ1665UK017zeRhRJQ+i4+dfInPch4hz xsWWpt9qhlaKygXOegWS0oAwNkUjUrKWmjISbZ8Sin/zj+sHnjssId2jGlN+Tzni PHGV59yByx5hQepLXLKZzMhumZNkZYPupcorMNzD6e22cIraEh8iafC+3+89v3L/ YViXUnr6vn5qbXYwYxlHu5dXJlDx+hEuXj3AmfwHrv8phwLi//9a621nT8MpTGit Ia5mVWpeuaa3KZXallH4resgi3uvjGcoym2SaDSxPtheudFx1guRLK+7vSDlvMfR lS0KwUKERjdgUDpZGimstInmbyVc6ZlJKeKfgqvTy+RfUJ/mPMjqCDWfRQktnq/z IYuu8bK9ykPIXq31wP2OaXRmmqw+FFC39L/p2f0X3Tfmk3WYVIJxJ77aSSkpceMr 0aZwy3uQXjv24ERVeVogYdE8XxwEqavY4EkazCX4PcYD4JLksURKV+72XZr8slQT iuXu6F20UGQk5OZXyLFS =J/8z -----END PGP SIGNATURE----- --AREl4sR6DUnNqRwkfkIdRihdiLJLk7w7m-- From owner-freebsd-questions@FreeBSD.ORG Tue Oct 22 19:18:19 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9B4399D for ; Tue, 22 Oct 2013 19:18:19 +0000 (UTC) (envelope-from kline@thought.org) Received: from p3plsmtpa08-10.prod.phx3.secureserver.net (p3plsmtpa08-10.prod.phx3.secureserver.net [173.201.193.111]) by mx1.freebsd.org (Postfix) with ESMTP id 7962E20EE for ; Tue, 22 Oct 2013 19:18:19 +0000 (UTC) Received: from ethic.thought.org ([209.180.213.209]) by p3plsmtpa08-10.prod.phx3.secureserver.net with id gKGi1m00o4XeM0101KGiT1; Tue, 22 Oct 2013 12:16:43 -0700 Date: Tue, 22 Oct 2013 12:16:23 +0000 From: Gary Kline To: Polytropon Subject: Re: howto recognize the Shift and Alt keys when /pressed\ Message-ID: <20131022121555.GA24386@ethic.thought.org> References: <20131021161200.GA18556@ethic.thought.org> <20131022012804.98a017fa.freebsd@edvax.de> <20131021164926.GA19974@ethic.thought.org> <20131022125901.6f3366fd.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131022125901.6f3366fd.freebsd@edvax.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 19:18:19 -0000 Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 27 years of service to the Unix community. On Tue, Oct 22, 2013 at 12:59:01PM +0200, Polytropon wrote: > On Mon, 21 Oct 2013 16:49:26 +0000, Gary Kline wrote: > > since im using curses/ncurses, I just use getch(0. I.e., > > > > c = getch(); > > > > which works fine for everything except the modifier keys like ahift > > and alt and ctl. if there is another way within X11, let's hear > > it! > > In this case I have to remain silent. As far as I know, > there is no way to capture modifier keys with this means > as _individual_ key presses. > > In case you really want to implement that functionality, > you'll have to "go down a few levels" and hook directly > into the keyboard driver which, unlike the ncurses library > that is tied to the console driver, is able to recognize > modifier keys as individual keys. In "upper levels", this > information is fully lost (press and release Shift key) or > combined with other information (press Shift key, press > letter 'k', release both, a capital 'K' will be written > to the keyboard buffer that terminal-based applications > can then read). getting dow to the keyboard driver level is what I was going to do--actually, what I did do way, way back. there was a crash that cost me a month+ worth of work and I bought a "clicky" keyboard for $80. I would up buying two of them and both got ruined! you are right on the money that I can do nothing directly with the shift, the caps-lock, [[nd alt, and other of the "modifier" keys ]]. I just *barely* understand this python code that the guy has in "xlib.py", but I see what he's done (I think) to grab onto the modifyer keys:: def _setup_lookup(self): """Setup the key lookups.""" for name in dir(XK): if name[:3] == "XK_": code = getattr(XK, name) self.keycode_to_symbol[code] = 'KEY_' + name[3:].upper() self.keycode_to_symbol[65027] = 'KEY_ISO_LEVEL3_SHIFT' self.keycode_to_symbol[269025062] = 'KEY_BACK' self.keycode_to_symbol[269025063] = 'KEY_FORWARD' self.keycode_to_symbol[16777215] = 'KEY_CAPS_LOCK' self.keycode_to_symbol[269025067] = 'KEY_WAKEUP' I'll have to look into his code further to see where he's got the ints from. "65027", "29...62", etc. I'm not going to ask him because he was a bit steamed about my asking him for the key-click code. ---long story-short, this is how I'm going to have to do it to grab the modifiers... . {more backstory, a bit OT: in school, I hated curses. ken arnold invented the stuff in 1978 or 1979; ken was lightyears ahead of me since he was messing with computers as a teenager. } > The only way I'd see would be to assign a totally different > keysym to the modifier keys, but that again would prevent > them from working as they are intended. > > Here's an example for a ~/.modmaprc that would map the > modifier keys to additional PF keys (PF25 to PF33). > > ! left control > keycode 37 = F25 > ! left meta > keycode 115 = F26 > ! left alt > keycode 67 = F27 > ! left shift > keycode 50 = F28 > ! caps lock > keycode 66 = F29 > ! right shift > keycode 64 = F30 > ! right alt, alt gr > keycode 113 = F31 > ! right meta > keycode 116 = F32 > ! compose > keycode 117 = F33 > > Note that I've generated this example from a Sun USB Type 7 > keyboard with has Meta keys, a Compose key, but no right > Control key, so I can't check that. The keycodes can be > easily obtained with "xev". > > Also consider Num Lock: It's not a modifier key, but does > not emit anything into the keyboard buffer. It's key code > in X is 77. :-) > Hmmm! interesting. do you see any way that I could set up an xmod when the computer first boots and the assign the modifiers to some never-used keys, then make those keys click, or am I off in the weeds?? gary > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Twenty-seven years of service to the Unix community. http://www.thought.org/HOPE From owner-freebsd-questions@FreeBSD.ORG Tue Oct 22 20:10:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DA2634F6 for ; Tue, 22 Oct 2013 20:10:36 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 852B12484 for ; Tue, 22 Oct 2013 20:10:36 +0000 (UTC) Received: from r56.edvax.de (port-92-195-117-74.dynamic.qsc.de [92.195.117.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 1BBFC3CC3D; Tue, 22 Oct 2013 22:10:34 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r9MKAR4d003842; Tue, 22 Oct 2013 22:10:28 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 22 Oct 2013 22:10:27 +0200 From: Polytropon To: Gary Kline Subject: Re: howto recognize the Shift and Alt keys when /pressed\ Message-Id: <20131022221027.30108304.freebsd@edvax.de> In-Reply-To: <20131022121555.GA24386@ethic.thought.org> References: <20131021161200.GA18556@ethic.thought.org> <20131022012804.98a017fa.freebsd@edvax.de> <20131021164926.GA19974@ethic.thought.org> <20131022125901.6f3366fd.freebsd@edvax.de> <20131022121555.GA24386@ethic.thought.org> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 20:10:37 -0000 On Tue, 22 Oct 2013 12:16:23 +0000, Gary Kline wrote: > Organization: Thought Unlimited. Public service Unix since 1986. > Of_Interest: With 27 years of service to the Unix community. > > On Tue, Oct 22, 2013 at 12:59:01PM +0200, Polytropon wrote: > > On Mon, 21 Oct 2013 16:49:26 +0000, Gary Kline wrote: > > > since im using curses/ncurses, I just use getch(0. I.e., > > > > > > c = getch(); > > > > > > which works fine for everything except the modifier keys like ahift > > > and alt and ctl. if there is another way within X11, let's hear > > > it! > > > > In this case I have to remain silent. As far as I know, > > there is no way to capture modifier keys with this means > > as _individual_ key presses. > > > > In case you really want to implement that functionality, > > you'll have to "go down a few levels" and hook directly > > into the keyboard driver which, unlike the ncurses library > > that is tied to the console driver, is able to recognize > > modifier keys as individual keys. In "upper levels", this > > information is fully lost (press and release Shift key) or > > combined with other information (press Shift key, press > > letter 'k', release both, a capital 'K' will be written > > to the keyboard buffer that terminal-based applications > > can then read). > > > getting dow to the keyboard driver level is what I was going to > do--actually, what I did do way, way back. there was a crash that > cost me a month+ worth of work and I bought a "clicky" keyboard > for $80. I would up buying two of them and both got ruined! An _excellent_ keyboard which shouldn't be that expensive is the IBM "Model M" (and similarly constructed ones, e. g. by BOSCOM). They have a "mechanical click" due to the spring mechanism in each key. I remember that some terminals had a built-in "beep" (more like a click sound) that could be activated for key presses; I think the DEC vt100 had that feature. A possible idea would be to add the clicking routine (either directed at the PC speaker attached to the mainboard, or if needed, aimed at the sound card / DSP module) as a part of the terminal emu- lator itself: When it receives a keypress, emit the sound. Sadly I'm not familiar enough on how this works on FreeBSD, if the "level is low enough" to find that functionality in the terminal emulator, or if it would really be easier to search for that functionality in the keyboard driver because the terminal emulator already contains "too much abstraction". > I just *barely* understand this python code that the guy has in > "xlib.py", but I see what he's done (I think) to grab onto the > modifyer keys:: > > > def _setup_lookup(self): > """Setup the key lookups.""" > for name in dir(XK): > if name[:3] == "XK_": > code = getattr(XK, name) > self.keycode_to_symbol[code] = 'KEY_' + name[3:].upper() > self.keycode_to_symbol[65027] = 'KEY_ISO_LEVEL3_SHIFT' > self.keycode_to_symbol[269025062] = 'KEY_BACK' > self.keycode_to_symbol[269025063] = 'KEY_FORWARD' > self.keycode_to_symbol[16777215] = 'KEY_CAPS_LOCK' > self.keycode_to_symbol[269025067] = 'KEY_WAKEUP' Hmmm... I did hope that getattr() would be something present on the system (a C library function or part of ncurses), but it's a Python function. :-( Still: Those KEY_ variables are definitions from ncurses found in /usr/include/curses.h and they partially rely on terminfo (again, "higher level" terminal emulation stuff). There are many interesting entries, but Shift as a single key does not seem to be present (because, as I already mentioned, it is a modifier key that adds nothing to the input buffer). Compare: #define KEY_LEFT 0404 /* left-arrow key */ And: #define KEY_SLEFT 0611 /* shifted left-arrow key */ I would assume that the above Python code has something to do with those naming conventions in ncurses... still I don't understand how Caps Lock would be captured that way... The XK_ prefix seems to suggest that those are X defintions for keys... The KEY_ISO_LEVEL3_SHIFT sounds familiar, it's what many non-US countries call "Alt Gr" (or "Alt Graph") to add an extra level of key symbols for national characters or the "differently placed" curly braces and brackets, the | character or \ and the like. > Hmmm! interesting. do you see any way that I could set up an > xmod when the computer first boots and the assign the modifiers > to some never-used keys, then make those keys click, or am I > off in the weeds?? That's easy. Create a file ~/.xmodmaprc with the following content: ! left control keycode 37 = F25 ! left meta keycode 115 = F26 ! left alt keycode 67 = F27 ! left shift keycode 50 = F28 ! caps lock keycode 66 = F29 ! right shift keycode 64 = F30 ! right alt, alt gr keycode 113 = F31 ! right meta keycode 116 = F32 ! compose keycode 117 = F33 Then add the command xmodmap ~/.xmodmaprc to ~/.xinitrc or ~/.xsession (depending on how you start X). I'm using a similar approach myself to make the additional keys of the Sun USB Type 7 keyboard usable in X: They are assigned key symbols (usually F-something) so WindowMaker can pick them up for window management functions or starting programs (e. g. the volume keys lower or raise the audio volume or mute the headphones, the "moon key" quits the session / logout, Ctrl+Alt+Moon shuts down the system). All I did was first use "sev" to find out the key codes of the non-functional keys, then assign them an arbitrarily chosen name via xmodmap, and finally use the "Capture" function of the WindowMaker preferences utility to make them actually do something. But note! If you redefine modifier keys to be "further function keys", expect to lose their modifier functionality! This could render them useless. So make sure you can revert your setting (e. g. have an external shell access that won't be affected) to comment out the xmodmaprc command in the X startup file if needed! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Oct 22 21:00:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CE58489C for ; Tue, 22 Oct 2013 21:00:08 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 934512824 for ; Tue, 22 Oct 2013 21:00:08 +0000 (UTC) Received: from r56.edvax.de (port-92-195-117-74.dynamic.qsc.de [92.195.117.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 6E35A27700; Tue, 22 Oct 2013 23:00:06 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r9ML00uB004291; Tue, 22 Oct 2013 23:00:00 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 22 Oct 2013 23:00:00 +0200 From: Polytropon To: Subject: Re: click-click in floppy disk drive Message-Id: <20131022230000.9bfa7add.freebsd@edvax.de> In-Reply-To: <20131021135605.DSZ95987@ms5.mc.surewest.net> References: <20131021135605.DSZ95987@ms5.mc.surewest.net> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 21:00:09 -0000 On Mon, 21 Oct 2013 13:56:05 -0700 (PDT), leeoliveshackelford@surewest.net wrote: > Good afternoon, dear FreeBSD enthusiast. I have recently > installed FreeBSD 9.1 on my Hewlett-Packard Z220 workstation. > I added a Sabrent u.s.b. floppy drive. Two days ago, I ran > the "periodic" program. The "periodic" facility is just a collection of scripts for cron that get run at specific intervals. Are you referencing to the stock system's /etc/periodic scripts or did you add any custom scripts? > Ever since then, the floppy drive clicks once every 2 seconds, > followed by a double blink of the hard drive light. This indicates a disk access. Do you maybe have an umount pending? You can physically remove the disk while it is mounted. Maybe something still tries to determine free disk space (or something like that) for a floppy that is no longer in the drive? Check the output of "lsof" as well as of "mount -v" for any suspicious entries. I've tried with an IBM USB floppy disk drive: ugen2.2: at usbus2 umass1: on usbus2 da3 at umass-sim1 bus 1 scbus4 target 0 lun 0 da3: Removable Direct Access SCSI-0 device da3: 1.000MB/s transfers da3: Attempt to query device size failed: NOT READY, Medium not present When given the null command, the device doesn't do anything; "true > /dev/da3" and ": > /dev/da3" don't make it show any activity. If I insert a disk, the drive gets active and the null command at least causes some action. Of course I can then access the floppy in the drive. Without any access, the drive will not show any further activity, no matter if there's a floppy inside or not. > The is no disk in the floppy drive. That could be the reason. Try inserting a floppy and see if it satisfies the system. :-) > Does anyone know how to stop this annoyance? I'd say the easiest way is to disconnect the drive, and then later on reconnect it. If that's not possible, you could use the "camcontrol" command to reset the channel where the floppy drive is attached to. Check "camcontrol devlist" to see which channel it is. Example: # camcontrol devlist at scbus0 target 0 lun 0 (pass0,cd0) at scbus0 target 1 lun 0 (pass1,cd1) at scbus3 target 0 lun 0 (pass2,da0) at scbus3 target 0 lun 1 (pass3,da1) at scbus3 target 0 lun 2 (pass4,da2) at scbus4 target 0 lun 0 (pass5,da3) In my case, I would have to "camcontrol reset 4:0:0". Also see "man camcontrol" for details, for example to find other commands like "stop" that could be sent to the floppy drive to make it stop clicking. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Oct 22 21:05:32 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 12EC1A1E for ; Tue, 22 Oct 2013 21:05:32 +0000 (UTC) (envelope-from dnewman@networktest.com) Received: from mail5.networktest.com (mail5.networktest.com [204.109.60.142]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CCFFC28AC for ; Tue, 22 Oct 2013 21:05:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail5.networktest.com (Postfix) with ESMTP id BDF332FCCA9 for ; Tue, 22 Oct 2013 14:05:25 -0700 (PDT) Received: from mail5.networktest.com ([127.0.0.1]) by localhost (mail5.networktest.com [127.0.0.1]) (maiad, port 10024) with ESMTP id 58584-07 for ; Tue, 22 Oct 2013 14:05:25 -0700 (PDT) Received: from dhcp130.eng.networktest.com (ns.networktest.com [205.147.16.129]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: dnewman@networktest.com) by mail5.networktest.com (Postfix) with ESMTPSA id 79B252FCC96 for ; Tue, 22 Oct 2013 14:05:25 -0700 (PDT) Message-ID: <5266E895.60408@networktest.com> Date: Tue, 22 Oct 2013 14:05:25 -0700 From: David Newman Organization: Network Test Inc. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: IPV6 multiple addresses with same prefix References: <20131022183548.9b18fc59e4374e7274d0e116@sohara.org> <5266C50B.9050102@FreeBSD.org> In-Reply-To: <5266C50B.9050102@FreeBSD.org> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 21:05:32 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/22/13 11:33 AM, Matthew Seaman wrote: > On 22/10/2013 18:35, Steve O'Hara-Smith wrote: >> Hi, >> >> Does anyone here know of a way to set multiple IPV6 addresses >> with the same prefix on an interface so that a jail can have it's >> own IPV6 address ? When I try it ifconfig happily assigns the >> second address but it gets flagged as 'duplicate' and no traffic >> gets to the jail using /64 or /128 makes no difference, even >> ping6 fails to get responses. >> > > Works for me... And for me as well. Notice that in Matthew's rc.conf, all but the first address are aliases. Same thing using ifconfig on the command line; just add the term 'alias' at the end of the command for the second and subsequent addresses. This is true both for v4 and v6, e.g.: ifconfig em0 inet 192.168.0.1/24 ifconfig em0 inet 192.168.0.2/24 alias ifconfig em0 inet6 2604:0:c2:15::1/64 ifconfig em0 inet6 2604:0:c2:15::2/64 alias And to get rid of them, use '-alias' or 'remove' with or without the prefix length: ifconfig em0 inet6 2604:0:c2:15::2/64 -alias ifconfig em0 inet6 2604:0:c2:15::2 remove These two are the same command. dn > > lucid-nonsense:/home/matthew:# ifconfig em0 em0: > flags=8843 metric 0 mtu > 1500 > options=4219b > > ether 68:05:ca:0b:3d:42 > inet6 2001:8b0:151:1:3850:9ee6:9c6b:8a8b prefixlen 64 inet6 > fe80::6a05:caff:fe0b:3d42%em0 prefixlen 64 scopeid 0x5 inet > 81.2.117.97 netmask 0xfffffff8 broadcast 81.2.117.103 inet6 > 2001:8b0:151:1:3cd3:cd67:fafa:3d78 prefixlen 64 inet6 > 2001:8b0:151:1:78ea:429a:bbd9:f62f prefixlen 64 inet6 > 2001:8b0:151:1:c2f:23d1:314c:5e2e prefixlen 64 inet6 > 2001:8b0:151:1:e2cb:4eff:fe26:6481 prefixlen 64 inet6 > 2001:8b0:151:1:38df:dfbd:32df:5017 prefixlen 64 inet6 > 2001:8b0:151:1:68b2:667a:d0cc:7c8f prefixlen 64 inet6 > 2001:8b0:151:1:18d3:a7d:fe4:1d6a prefixlen 64 inet6 > 2001:8b0:151:1:6a05:caff:fe0b:3d42 prefixlen 64 inet6 > 2001:8b0:151:1:: prefixlen 64 anycast inet6 > 2001:8b0:151:1:54f9:9484:e8b0:12d1 prefixlen 128 nd6 > options=21 media: Ethernet autoselect > (100baseTX ) status: active > > ... and at least one of those IPv6 IPs is for a jail. rc.conf > settings are like so: > > ipv6_prefix_em0="2001:8b0:151:1" ifconfig_em0_ipv6="inet6 > 2001:8b0:151:1:3850:9ee6:9c6b:8a8b/64" ifconfig_em0_alias0="inet6 > 2001:8b0:151:1:3cd3:cd67:fafa:3d78/64" ifconfig_em0_alias1="inet6 > 2001:8b0:151:1:78ea:429a:bbd9:f62f/64" ifconfig_em0_alias2="inet6 > 2001:8b0:151:1:c2f:23d1:314c:5e2e/64" ifconfig_em0_alias3="inet6 > 2001:8b0:151:1:e2cb:4eff:fe26:6481/64" ifconfig_em0_alias4="inet6 > 2001:8b0:151:1:38df:dfbd:32df:5017/64" ifconfig_em0_alias5="inet6 > 2001:8b0:151:1:68b2:667a:d0cc:7c8f/64" ifconfig_em0_alias6="inet6 > 2001:8b0:151:1:18d3:a7d:fe4:1d6a/64" > > for the aliases, and like so: > > jail_xenophobe_hostname="xenophobe.infracaninophile.co.uk" > jail_xenophobe_rootdir="/jail/xenophobe" > jail_xenophobe_ip="2001:8b0:151:1:54f9:9484:e8b0:12d1" > jail_xenophobe_mount_enable="YES" > jail_xenophobe_zfs="zroot/jail/xenophobe > zroot/jail/xenophobe/TimeMachine" > jail_xenophobe_params="enforce_statfs=1" > > for the jail. > > Cheers, > > Matthew > -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlJm6JQACgkQyPxGVjntI4JAXACg9+nLAsxyLvR5gd2bf2lFNioY yocAoKjXQTnpn5ld04rYZOESdr93qO7z =plqY -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Tue Oct 22 22:42:32 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4CB576CC for ; Tue, 22 Oct 2013 22:42:32 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DFF062E15 for ; Tue, 22 Oct 2013 22:42:31 +0000 (UTC) Received: from r56.edvax.de (port-92-195-117-74.dynamic.qsc.de [92.195.117.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id F158627711; Wed, 23 Oct 2013 00:42:23 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r9MMgHw4004671; Wed, 23 Oct 2013 00:42:18 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 23 Oct 2013 00:42:17 +0200 From: Polytropon To: leeoliveshackelford@surewest.net Subject: Re: click-click in floppy disk drive Message-Id: <20131023004217.09c11ef6.freebsd@edvax.de> In-Reply-To: <20131022152620.DTC25273@ms5.mc.surewest.net> References: <20131021135605.DSZ95987@ms5.mc.surewest.net> <20131022230000.9bfa7add.freebsd@edvax.de> <20131022152620.DTC25273@ms5.mc.surewest.net> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 22:42:32 -0000 //* Re-adding the mailing list in CC, hope that's okay. On Tue, 22 Oct 2013 15:26:20 -0700 (PDT), leeoliveshackelford@surewest.net wrote: > Dear Polytropon, > Thank you so much for your very generous response to my inquiry. > I am, of course, aware that I can simply unplug the device; > however, the whole point of this exercise is to (a) get FreeBSD > correctly installed on my H.P. Z220 computer, and then (b) try > to gain sufficient understanding of FreeBSD to be able to use > it at some minimum level of competence. Goal "a" has proven, > thus far, to be a terribly frustrating and time-consuming effort. I don't think so. It seems that you have successfully finished the system installation (which is easy because you can follow The FreeBSD Handbook to achieve this goal). :-) However, the fact that a continuous clicking USB floppy drive is causing you problem _does_ indicate that there is something wrong. Unlike MICROS~1 products, FreeBSD offers you diagnostic tools to find out _what_ is wrong (instead of the "solution" of performing a full re-install and praying it doesn't happen again). As I said, check if there's some mount in your system that hasn't been resolved properly: # mount -v Check for the mountpoint where the floppy drive is to be mounted. Also check if something still tries to access files on a (not present) floppy disk: # lsof | grep If there is nothing suspicious - good. Next thing to try would be to reset the device to make it stop clicking. Determine the drive's "SCSI ID": # camcontrol devlist Use that ID to stop or reset the device: # camcontrol stop # camcontrol reset where refers to the bus, target and LUN obtained from the "devlist" output above. Even though it is possible that the misbehaviour of the drive has probably been triggered by some /etc/periodic script, it's not clear yet _which one_ and _why_. I have named a few speculations, but there are probably other possibilities. What you are observing however is _not_ a normal system behaviour, so there _is_ a reason for that. In worst case, it's a "fat fingered command" or a "stupid thing" (TM) that has been performed by the operator - I _know_ this, I've made lots of really stupid mistakes in the past and then wondered why things started being strange. :-) > Although you did not ask, the floppy drive behaves perfectly > if I boot M.S. Windows. This doesn't have to say anything because "Windows" uses a very different driver. Maybe the manufacturer did supply it. So the driver could compensate a misbehaviour of the drive in case it violates USB standards... Depending on if you're using the computer for (server, work- station, desktop), there may even be another possibility: Maybe you are running a desktop environment that keeps polling the device continuously? In this case of course there would be no real connection to periodic scripts I assume... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Oct 22 23:40:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A0D836DA; Tue, 22 Oct 2013 23:40:36 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pd0-x235.google.com (mail-pd0-x235.google.com [IPv6:2607:f8b0:400e:c02::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 718C620FE; Tue, 22 Oct 2013 23:40:36 +0000 (UTC) Received: by mail-pd0-f181.google.com with SMTP id y13so56043pdi.40 for ; Tue, 22 Oct 2013 16:40:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=UvAgY8piu0MNVWMvMaZIl7PZzb3Yzd1ZluGKIqSFNz0=; b=0weuEAInynMdFzgLsJGPppl/0PcxxziG1JLNpMlJQJkDXwf+3kWe+odPwgA0VxJ/jz qH40tMHeoWLYvV8axu9aBmPu9egLVsWJo3eHPDqTi7xSiQXDvKw8gwnLqwTe5I7RHwzU sZzEm7SKvbgpHrudBVxqFRL4DqaT05VQEIv2P1BxUUNU2xcstl4HM4o2s5P3t9pXq6wo nf8SmJ1fFAMIzR+/qOcHJC3TOt4KdVibsuge4LR0ZUkpd0sOlLLRriwfZYZAW7GRcy1H nRWk9ZT6oGirDDOYbA6aFfQjiv5KD5KM6uz985EDvkVTyB5Dj1i5OqMG/NjEqehtn45T V4Lw== X-Received: by 10.68.244.2 with SMTP id xc2mr304690pbc.58.1382485236043; Tue, 22 Oct 2013 16:40:36 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id fe5sm293364pbc.32.2013.10.22.16.40.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Oct 2013 16:40:34 -0700 (PDT) Subject: Re: FreeBSD, Centos and ZFS - SOLVED Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: aurfalien In-Reply-To: <1382285088.2462.36238881.1AA6BB17@webmail.messagingengine.com> Date: Tue, 22 Oct 2013 16:40:33 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <25C055B9-4A19-46C8-B78E-AC8BD6E00CD9@gmail.com> References: <1381600575.18393.33219025.5D7B78D0@webmail.messagingengine.com> <8CA809B3-1692-4760-A63F-9D7451EB49BD@gmail.com> <525D143B.50202@gmail.com> <1382285088.2462.36238881.1AA6BB17@webmail.messagingengine.com> To: Mark Felder X-Mailer: Apple Mail (2.1085) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 23:40:36 -0000 On Oct 20, 2013, at 9:04 AM, Mark Felder wrote: > On Sat, Oct 19, 2013, at 14:31, aurfalien wrote: >>=20 >> ZoL comes with a little interesting feature; arc2 compression, which = does >> seem to enhance performance all around. I disabled this in CentOS to >> level the playing field. >>=20 >=20 > FreeBSD 10 also has L2ARC compression >=20 > http://svnweb.freebsd.org/base?view=3Drevision&revision=3D251478 OMG, what a relief... the ~30% diff in performance was due to a BIOS = setting, in particular this one; Intel Turbo Boost Technology Enhanced Intel SpeedStep Tech I disabled both. In fact, FreeBSD is showing a tad better now then CentOS. I have files = if any one is interested in viewing. Thanks to all for the rather overwhelming response :) Actually it was good that hardly any one did as it forced me to debug = the old fashioned way :) - aurf= From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 00:05:16 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 278C8C37 for ; Wed, 23 Oct 2013 00:05:16 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 877BA2262 for ; Wed, 23 Oct 2013 00:05:14 +0000 (UTC) Received: from kw.news4all.se (localhost [127.0.0.1]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id r9N05BlV031902; Wed, 23 Oct 2013 02:05:12 +0200 (CEST) (envelope-from bah@bananmonarki.se) Message-ID: <526712B7.5010401@bananmonarki.se> Date: Wed, 23 Oct 2013 02:05:11 +0200 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: leeoliveshackelford@surewest.net, freebsd-questions@freebsd.org Subject: Re: click-click in floppy disk drive References: <20131021135605.DSZ95987@ms5.mc.surewest.net> In-Reply-To: <20131021135605.DSZ95987@ms5.mc.surewest.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 00:05:16 -0000 On 2013-10-21 22:56, leeoliveshackelford@surewest.net wrote: > Good afternoon, dear FreeBSD enthusiast. I have recently installed FreeBSD 9.1 on my Hewlett-Packard Z220 workstation. I added a Sabrent u.s.b. floppy drive. Two days ago, I ran the "periodic" program. Ever since then, the floppy drive clicks once every 2 seconds, followed by a double blink of the hard drive light. The is no disk in the floppy drive. Does anyone know how to stop this annoyance? If so, please let me know. Thank you. Newby Lee Disconnect the floppy. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 00:07:46 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 02EFFCE5 for ; Wed, 23 Oct 2013 00:07:46 +0000 (UTC) (envelope-from tg@gmplib.org) Received: from shell.gmplib.org (gmplib-02.nada.kth.se [130.237.222.242]) by mx1.freebsd.org (Postfix) with ESMTP id BFEE32281 for ; Wed, 23 Oct 2013 00:07:44 +0000 (UTC) Received: by shell.gmplib.org (Postfix, from userid 1001) id 28D0222204; Wed, 23 Oct 2013 02:02:25 +0200 (CEST) To: freebsd-questions@freebsd.org Subject: MULX on haswell triggers ILLOP From: Torbjorn Granlund Sender: tg@gmplib.org Date: Wed, 23 Oct 2013 02:02:25 +0200 Message-ID: <86wql4onvy.fsf@shell.gmplib.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 00:07:46 -0000 I have an Intel Haswell system which runs Xen/NetBSD with Debian 7.2, NetBSD 6.1.2 and FreeBSD 9.2 guests. The FreeBSD guest casts an ILLOP when fed with the new MULX instruction. This is a plain integer register based instruction which should require zero kernel support. MULX is part of the BMI2 extensions. The instruction works fine in the other guest systems. What is going on? How can FreeBSD reject this instruction? I have not tried to run FreeBSD on the bare metal, so I cannot tell if BMI2 works as expected there. --=20 Torbj=C3=B6rn From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 00:16:40 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6F305F78 for ; Wed, 23 Oct 2013 00:16:40 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pd0-x22a.google.com (mail-pd0-x22a.google.com [IPv6:2607:f8b0:400e:c02::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 44DA6233B for ; Wed, 23 Oct 2013 00:16:40 +0000 (UTC) Received: by mail-pd0-f170.google.com with SMTP id v10so80451pde.15 for ; Tue, 22 Oct 2013 17:16:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=HhnvxIeQWELiPsotyHbAhZ2Kh8O+mvseuaDsd8CTY+I=; b=cG1fMrtZslumNHAkgX6aMgKs8hkELCrEWWQh+v/3ecAWNxlCicDGLzjEIYLUlpNJXC kcEXgfgKDcvYm3iyaQr/4gnX951GWd0mJ2YqrTcnRh1+zq4RLWjXuDjT2p0p0UIigQiR euxOJVWB7i5iN164qeddpa/TJusyTiOi/RPTmw/aZMidm1aT/R1i91zafuUanrPUyAEi s7uqAQzIMEJ+TPx3qsJJI9r7xhqG3upw0zfdpjK10dmkuWvVZlhX3/u7Qvia9+vn7Hcg zIbfx8fyTk0OUXBgZQWjgUEhWeVyVgpVUCn+Q5kzSHL7pYx12iiAbQQ16x64w9PnZpvv +Uxw== X-Received: by 10.68.44.66 with SMTP id c2mr334538pbm.57.1382487399963; Tue, 22 Oct 2013 17:16:39 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id ho3sm415624pbb.23.2013.10.22.17.16.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Oct 2013 17:16:39 -0700 (PDT) Subject: Re: FreeBSD, Centos and ZFS - SOLVED Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: aurfalien In-Reply-To: <852AD883-D21A-4E34-9907-BF78696DE069@mac.com> Date: Tue, 22 Oct 2013 17:16:38 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <763A1418-CE0A-40D3-9FAB-F2496197FE2C@gmail.com> References: <1381600575.18393.33219025.5D7B78D0@webmail.messagingengine.com> <8CA809B3-1692-4760-A63F-9D7451EB49BD@gmail.com> <525D143B.50202@gmail.com> <1382285088.2462.36238881.1AA6BB17@webmail.messagingengine.com> <25C055B9-4A19-46C8-B78E-AC8BD6E00CD9@gmail.com> <852AD883-D21A-4E34-9907-BF78696DE069@mac.com> To: Charles Swiger X-Mailer: Apple Mail (2.1085) Cc: FreeBSD - X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 00:16:40 -0000 On Oct 22, 2013, at 5:04 PM, Charles Swiger wrote: > Hi-- >=20 > On Oct 22, 2013, at 4:40 PM, aurfalien wrote: >> OMG, what a relief... the ~30% diff in performance was due to a BIOS = setting, in particular this one; >>=20 >> Intel Turbo Boost Technology >=20 > This is Intel's automatic overclocking, which mainly ups the speed on = multicore CPUs > if some of the cores are idle leaving thermal headroom. You usually = want this on for > best performance. >=20 >> Enhanced Intel SpeedStep Tech >=20 > This is dynamic power management involving lower clock frequencies and = usually voltages; > it reduces power consumption, but can also reduce performance for some = workloads > if not properly tuned. Leaving it off for best performance is = reasonable. The odd thing is that disabling Speed Step auto disabled Turbo Boost w/o = allowing me to enable just it. Also to note is that CentOS had no issues with having them both enabled. = So if a FreeBSD dev would like to jack in my system and have a looksy, = you are more then welcome. The odd performance degradation still held in FreeBSD10 until I disabled = the above. - aurf= From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 01:04:21 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 60F34198 for ; Wed, 23 Oct 2013 01:04:21 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from st11p05mm-asmtp002.mac.com (st11p05mm-asmtpout005.mac.com [17.172.108.250]) by mx1.freebsd.org (Postfix) with ESMTP id 3476225DC for ; Wed, 23 Oct 2013 01:04:19 +0000 (UTC) Received: from [17.198.13.205] (unknown [17.198.13.205]) by st11p05mm-asmtp002.mac.com (Oracle Communications Messaging Server 7u4-27.08(7.0.4.27.7) 64bit (built Aug 22 2013)) with ESMTPSA id <0MV300HPJHIVZHA0@st11p05mm-asmtp002.mac.com> for freebsd-questions@freebsd.org; Wed, 23 Oct 2013 00:04:08 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794,1.0.431,0.0.0000 definitions=2013-10-22_07:2013-10-22,2013-10-22,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1308280000 definitions=main-1310220123 Content-type: text/plain; charset=us-ascii MIME-version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: FreeBSD, Centos and ZFS - SOLVED From: Charles Swiger In-reply-to: <25C055B9-4A19-46C8-B78E-AC8BD6E00CD9@gmail.com> Date: Tue, 22 Oct 2013 17:04:06 -0700 Content-transfer-encoding: quoted-printable Message-id: <852AD883-D21A-4E34-9907-BF78696DE069@mac.com> References: <1381600575.18393.33219025.5D7B78D0@webmail.messagingengine.com> <8CA809B3-1692-4760-A63F-9D7451EB49BD@gmail.com> <525D143B.50202@gmail.com> <1382285088.2462.36238881.1AA6BB17@webmail.messagingengine.com> <25C055B9-4A19-46C8-B78E-AC8BD6E00CD9@gmail.com> To: aurfalien X-Mailer: Apple Mail (2.1510) Cc: FreeBSD - X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 01:04:21 -0000 Hi-- On Oct 22, 2013, at 4:40 PM, aurfalien wrote: > OMG, what a relief... the ~30% diff in performance was due to a BIOS = setting, in particular this one; >=20 > Intel Turbo Boost Technology This is Intel's automatic overclocking, which mainly ups the speed on = multicore CPUs if some of the cores are idle leaving thermal headroom. You usually = want this on for best performance. > Enhanced Intel SpeedStep Tech This is dynamic power management involving lower clock frequencies and = usually voltages; it reduces power consumption, but can also reduce performance for some = workloads if not properly tuned. Leaving it off for best performance is = reasonable. Regards, --=20 -Chuck From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 01:56:48 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9C8B1D88 for ; Wed, 23 Oct 2013 01:56:48 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 505F42834 for ; Wed, 23 Oct 2013 01:56:48 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r9N1ubD8089624; Tue, 22 Oct 2013 19:56:37 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r9N1ubap089621; Tue, 22 Oct 2013 19:56:37 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 22 Oct 2013 19:56:37 -0600 (MDT) From: Warren Block To: Polytropon Subject: Re: click-click in floppy disk drive In-Reply-To: <20131022230000.9bfa7add.freebsd@edvax.de> Message-ID: References: <20131021135605.DSZ95987@ms5.mc.surewest.net> <20131022230000.9bfa7add.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 22 Oct 2013 19:56:37 -0600 (MDT) Cc: leeoliveshackelford@surewest.net, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 01:56:48 -0000 On Tue, 22 Oct 2013, Polytropon wrote: > On Mon, 21 Oct 2013 13:56:05 -0700 (PDT), leeoliveshackelford@surewest.net wrote: >> Good afternoon, dear FreeBSD enthusiast. I have recently >> installed FreeBSD 9.1 on my Hewlett-Packard Z220 workstation. >> I added a Sabrent u.s.b. floppy drive. Two days ago, I ran >> the "periodic" program. > > The "periodic" facility is just a collection of scripts for > cron that get run at specific intervals. Are you referencing > to the stock system's /etc/periodic scripts or did you add > any custom scripts? >> Ever since then, the floppy drive clicks once every 2 seconds, >> followed by a double blink of the hard drive light. Some background things like HAL may poll removable media devices to detect new media, and this might cause a floppy to click. Could depend on the manufacturer of the drive. That would be my first guess, anyway. If that is the cause, it may be possible to tell whatever is doing the polling to skip the floppy device. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 01:59:48 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CAB98E49; Wed, 23 Oct 2013 01:59:48 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7EDD82852; Wed, 23 Oct 2013 01:59:48 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r9N1xltD089647; Tue, 22 Oct 2013 19:59:47 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r9N1xl2c089644; Tue, 22 Oct 2013 19:59:47 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 22 Oct 2013 19:59:47 -0600 (MDT) From: Warren Block To: aurfalien Subject: Re: FreeBSD, Centos and ZFS - SOLVED In-Reply-To: <25C055B9-4A19-46C8-B78E-AC8BD6E00CD9@gmail.com> Message-ID: References: <1381600575.18393.33219025.5D7B78D0@webmail.messagingengine.com> <8CA809B3-1692-4760-A63F-9D7451EB49BD@gmail.com> <525D143B.50202@gmail.com> <1382285088.2462.36238881.1AA6BB17@webmail.messagingengine.com> <25C055B9-4A19-46C8-B78E-AC8BD6E00CD9@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 22 Oct 2013 19:59:47 -0600 (MDT) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 01:59:48 -0000 On Tue, 22 Oct 2013, aurfalien wrote: > > On Oct 20, 2013, at 9:04 AM, Mark Felder wrote: > >> On Sat, Oct 19, 2013, at 14:31, aurfalien wrote: >>> >>> ZoL comes with a little interesting feature; arc2 compression, which does >>> seem to enhance performance all around. I disabled this in CentOS to >>> level the playing field. >>> >> >> FreeBSD 10 also has L2ARC compression >> >> http://svnweb.freebsd.org/base?view=revision&revision=251478 > > OMG, what a relief... the ~30% diff in performance was due to a BIOS setting, in particular this one; > > Intel Turbo Boost Technology > Enhanced Intel SpeedStep Tech > > I disabled both. Enable them both and also enable powerd on FreeBSD in /etc/rc.conf so it can take advantage of the first. > In fact, FreeBSD is showing a tad better now then CentOS. I have files if any one is interested in viewing. With Turbo mode on, it may go even faster. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 02:55:48 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B1A49942; Wed, 23 Oct 2013 02:55:48 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qc0-x230.google.com (mail-qc0-x230.google.com [IPv6:2607:f8b0:400d:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5D6E32AA6; Wed, 23 Oct 2013 02:55:48 +0000 (UTC) Received: by mail-qc0-f176.google.com with SMTP id s19so123617qcw.21 for ; Tue, 22 Oct 2013 19:55:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Pka2NzVQ4vuqqoKDiGDmJzqzbHE3hzWFpADmKAmMj28=; b=GOQgcVMc2HFaMR1FhDvN9CMx6GojHuF2UYBIkCe2R5IcxcfL2G9GqykXJsCZcDxPgm crcgoEEb3W3C7dhUU+sCtbWQx3520N58IXWY4fb3VTG93wcDzmVIz88v8DNykRWeCGv/ qe76tv/+F6zaaqET1yUGzD/KyeH8EgIXM1on21N248ElkYweZ2lmS/cabKEdiSAfIFIM xd1EsvfPvOFJEi8PKbIBtJxtHXcoQ6XVs/TK/VkVwkLUq7U5IusiYNsw7BqdbQ/xDSuj VcWJvw9Bh0F2cXJNauEuqw+P4/afqEmQ+woT4gf2waQFr5gKp84KLKUDM4zd64gkfnUV n4lg== MIME-Version: 1.0 X-Received: by 10.224.4.133 with SMTP id 5mr977762qar.73.1382496947479; Tue, 22 Oct 2013 19:55:47 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.207.66 with HTTP; Tue, 22 Oct 2013 19:55:47 -0700 (PDT) In-Reply-To: <25C055B9-4A19-46C8-B78E-AC8BD6E00CD9@gmail.com> References: <1381600575.18393.33219025.5D7B78D0@webmail.messagingengine.com> <8CA809B3-1692-4760-A63F-9D7451EB49BD@gmail.com> <525D143B.50202@gmail.com> <1382285088.2462.36238881.1AA6BB17@webmail.messagingengine.com> <25C055B9-4A19-46C8-B78E-AC8BD6E00CD9@gmail.com> Date: Tue, 22 Oct 2013 19:55:47 -0700 X-Google-Sender-Auth: RYCHsewflwj573n3rZZr0fWwPj8 Message-ID: Subject: Re: FreeBSD, Centos and ZFS - SOLVED From: Adrian Chadd To: aurfalien Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 02:55:48 -0000 Well, the 30% diff in performance due to those two intel CPU options means that somehow the scheduler and power management stuff in FreeBSD isn't playing with turbo boost / speedstep. So yeah, figuring out why would be nice. -adrian On 22 October 2013 16:40, aurfalien wrote: > > On Oct 20, 2013, at 9:04 AM, Mark Felder wrote: > > > On Sat, Oct 19, 2013, at 14:31, aurfalien wrote: > >> > >> ZoL comes with a little interesting feature; arc2 compression, which > does > >> seem to enhance performance all around. I disabled this in CentOS to > >> level the playing field. > >> > > > > FreeBSD 10 also has L2ARC compression > > > > http://svnweb.freebsd.org/base?view=revision&revision=251478 > > OMG, what a relief... the ~30% diff in performance was due to a BIOS > setting, in particular this one; > > Intel Turbo Boost Technology > Enhanced Intel SpeedStep Tech > > I disabled both. > > In fact, FreeBSD is showing a tad better now then CentOS. I have files if > any one is interested in viewing. > > Thanks to all for the rather overwhelming response :) > > Actually it was good that hardly any one did as it forced me to debug the > old fashioned way :) > > - aurf > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 03:07:39 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CBCB4E4B for ; Wed, 23 Oct 2013 03:07:39 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (nightmare.dreamchaser.org [12.32.44.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 964B02BD2 for ; Wed, 23 Oct 2013 03:07:38 +0000 (UTC) Received: from breakaway.dreamchaser.org (breakaway.dreamchaser.org. [12.32.36.73]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id r9N37UO1016810 for ; Tue, 22 Oct 2013 21:07:30 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Message-ID: <52673D72.9080606@dreamchaser.org> Date: Tue, 22 Oct 2013 21:07:30 -0600 From: Gary Aitken User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130730 Thunderbird/17.0.7 MIME-Version: 1.0 To: FreeBSD Mailing List Subject: headers in /usr/include are 9.1 but /usr/src/sys are 9.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [12.32.36.65]); Tue, 22 Oct 2013 21:07:31 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: freebsd@dreamchaser.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 03:07:39 -0000 Using the generic kernel. Some time ago I upgraded from 9.0 to 9.1 using freebsd-update. originally, under 9.0, I had lsof installed (from ports). Some time after all that I tried to reinstall sysutils/lsof and couldn't. I wasn't desperate and ignored it... Looking into it further, the problem appears to be the result of /usr/src/sys/sys/ containing 9.0.0 versions, and /usr/include/sys/ containing 9.1.0 versions. I didn't think I had system source installed, but apparently I did. I have vague recollections of telling the upgrade process not to upgrade the source because I didn't think I had it installed; but maybe it doesn't even ask. I'm not really familiar with the process and it was a while back. Anyhow... 1. Is /usr/src/sys/sys always present? 2. Do ports normally use headers from /usr/src/sys/sys instead of /usr/include/sys if /usr/src/sys/sys is present? 3. What's the best way to fix this? freebsd-update fetch? Gary From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 03:20:32 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9F17246E; Wed, 23 Oct 2013 03:20:32 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-oa0-x230.google.com (mail-oa0-x230.google.com [IPv6:2607:f8b0:4003:c02::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 58A812C90; Wed, 23 Oct 2013 03:20:32 +0000 (UTC) Received: by mail-oa0-f48.google.com with SMTP id m17so234847oag.35 for ; Tue, 22 Oct 2013 20:20:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Z8pXP8xsNg1x9RE//4SBv144M5AfajZPXspO8/aH/VA=; b=om90AQd2fADBeMHSG/hrMO5CZqginOghq1lqXfkvdD3lMHjlJFR1B5mC57OLpAq9OU LB/P/R9Ok2K6IGyafsZdxS0cA/ls7VHcouF6z+nWMPNZQDcNKF0+CBzaTU4bux3n8vOK Ho3c5vNcqSfLEbdFrCXXL2PuLW5cT9nHcIKID+mhcVfoxRw8NXsy+QJS4+eMlqN++TG6 qJ65PqmfaOGJqrJZ+8eBOZ3ZWHHFxGzhetLCNR6wqujm4cyF45sxcqDrPY487DrIZA98 9w1Wo1JXXYHkr43PjajPfxnwqDVMyOAYhPDP58xjaryzOU08p/s7vwcGTHLR5ZIsLj+z ulEQ== X-Received: by 10.182.48.130 with SMTP id l2mr9726960obn.44.1382498431039; Tue, 22 Oct 2013 20:20:31 -0700 (PDT) Received: from [192.168.1.74] (75-63-29-182.lightspeed.irvnca.sbcglobal.net. [75.63.29.182]) by mx.google.com with ESMTPSA id s14sm12270030oeo.1.2013.10.22.20.20.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Oct 2013 20:20:30 -0700 (PDT) Subject: Re: FreeBSD, Centos and ZFS - SOLVED Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: aurfalien In-Reply-To: Date: Tue, 22 Oct 2013 20:20:29 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <582DEBF0-5745-4E65-AEEF-36C11A631F4E@gmail.com> References: <1381600575.18393.33219025.5D7B78D0@webmail.messagingengine.com> <8CA809B3-1692-4760-A63F-9D7451EB49BD@gmail.com> <525D143B.50202@gmail.com> <1382285088.2462.36238881.1AA6BB17@webmail.messagingengine.com> <25C055B9-4A19-46C8-B78E-AC8BD6E00CD9@gmail.com> To: Warren Block X-Mailer: Apple Mail (2.1085) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 03:20:32 -0000 On Oct 22, 2013, at 6:59 PM, Warren Block wrote: > On Tue, 22 Oct 2013, aurfalien wrote: >=20 >>=20 >> On Oct 20, 2013, at 9:04 AM, Mark Felder wrote: >>=20 >>> On Sat, Oct 19, 2013, at 14:31, aurfalien wrote: >>>>=20 >>>> ZoL comes with a little interesting feature; arc2 compression, = which does >>>> seem to enhance performance all around. I disabled this in CentOS = to >>>> level the playing field. >>>>=20 >>>=20 >>> FreeBSD 10 also has L2ARC compression >>>=20 >>> http://svnweb.freebsd.org/base?view=3Drevision&revision=3D251478 >>=20 >> OMG, what a relief... the ~30% diff in performance was due to a BIOS = setting, in particular this one; >>=20 >> Intel Turbo Boost Technology >> Enhanced Intel SpeedStep Tech >>=20 >> I disabled both. >=20 > Enable them both and also enable powerd on FreeBSD in /etc/rc.conf so = it can take advantage of the first. >=20 >> In fact, FreeBSD is showing a tad better now then CentOS. I have = files if any one is interested in viewing. >=20 > With Turbo mode on, it may go even faster. Thats interesting, I will and report back. Since this will be a rather heavily utilized NFS server (perhaps CIFS = later), how do I ensure powerd doesn't lullaby the server to sleep or at = least slow it down during mellow periods? - aurf=20 From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 03:24:41 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4140553D; Wed, 23 Oct 2013 03:24:41 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-ob0-x232.google.com (mail-ob0-x232.google.com [IPv6:2607:f8b0:4003:c01::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DE2882CE1; Wed, 23 Oct 2013 03:24:40 +0000 (UTC) Received: by mail-ob0-f178.google.com with SMTP id wm4so228917obc.37 for ; Tue, 22 Oct 2013 20:24:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to; bh=vEJku6CtVxc7tTZ2cnyvt7gci1zi9MLMaxBmiiS+oPk=; b=ymGEmd73SuOFKqJG5Vot9guXOZGBvfz8z6HPfRRt1MDjzYq41mD+alxI3Eb5WT+ftf w2Kk2zbb5gKwz3iI5gCKFoFGZ5AnED0j4PdTo0+dJYEcPY2tB3ZzTSgkwE64AQDXw7NN sSArY2v2pvMR1FqZGvyR85CBOJiQ/I7kANDCQCjHttI+AdtWATVHszBPSGwJFiJ6UhvU N8X9/yOvUBrrIEydKsZXK543y92tIF7ukldE416GZhR1eLy6Jc6YfvZv1AC86rWRrEMk +bDhqiqfDhi/fPoSIIEyyaxjNTAe/RPX2v8lTPQUIZzCB2Vvj9AHvDVHBJGIOuKdCjsB jdgg== X-Received: by 10.60.155.166 with SMTP id vx6mr4945381oeb.28.1382498680115; Tue, 22 Oct 2013 20:24:40 -0700 (PDT) Received: from [192.168.1.74] (75-63-29-182.lightspeed.irvnca.sbcglobal.net. [75.63.29.182]) by mx.google.com with ESMTPSA id wd7sm46439686obc.3.2013.10.22.20.24.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Oct 2013 20:24:39 -0700 (PDT) Subject: Re: FreeBSD, Centos and ZFS - SOLVED Mime-Version: 1.0 (Apple Message framework v1085) From: aurfalien In-Reply-To: Date: Tue, 22 Oct 2013 20:24:37 -0700 Message-Id: References: <1381600575.18393.33219025.5D7B78D0@webmail.messagingengine.com> <8CA809B3-1692-4760-A63F-9D7451EB49BD@gmail.com> <525D143B.50202@gmail.com> <1382285088.2462.36238881.1AA6BB17@webmail.messagingengine.com> <25C055B9-4A19-46C8-B78E-AC8BD6E00CD9@gmail.com> To: Adrian Chadd X-Mailer: Apple Mail (2.1085) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 03:24:41 -0000 On Oct 22, 2013, at 7:55 PM, Adrian Chadd wrote: > Well, the 30% diff in performance due to those two intel CPU options = means that somehow the scheduler and power management stuff in FreeBSD = isn't playing with turbo boost / speedstep. >=20 > So yeah, figuring out why would be nice. Ditto. I never enabled powerd in FreeBSD9 or 10. Unsure what the default = position is. In CentOS, I usually just set a diff BIOS feature as disabled or = performance depending on what the options are. On this server, it had acoustic/performance/balance as well as well as = that CPU option which threw me off. - aurf >=20 >=20 >=20 > -adrian >=20 >=20 >=20 > On 22 October 2013 16:40, aurfalien wrote: >=20 > On Oct 20, 2013, at 9:04 AM, Mark Felder wrote: >=20 > > On Sat, Oct 19, 2013, at 14:31, aurfalien wrote: > >> > >> ZoL comes with a little interesting feature; arc2 compression, = which does > >> seem to enhance performance all around. I disabled this in CentOS = to > >> level the playing field. > >> > > > > FreeBSD 10 also has L2ARC compression > > > > http://svnweb.freebsd.org/base?view=3Drevision&revision=3D251478 >=20 > OMG, what a relief... the ~30% diff in performance was due to a BIOS = setting, in particular this one; >=20 > Intel Turbo Boost Technology > Enhanced Intel SpeedStep Tech >=20 > I disabled both. >=20 > In fact, FreeBSD is showing a tad better now then CentOS. I have = files if any one is interested in viewing. >=20 > Thanks to all for the rather overwhelming response :) >=20 > Actually it was good that hardly any one did as it forced me to debug = the old fashioned way :) >=20 > - aurf > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" >=20 From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 03:49:06 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 08822A05; Wed, 23 Oct 2013 03:49:06 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8D0612DE9; Wed, 23 Oct 2013 03:49:05 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r9N3n3Ln090228; Tue, 22 Oct 2013 21:49:03 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r9N3n3aR090225; Tue, 22 Oct 2013 21:49:03 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 22 Oct 2013 21:49:03 -0600 (MDT) From: Warren Block To: aurfalien Subject: Re: FreeBSD, Centos and ZFS - SOLVED In-Reply-To: <582DEBF0-5745-4E65-AEEF-36C11A631F4E@gmail.com> Message-ID: References: <1381600575.18393.33219025.5D7B78D0@webmail.messagingengine.com> <8CA809B3-1692-4760-A63F-9D7451EB49BD@gmail.com> <525D143B.50202@gmail.com> <1382285088.2462.36238881.1AA6BB17@webmail.messagingengine.com> <25C055B9-4A19-46C8-B78E-AC8BD6E00CD9@gmail.com> <582DEBF0-5745-4E65-AEEF-36C11A631F4E@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 22 Oct 2013 21:49:04 -0600 (MDT) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 03:49:06 -0000 On Tue, 22 Oct 2013, aurfalien wrote: > > On Oct 22, 2013, at 6:59 PM, Warren Block wrote: > >> On Tue, 22 Oct 2013, aurfalien wrote: >> >>> >>> On Oct 20, 2013, at 9:04 AM, Mark Felder wrote: >>> >>>> On Sat, Oct 19, 2013, at 14:31, aurfalien wrote: >>>>> >>>>> ZoL comes with a little interesting feature; arc2 compression, which does >>>>> seem to enhance performance all around. I disabled this in CentOS to >>>>> level the playing field. >>>>> >>>> >>>> FreeBSD 10 also has L2ARC compression >>>> >>>> http://svnweb.freebsd.org/base?view=revision&revision=251478 >>> >>> OMG, what a relief... the ~30% diff in performance was due to a BIOS setting, in particular this one; >>> >>> Intel Turbo Boost Technology >>> Enhanced Intel SpeedStep Tech >>> >>> I disabled both. >> >> Enable them both and also enable powerd on FreeBSD in /etc/rc.conf so it can take advantage of the first. >> >>> In fact, FreeBSD is showing a tad better now then CentOS. I have files if any one is interested in viewing. >> >> With Turbo mode on, it may go even faster. > > Thats interesting, I will and report back. > > Since this will be a rather heavily utilized NFS server (perhaps CIFS later), how do I ensure powerd doesn't lullaby the server to sleep or at least slow it down during mellow periods? There's the hiadaptive profile, and the polling interval (-p) can be reduced from the default of 250ms. 50ms made my desktop a lot more responsive. I also have some patches for a "hyper" mode that only uses the fastest and slowest speeds, no slewing. Mailing list thread here: http://lists.freebsd.org/pipermail/freebsd-acpi/2013-July/008238.html To date, I have not really found out whether the hyper mode is truly better in terms of speed versus power. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 04:05:14 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4820FEE7; Wed, 23 Oct 2013 04:05:14 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-oa0-x22e.google.com (mail-oa0-x22e.google.com [IPv6:2607:f8b0:4003:c02::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F25DF2EB0; Wed, 23 Oct 2013 04:05:13 +0000 (UTC) Received: by mail-oa0-f46.google.com with SMTP id g12so267364oah.19 for ; Tue, 22 Oct 2013 21:05:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=XCy9XUPxe5dJNmLpJbptslxwT6nADQO3AmU+QAfxqSE=; b=k0XTBHYUum2iosQTznQ9IMjLcQ3wd0ERceG+8kD5dyN/UkWZP0sF6+T7yXM0/78nMp hi6oCr9MFmhUK3MwneZyDGqdBWSzeD0/CE+vAZF21Mf2XlizY/Djw+hJmW/h0X0ukGP2 yzb8aEHWML9MN9T5YgS0H4ekhk8eIHt3B6ZvvQ7ny1YgT8XE/k8xNz+Kija5+mPXVux0 qyUXVCcdjdpjh9t9hxKAAs8x7b23gEMMNWyKfrh82fjUd1Rq1OZpY8vAIA+qctJkQMmI DCSLG/bYj04P+K3JxQRcsJrSFtNELRF0UwlTcbN2gHVf6tidfeNUT4xDnNzt9p0rS149 LFmw== X-Received: by 10.182.125.161 with SMTP id mr1mr9745obb.75.1382501113233; Tue, 22 Oct 2013 21:05:13 -0700 (PDT) Received: from [192.168.1.74] (75-63-29-182.lightspeed.irvnca.sbcglobal.net. [75.63.29.182]) by mx.google.com with ESMTPSA id nw5sm46699712obc.9.2013.10.22.21.05.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Oct 2013 21:05:12 -0700 (PDT) Subject: Re: FreeBSD, Centos and ZFS - SOLVED Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: aurfalien In-Reply-To: Date: Tue, 22 Oct 2013 21:05:10 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <3CFEDC20-A6A5-4749-A2DA-9DD1157A0063@gmail.com> References: <1381600575.18393.33219025.5D7B78D0@webmail.messagingengine.com> <8CA809B3-1692-4760-A63F-9D7451EB49BD@gmail.com> <525D143B.50202@gmail.com> <1382285088.2462.36238881.1AA6BB17@webmail.messagingengine.com> <25C055B9-4A19-46C8-B78E-AC8BD6E00CD9@gmail.com> <582DEBF0-5745-4E65-AEEF-36C11A631F4E@gmail.com> To: Warren Block X-Mailer: Apple Mail (2.1085) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 04:05:14 -0000 On Oct 22, 2013, at 8:49 PM, Warren Block wrote: > On Tue, 22 Oct 2013, aurfalien wrote: >=20 >>=20 >> On Oct 22, 2013, at 6:59 PM, Warren Block wrote: >>=20 >>> On Tue, 22 Oct 2013, aurfalien wrote: >>>=20 >>>>=20 >>>> On Oct 20, 2013, at 9:04 AM, Mark Felder wrote: >>>>=20 >>>>> On Sat, Oct 19, 2013, at 14:31, aurfalien wrote: >>>>>>=20 >>>>>> ZoL comes with a little interesting feature; arc2 compression, = which does >>>>>> seem to enhance performance all around. I disabled this in = CentOS to >>>>>> level the playing field. >>>>>>=20 >>>>>=20 >>>>> FreeBSD 10 also has L2ARC compression >>>>>=20 >>>>> http://svnweb.freebsd.org/base?view=3Drevision&revision=3D251478 >>>>=20 >>>> OMG, what a relief... the ~30% diff in performance was due to a = BIOS setting, in particular this one; >>>>=20 >>>> Intel Turbo Boost Technology >>>> Enhanced Intel SpeedStep Tech >>>>=20 >>>> I disabled both. >>>=20 >>> Enable them both and also enable powerd on FreeBSD in /etc/rc.conf = so it can take advantage of the first. >>>=20 >>>> In fact, FreeBSD is showing a tad better now then CentOS. I have = files if any one is interested in viewing. >>>=20 >>> With Turbo mode on, it may go even faster. >>=20 >> Thats interesting, I will and report back. >>=20 >> Since this will be a rather heavily utilized NFS server (perhaps CIFS = later), how do I ensure powerd doesn't lullaby the server to sleep or at = least slow it down during mellow periods? >=20 > There's the hiadaptive profile, and the polling interval (-p) can be = reduced from the default of 250ms. 50ms made my desktop a lot more = responsive. I also have some patches for a "hyper" mode that only uses = the fastest and slowest speeds, no slewing. Mailing list thread here: = http://lists.freebsd.org/pipermail/freebsd-acpi/2013-July/008238.html >=20 > To date, I have not really found out whether the hyper mode is truly = better in terms of speed versus power. Indeed a gold nugget, thanks man. I will try all this. - aurf From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 06:18:07 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3784D181 for ; Wed, 23 Oct 2013 06:18:07 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E721A2476 for ; Wed, 23 Oct 2013 06:18:06 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VYrlQ-00077r-Tk for freebsd-questions@freebsd.org; Wed, 23 Oct 2013 08:17:52 +0200 Received: from pool-71-163-112-98.washdc.fios.verizon.net ([71.163.112.98]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Oct 2013 08:17:52 +0200 Received: from nightrecon by pool-71-163-112-98.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Oct 2013 08:17:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Subject: Re: FreeBSD, Centos and ZFS - SOLVED Date: Wed, 23 Oct 2013 02:17:41 -0400 Lines: 33 Message-ID: References: <1381600575.18393.33219025.5D7B78D0@webmail.messagingengine.com> <8CA809B3-1692-4760-A63F-9D7451EB49BD@gmail.com> <525D143B.50202@gmail.com> <1382285088.2462.36238881.1AA6BB17@webmail.messagingengine.com> <25C055B9-4A19-46C8-B78E-AC8BD6E00CD9@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-71-163-112-98.washdc.fios.verizon.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: nightrecon@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 06:18:07 -0000 aurfalien wrote: > On Oct 22, 2013, at 7:55 PM, Adrian Chadd wrote: > >> Well, the 30% diff in performance due to those two intel CPU options >> means that somehow the scheduler and power management stuff in FreeBSD >> isn't playing with turbo boost / speedstep. >> >> So yeah, figuring out why would be nice. > > Ditto. > > I never enabled powerd in FreeBSD9 or 10. Unsure what the default > position is. > > In CentOS, I usually just set a diff BIOS feature as disabled or > performance depending on what the options are. > > On this server, it had acoustic/performance/balance as well as well as > that CPU option which threw me off. > > - aurf > > You might find this interesting: http://www.ateamsystems.com/blog/Increase-FreeBSD-Performance-With-powerd -Mike From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 09:54:24 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E62E69FF for ; Wed, 23 Oct 2013 09:54:24 +0000 (UTC) (envelope-from hans@middelhoek.nl) Received: from milan.ospito.nl (milan.ospito.nl [46.17.8.70]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A02542152 for ; Wed, 23 Oct 2013 09:54:21 +0000 (UTC) Received: from office.ospito.nl ([95.97.235.165] helo=UB01) by milan.ospito.nl with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80.1) (envelope-from ) id 1VYv8m-000NcA-2Y for freebsd-questions@freebsd.org; Wed, 23 Oct 2013 11:54:12 +0200 From: "Hans Middelhoek" To: References: <015701cecf24$15b8adc0$412a0940$@middelhoek.nl> In-Reply-To: Subject: RE: FreeBSD 9.2 - problem with quotas Date: Wed, 23 Oct 2013 11:54:11 +0200 Message-ID: <002101cecfd5$d3729a90$7a57cfb0$@middelhoek.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQFSgvEywkf9u4OsO+DolctM49mOBwHAdRzdmuyfuDA= Content-Language: nl X-ACL-Warn: X-Antivirus-Scanner on milan.ospito.nl: Seems clean. You should still use an Antivirus Scanner X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 09:54:25 -0000 On Tue, Oct 22, 2013 at 7:41 AM, Hans Middelhoek wrote: > Hello, > > > > We upgraded 2 servers to FreeBSD 9.2, one 32-bit and the other 64-bit. > Both have problems with quotas now, we didn't change the config. > > > > Below is what happens on the 32-bit system: > > root@32bitserver:~ # cat /etc/fstab > > # Device Mountpoint FStype Options Dump > Pass# > > /dev/da0s1b none swap sw 0 0 > > /dev/da0s1a / ufs rw,userquota,groupquota 1 > 1 > > /dev/da0s1h /backup ufs rw,noauto,noatime 2 > 2 > > /dev/da0s1g /home ufs > rw,nosuid,userquota,groupquota 2 2 > > /dev/da0s1d /tmp ufs rw,noexec,nosuid 2 > 2 > > /dev/da0s1f /usr ufs rw 2 2 > > /dev/da0s1e /var ufs rw 2 2 > > /dev/acd0 /cdrom cd9660 ro,noauto 0 0 > > proc /proc procfs rw 0 0 > > > > root@32bitserver:~ # mount > > /dev/da0s1a on / (ufs, local, with quotas) > > devfs on /dev (devfs, local, multilabel) > > /dev/da0s1g on /home (ufs, local, nosuid, with quotas, soft-updates) > > /dev/da0s1d on /tmp (ufs, local, noexec, nosuid, soft-updates) > > /dev/da0s1f on /usr (ufs, local, soft-updates) > > /dev/da0s1e on /var (ufs, local, soft-updates) > > procfs on /proc (procfs, local) > > > > root@32bitserver:~ # /usr/sbin/quotaoff -a > > root@32bitserver:~ # /usr/sbin/quotaon -a > > quotaon: using on /backup: No such file or directory > > quotaon: using on /backup: No such file or directory > You don't have a problem with quota's. You have problem with mount. Check your output. -- Adam Vande More I don't understand what you mean by having a problem with mount. I checked my output multiple times but don't see what you mean. /backup is unmounted, but that's correct, this partition is only mounted during the backup process, quota's aren't enabled fort his partition. This is for 32bitserver. For 64bitserver it's a little different, there the problem resides on the / partition. That partition is always mounted offcourse :-) But a quotaoff gives device busy for /. In earlier versions of FreeBSD we didn't have these 'problem'. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 11:46:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F19AC33B for ; Wed, 23 Oct 2013 11:46:37 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B3ACD27C2 for ; Wed, 23 Oct 2013 11:46:37 +0000 (UTC) Received: from r56.edvax.de (port-92-195-117-74.dynamic.qsc.de [92.195.117.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 27D1727682; Wed, 23 Oct 2013 13:46:35 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r9NBkSKb002038; Wed, 23 Oct 2013 13:46:28 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 23 Oct 2013 13:46:28 +0200 From: Polytropon To: Warren Block Subject: Re: click-click in floppy disk drive Message-Id: <20131023134628.d91267ab.freebsd@edvax.de> In-Reply-To: References: <20131021135605.DSZ95987@ms5.mc.surewest.net> <20131022230000.9bfa7add.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: leeoliveshackelford@surewest.net, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 11:46:38 -0000 On Tue, 22 Oct 2013 19:56:37 -0600 (MDT), Warren Block wrote: > Some background things like HAL may poll removable media devices to > detect new media, and this might cause a floppy to click. Could depend > on the manufacturer of the drive. That would be my first guess, anyway. That's what I tought in the first place. It's very unlikely that the system's default periodic scripts could trigger a continuous activity of the drive (even though I can imagine that a pending umount or something comparable could have caused this). Systems like HAL that commonly belong to GUI desktop environments can, if they are set to polling the drive's state, cause such activity, but it depends on _how_ they do it and _how_ the drive acts. For example, I've tried with my external USB drive. As long as there is no floppy in it, it cannot be encouraged to show any activity with a typical null command. But if a floppy is in the drive (unmounted of course), the drive will light up and buzz. This only works as long as there's a floppy in the drive, so I assume the drive already contains some "logic" of reporting a _possible_ disk to the firmware. Of course, other manufacturers might handle this very differently, and maybe even rely on a proprietary driver to show the _desired_ way of operation (instead of annoying clicking for evey poll). At least, the classic Amiga floppy drive wasn't that annoying when determining if there's a floppy disk in the drive - much more advanced than what the PC usually did ("Press ENTER for next disk!"). ;-) > If that is the cause, it may be possible to tell whatever is doing the > polling to skip the floppy device. The OP should have a look a HAL configuration and maybe remove the floppy drive's device from the list for polling. There might be other mechanisms than HAL, maybe also tied to a desktop environment, that could cause that kind of polling. It could even be a user program - but as far as I know, no such thing is part of the FreeBSD OS... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 12:41:30 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E960EC99 for ; Wed, 23 Oct 2013 12:41:29 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-qa0-x235.google.com (mail-qa0-x235.google.com [IPv6:2607:f8b0:400d:c00::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 968E32BA4 for ; Wed, 23 Oct 2013 12:41:29 +0000 (UTC) Received: by mail-qa0-f53.google.com with SMTP id k15so464424qaq.5 for ; Wed, 23 Oct 2013 05:41:28 -0700 (PDT) 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:face:mime-version:content-type :content-transfer-encoding; bh=xdXM7oXvpv4axibNnYJJtmwbQEx3Zrw0kGnERGo9Jz4=; b=EIkM0/X7vW/DJEFq8MRG58m48sUoffAW0+74A8t3hiKShYM0r8HcsrMbAB+mNMxL3Z ljAMYvGqeGi8lozrTS77ZaFRollXf8rAbshGoK9ZcxYD/z0Iw8BjMK9k0VbmXmzcOC6d kwLSOKe4zGOhwlChiizA0ZI1btTB+KrnzvKq0= 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:face:mime-version:content-type :content-transfer-encoding; bh=xdXM7oXvpv4axibNnYJJtmwbQEx3Zrw0kGnERGo9Jz4=; b=YVStpxhDZrNRIxd+npwX+FpywBm7imU15S2208cCvJE4mt5GrmcISs34845yMSSQD+ s2t0wLvIaVC5ZOXnYa9Tx5sE8KVcYleyfWXZH53vu0HuCYyale6KU93pMD9LuhTDYsA+ roHCzVMJFoHgZIuaKr6jSOI11bCUhFQu/th7KqczrBflLvsnnUr3deNSohQRUcOA9uum 6SgJhotMjXEXt7E/VWjUrYO7MmEg/S3l2yFVH8bwHJZHNLa1P/6hVG3jYF0HBNMZIR05 4YY4t63O8CGXk/TrgGaEc87wzAaxsHivr3k8hP2w9R/g+TIqsylJRg0l+EK+vmghD7R2 NUzw== X-Gm-Message-State: ALoCoQnBQOfxSsgTVr43+S2hzM3yYxSWlw6AmOHZxRB/zasffZfaVyXS19ClkfiRRLj06H7F3nPy X-Received: by 10.49.18.33 with SMTP id t1mr1697925qed.77.1382532087804; Wed, 23 Oct 2013 05:41:27 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPSA id b10sm52431713qeg.7.2013.10.23.05.41.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Oct 2013 05:41:27 -0700 (PDT) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3d4WRV0ZQFz2CG4n for ; Wed, 23 Oct 2013 08:41:26 -0400 (EDT) Date: Wed, 23 Oct 2013 08:41:25 -0400 From: Jerry To: FreeBSD Subject: OT: click-click in floppy disk drive Message-ID: <20131023084125.626098b2@scorpio> In-Reply-To: <20131023134628.d91267ab.freebsd@edvax.de> References: <20131021135605.DSZ95987@ms5.mc.surewest.net> <20131022230000.9bfa7add.freebsd@edvax.de> <20131023134628.d91267ab.freebsd@edvax.de> Organization: seibercom.net X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd8.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC 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.14 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 12:41:30 -0000 On Wed, 23 Oct 2013 13:46:28 +0200 Polytropon articulated: > On Tue, 22 Oct 2013 19:56:37 -0600 (MDT), Warren Block wrote: > > Some background things like HAL may poll removable media devices to > > detect new media, and this might cause a floppy to click. Could > > depend on the manufacturer of the drive. That would be my first > > guess, anyway. > > That's what I tought in the first place. It's very unlikely > that the system's default periodic scripts could trigger a > continuous activity of the drive (even though I can imagine > that a pending umount or something comparable could have > caused this). Systems like HAL that commonly belong to GUI > desktop environments can, if they are set to polling the > drive's state, cause such activity, but it depends on _how_ > they do it and _how_ the drive acts. > > For example, I've tried with my external USB drive. As long > as there is no floppy in it, it cannot be encouraged to show > any activity with a typical null command. But if a floppy is > in the drive (unmounted of course), the drive will light up > and buzz. This only works as long as there's a floppy in the > drive, so I assume the drive already contains some "logic" > of reporting a _possible_ disk to the firmware. Of course, > other manufacturers might handle this very differently, and > maybe even rely on a proprietary driver to show the _desired_ > way of operation (instead of annoying clicking for evey poll). > > At least, the classic Amiga floppy drive wasn't that annoying > when determining if there's a floppy disk in the drive - much > more advanced than what the PC usually did ("Press ENTER for > next disk!"). ;-) > > > If that is the cause, it may be possible to tell whatever is doing > > the polling to skip the floppy device. > > The OP should have a look a HAL configuration and maybe remove > the floppy drive's device from the list for polling. > > There might be other mechanisms than HAL, maybe also tied to a > desktop environment, that could cause that kind of polling. It > could even be a user program - but as far as I know, no such > thing is part of the FreeBSD OS... This whole thread brings back memories. Personally, I have not had a PC with a Floppy drive of any kind since 2004. I do have an ancient unit sitting in my basement that I might be able to resurrect if need; however, I don't know why I would. I have an old portable "floppy drive -1.44" somewhere, I would have to find it, that I could plug into the serial port if required. It use to work on Windows. I never even attempted to try it on FreeBSD. I wonder if anyone is still using the old ZIP drives. There was a serious problem with them and the "Click of Death" situation. -- Jerry â™” Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 13:16:30 2013 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E4131A89 for ; Wed, 23 Oct 2013 13:16:30 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6AA322D99 for ; Wed, 23 Oct 2013 13:16:29 +0000 (UTC) Received: from kw.news4all.se (localhost [127.0.0.1]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id r9NDGQLF051273 for ; Wed, 23 Oct 2013 15:16:26 +0200 (CEST) (envelope-from bah@bananmonarki.se) Message-ID: <5267CC29.9050104@bananmonarki.se> Date: Wed, 23 Oct 2013 15:16:25 +0200 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: questions FreeBSD Subject: build error openoffice-3/oo-4/oo-devel/libreoffice Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 13:16:31 -0000 Hello list! FreeBSD fqdn 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 checking whether ccache gcc accepts -g... yes checking for ccache gcc option to accept ISO C89... none needed checking for ccache... /usr/local/bin/ccache checking the GNU gcc compiler version... checked (gcc 4.2.1) checking for -Bsymbolic-functions linker support ... found checking whether to enable pch feature... no checking for GNU make... gmake checking the GNU make version... gmake 3.82 3+: checking for dmake... checking for dmake... /usr/local/bin/dmake using system dmake checking whether the found dmake is the right dmake... yes checking the dmake version... OK, >= 4.11 checking for GNU or compatible BSD tar... gtar checking for --hash-style=both linker support ... found checking for perl... /usr/bin/perl checking the Perl version... checked (perl 5) checking for required Perl modules... configure: error: The missing Perl modules are: LWP::UserAgent Install them as superuser/administrator with "cpan -i LWP::UserAgent" ===> Script "configure" failed unexpectedly. Please report the problem to office@FreeBSD.org [maintainer] and attach the "/usbdisk/ports/editors/openoffice-4/work/aoo-4.0.1/main/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/sbin/pkg_info -Ea). *** [do-configure] Error code 1 Stop in /usbdisk/ports/editors/openoffice-4. *** [build] Error code 1 Stop in /usbdisk/ports/editors/openoffice-4. root@kw:/usbdisk/ports/editors/openoffice-4 # cpan -i LWP::UserAgent CPAN: Storable loaded ok (v2.27) Going to read '/root/.cpan/Metadata' Database was generated on Tue, 22 Oct 2013 17:17:03 GMT CPAN: Module::CoreList loaded ok (v2.49_07) LWP::UserAgent is up to date (6.05). root@kw:/usbdisk/ports/editors/openoffice-4 # From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 14:21:22 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 466EE7F6 for ; Wed, 23 Oct 2013 14:21:22 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C0F70229B for ; Wed, 23 Oct 2013 14:21:20 +0000 (UTC) Received: from [192.168.1.35] (host86-163-34-162.range86-163.btcentralplus.com [86.163.34.162]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id r9NELC5n074915 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 23 Oct 2013 15:21:13 +0100 (BST) (envelope-from frank2@fjl.co.uk) Message-ID: <5267DB5B.3040106@fjl.co.uk> Date: Wed, 23 Oct 2013 15:21:15 +0100 From: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: click-click in floppy disk drive References: <20131021135605.DSZ95987@ms5.mc.surewest.net> <20131022230000.9bfa7add.freebsd@edvax.de> <20131023134628.d91267ab.freebsd@edvax.de> In-Reply-To: <20131023134628.d91267ab.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 14:21:22 -0000 On 23/10/2013 12:46, Polytropon wrote: > At least, the classic Amiga floppy drive wasn't that annoying > when determining if there's a floppy disk in the drive - much > more advanced than what the PC usually did ("Press ENTER for > next disk!").;-) The rot set in with the move from 8" to 5" in my view. Okay, before the SA400 they weren't exactly standard but the cut-down interface missed off the commonly fun fun lines like the one to tell you if the door was open and the "lock door", to prevent the luser from whipping a diskette out when you didn't want them to. Oh! What fun we had with that one :-) From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 14:28:10 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4D7B6AA9 for ; Wed, 23 Oct 2013 14:28:10 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 10FBF2327 for ; Wed, 23 Oct 2013 14:28:09 +0000 (UTC) Received: from r56.edvax.de (port-92-195-117-74.dynamic.qsc.de [92.195.117.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 0744827892 for ; Wed, 23 Oct 2013 16:28:08 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r9NES19A002611 for ; Wed, 23 Oct 2013 16:28:01 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 23 Oct 2013 16:28:01 +0200 From: Polytropon To: freebsd-questions@freebsd.org Subject: Re: OT: click-click in floppy disk drive Message-Id: <20131023162801.2bf4b69a.freebsd@edvax.de> In-Reply-To: <20131023084125.626098b2@scorpio> References: <20131021135605.DSZ95987@ms5.mc.surewest.net> <20131022230000.9bfa7add.freebsd@edvax.de> <20131023134628.d91267ab.freebsd@edvax.de> <20131023084125.626098b2@scorpio> 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.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 14:28:10 -0000 On Wed, 23 Oct 2013 08:41:25 -0400, Jerry wrote: > I have an old portable "floppy drive > -1.44" somewhere, I would have to find it, that I could plug into the > serial port if required. You mean "serial port" as "RS-232 9 pin connector"? PCs that don't have floppy disk drives usually also don't have serial ports anymore (the same like parallel ports that have disappeared many years ago). On very rare occassions, to be honest, every few years, I have to access systems that can only process 1.44" floppies for (small amount) data exchange - no USB ports, no network, no nothing. For this really exceptional case I have a USB floppy drive. I hope that at least _sometimes_ using it will keep the drive alive until the "target system" does a favour to the world (including me) and finally stops working. But you know: Never touch a running system... :-) > It use to work on Windows. Only as long as there is a working driver support! ;-) > I never even > attempted to try it on FreeBSD. I've tested with a USB floppy disk drive, and it is supported. The device will appear as a normal direct access drive (/dev/da?). > I wonder if anyone is still using the > old ZIP drives. There was a serious problem with them and the "Click of > Death" situation. Oh, that kind of nasty "hardware virus" where a misaligned drive could "infect" ZIP media that would then misalign any further drive they've been put into? I haven't been using ZIP drives myself, I know they existed for external SCSI, parallel and maybe even USB (and of course internal ATA) connections, but as far as I know, they didn't leave behind any significant footprint in IT history. (At least they were very rare here in Germany.) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 14:32:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7DEC322B for ; Wed, 23 Oct 2013 14:32:49 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4190023D9 for ; Wed, 23 Oct 2013 14:32:49 +0000 (UTC) Received: from r56.edvax.de (port-92-195-117-74.dynamic.qsc.de [92.195.117.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id C903F24F9C; Wed, 23 Oct 2013 16:32:47 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r9NEWeh4002628; Wed, 23 Oct 2013 16:32:40 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 23 Oct 2013 16:32:40 +0200 From: Polytropon To: Frank Leonhardt Subject: Re: click-click in floppy disk drive Message-Id: <20131023163240.80e2c650.freebsd@edvax.de> In-Reply-To: <5267DB5B.3040106@fjl.co.uk> References: <20131021135605.DSZ95987@ms5.mc.surewest.net> <20131022230000.9bfa7add.freebsd@edvax.de> <20131023134628.d91267ab.freebsd@edvax.de> <5267DB5B.3040106@fjl.co.uk> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 14:32:49 -0000 On Wed, 23 Oct 2013 15:21:15 +0100, Frank Leonhardt wrote: > The rot set in with the move from 8" to 5" in my view. Okay, before the > SA400 they weren't exactly standard but the cut-down interface missed > off the commonly fun fun lines like the one to tell you if the door was > open and the "lock door", to prevent the luser from whipping a diskette > out when you didn't want them to. Oh! What fun we had with that one :-) Have a look at MacIntosh computers and Sun workstations: Their 3.5" floppy disk drives did not have a mechanical eject button so as long as a disk was being accessed or mounted, the (l)user could not forcedly get the disk out of the machine. :-) I still have a "museum computer" here that operates with 5.25" floppy disks from the 1980s. The funny and surprising thing: It's _fully_ functional and the disk don't show any sign of degrading behaviour. Of course that's not a system one would use today for any kind of productive work, but the system itself, and all its components, still work as intended. Let's see if (and how) a "modern" laptop or PC from today would behave in the year 2048, which is 2^11. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 15:06:31 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7A1BEFF6 for ; Wed, 23 Oct 2013 15:06:31 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:6:6]) by mx1.freebsd.org (Postfix) with ESMTP id 15B712659 for ; Wed, 23 Oct 2013 15:06:30 +0000 (UTC) Received: from ppp118-210-126-13.lns20.adl2.internode.on.net (HELO leader.local) ([118.210.126.13]) by ipmail06.adl6.internode.on.net with ESMTP; 24 Oct 2013 01:36:29 +1030 Message-ID: <5267E5F1.7030202@ShaneWare.Biz> Date: Thu, 24 Oct 2013 01:36:25 +1030 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: freebsd@dreamchaser.org, FreeBSD Mailing List Subject: Re: headers in /usr/include are 9.1 but /usr/src/sys are 9.0 References: <52673D72.9080606@dreamchaser.org> In-Reply-To: <52673D72.9080606@dreamchaser.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 15:06:31 -0000 On 23/10/2013 13:37, Gary Aitken wrote: > Using the generic kernel. Some time ago I upgraded from 9.0 to 9.1 > using freebsd-update. > > originally, under 9.0, I had lsof installed (from ports). > > Some time after all that I tried to reinstall sysutils/lsof and > couldn't. I wasn't desperate and ignored it... > > Looking into it further, the problem appears to be the result of > /usr/src/sys/sys/ containing 9.0.0 versions, and /usr/include/sys/ > containing 9.1.0 versions. > > I didn't think I had system source installed, but apparently I did. I > have vague recollections of telling the upgrade process not to > upgrade the source because I didn't think I had it installed; but > maybe it doesn't even ask. I'm not really familiar with the process > and it was a while back. > > Anyhow... > > 1. Is /usr/src/sys/sys always present? No. The system source files are optional. > 2. Do ports normally use headers from /usr/src/sys/sys instead of > /usr/include/sys if /usr/src/sys/sys is present? As I understand it the ports that would use /usr/src are ones that compile kernel modules. lsof would be an exception as I believe it accesses data structures from the running system to collect it's information, which are defined in the system sources. lsof should be compiled against the current system and complains when it isn't. > 3. What's the best way to fix this? freebsd-update fetch? freebsd-update is configured in /etc/freebsd-update.conf you should find an entry for Components which should contain src then update. Another option if you have subversion installed is to checkout the source tree straight from the svn servers. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 17:42:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 825D08E2 for ; Wed, 23 Oct 2013 17:42:49 +0000 (UTC) (envelope-from tg@gmplib.org) Received: from shell.gmplib.org (gmplib-02.nada.kth.se [130.237.222.242]) by mx1.freebsd.org (Postfix) with ESMTP id 4802B2072 for ; Wed, 23 Oct 2013 17:42:48 +0000 (UTC) Received: by shell.gmplib.org (Postfix, from userid 1001) id CE95723794; Wed, 23 Oct 2013 19:42:46 +0200 (CEST) To: freebsd-questions@freebsd.org Subject: Re: MULX on haswell triggers ILLOP References: <86wql4onvy.fsf@shell.gmplib.org> From: Torbjorn Granlund Sender: tg@gmplib.org Date: Wed, 23 Oct 2013 19:42:46 +0200 In-Reply-To: <86wql4onvy.fsf@shell.gmplib.org> (Torbjorn Granlund's message of "Wed\, 23 Oct 2013 02\:02\:25 +0200") Message-ID: <867gd3lw89.fsf@shell.gmplib.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 17:42:49 -0000 Torbjorn Granlund writes: I have an Intel Haswell system which runs Xen/NetBSD with Debian 7.2, NetBSD 6.1.2 and FreeBSD 9.2 guests. =20=20 The FreeBSD guest casts an ILLOP when fed with the new MULX instruction. This is a plain integer register based instruction which should require zero kernel support. =20=20 MULX is part of the BMI2 extensions. =20=20 The instruction works fine in the other guest systems. =20=20 What is going on? How can FreeBSD reject this instruction? =20=20 I have not tried to run FreeBSD on the bare metal, so I cannot tell if BMI2 works as expected there. It turns out to be another strike of an FreeBSD m4 eval bug. http://www.freebsd.org/cgi/query-pr.cgi?pr=3D166994 Unfortunately, this means that GMP will not work on Haswell CPUs running FreeBSD, where we assemble unsupported instructions using m4 macros. That is a workaround for FreeBSD's seriously outdated binutils. Of course, we could implement a workaround for the m4 bug, but that workaround would be more complex than a bugfix for m4. My hopes that FreeBSD will fix this bug are not high, given that it has been known for 1.5 years. --=20 Torbj=C3=B6rn From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 17:53:11 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id AA5CF12E; Wed, 23 Oct 2013 17:53:11 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pd0-x22b.google.com (mail-pd0-x22b.google.com [IPv6:2607:f8b0:400e:c02::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7987C212E; Wed, 23 Oct 2013 17:53:11 +0000 (UTC) Received: by mail-pd0-f171.google.com with SMTP id z10so1518316pdj.16 for ; Wed, 23 Oct 2013 10:53:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=dwDj2FsetF4dzOv7NYTUj+NYKUcuUGpAajTJJp1Pgms=; b=HvShDjngi2nPY7OloJrXMlaa55srGpUfbDLO4QHfr58baXuN4K2QgAo5Gw9afetpf5 ZLx5Hvjq6/76tl76HVRg/rOrqbaoeH6TMUr2/Qx1r8wjOQwPw2ZeEthYC6PP59elQOZV 7rteswJiWR+yYEFpq8tdFUlwLyCd1/feGYx9CVYZWd+Wyg8itS6Y+hk2NhAmILajIUg6 OZ4Kr7+xum5tFNn4EPpuMJZApp8uTBLXzeiG/FiXnkVE94SEg2xS1oFbE/76YtzKWlTy UOckgzZ6nXKGxmnPMZN7QHdMfKRNeGgOGwvPNJICB2LLrY5z6y+WxHHCPNmCYTv1IUhZ ubMw== X-Received: by 10.68.232.132 with SMTP id to4mr2804807pbc.141.1382550791079; Wed, 23 Oct 2013 10:53:11 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id fe5sm5933970pbc.32.2013.10.23.10.53.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Oct 2013 10:53:10 -0700 (PDT) Subject: Re: FreeBSD, Centos and ZFS - SOLVED Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: aurfalien In-Reply-To: Date: Wed, 23 Oct 2013 10:53:08 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <583CD1A7-A2F8-410E-B0C0-0C562833E024@gmail.com> References: <1381600575.18393.33219025.5D7B78D0@webmail.messagingengine.com> <8CA809B3-1692-4760-A63F-9D7451EB49BD@gmail.com> <525D143B.50202@gmail.com> <1382285088.2462.36238881.1AA6BB17@webmail.messagingengine.com> <25C055B9-4A19-46C8-B78E-AC8BD6E00CD9@gmail.com> To: Warren Block X-Mailer: Apple Mail (2.1085) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 17:53:11 -0000 On Oct 22, 2013, at 6:59 PM, Warren Block wrote: > On Tue, 22 Oct 2013, aurfalien wrote: >=20 >>=20 >> On Oct 20, 2013, at 9:04 AM, Mark Felder wrote: >>=20 >>> On Sat, Oct 19, 2013, at 14:31, aurfalien wrote: >>>>=20 >>>> ZoL comes with a little interesting feature; arc2 compression, = which does >>>> seem to enhance performance all around. I disabled this in CentOS = to >>>> level the playing field. >>>>=20 >>>=20 >>> FreeBSD 10 also has L2ARC compression >>>=20 >>> http://svnweb.freebsd.org/base?view=3Drevision&revision=3D251478 >>=20 >> OMG, what a relief... the ~30% diff in performance was due to a BIOS = setting, in particular this one; >>=20 >> Intel Turbo Boost Technology >> Enhanced Intel SpeedStep Tech >>=20 >> I disabled both. >=20 > Enable them both and also enable powerd on FreeBSD in /etc/rc.conf so = it can take advantage of the first. >=20 >> In fact, FreeBSD is showing a tad better now then CentOS. I have = files if any one is interested in viewing. >=20 > With Turbo mode on, it may go even faster. Yep, confirmed, got about ~1000 IOPS more by doing this (via fio). So on to the other pots regarding tuning powerd. - aurf From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 18:23:06 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A46F5514; Wed, 23 Oct 2013 18:23:06 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay006.isp.belgacom.be (mailrelay006.isp.belgacom.be [195.238.6.172]) by mx1.freebsd.org (Postfix) with ESMTP id C69512364; Wed, 23 Oct 2013 18:23:05 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Al8GAGcTaFJbs4WZ/2dsb2JhbABZgwc4vyeBLRd0giUBAQU6HCMQCw4KCSUPKh4GEwmIAQEIuw6PTgeEKgOYCIEwkFiDJjo Received: from 153.133-179-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.179.133.153]) by relay.skynet.be with ESMTP; 23 Oct 2013 20:23:03 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.7/8.14.7) with ESMTP id r9NIN1LW018108; Wed, 23 Oct 2013 20:23:02 +0200 (CEST) (envelope-from tijl@coosemans.org) Date: Wed, 23 Oct 2013 20:23:00 +0200 From: Tijl Coosemans To: Torbjorn Granlund Subject: Re: MULX on haswell triggers ILLOP Message-ID: <20131023202300.7d316d29@kalimero.tijl.coosemans.org> In-Reply-To: <867gd3lw89.fsf@shell.gmplib.org> References: <86wql4onvy.fsf@shell.gmplib.org> <867gd3lw89.fsf@shell.gmplib.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: bapt@FreeBSD.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 18:23:06 -0000 On Wed, 23 Oct 2013 19:42:46 +0200 Torbjorn Granlund wrote: > Torbjorn Granlund writes: > > I have an Intel Haswell system which runs Xen/NetBSD with Debian 7.2, > NetBSD 6.1.2 and FreeBSD 9.2 guests. > > The FreeBSD guest casts an ILLOP when fed with the new MULX instruction. > This is a plain integer register based instruction which should require > zero kernel support. > > MULX is part of the BMI2 extensions. > > The instruction works fine in the other guest systems. > > What is going on? How can FreeBSD reject this instruction? > > I have not tried to run FreeBSD on the bare metal, so I cannot tell if > BMI2 works as expected there. > > It turns out to be another strike of an FreeBSD m4 eval bug. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=166994 > > Unfortunately, this means that GMP will not work on Haswell CPUs running > FreeBSD, where we assemble unsupported instructions using m4 macros. > That is a workaround for FreeBSD's seriously outdated binutils. Of > course, we could implement a workaround for the m4 bug, but that > workaround would be more complex than a bugfix for m4. > > My hopes that FreeBSD will fix this bug are not high, given that it has > been known for 1.5 years. A comment on that PR says that it has been fixed in http://svnweb.freebsd.org/base?view=revision&revision=228063 I don't know if it's feasible to merge this to stable/9. Committer CCed. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 19:01:07 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 39A782D3 for ; Wed, 23 Oct 2013 19:01:07 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pd0-x22c.google.com (mail-pd0-x22c.google.com [IPv6:2607:f8b0:400e:c02::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0E94225BD for ; Wed, 23 Oct 2013 19:01:07 +0000 (UTC) Received: by mail-pd0-f172.google.com with SMTP id z10so1620828pdj.17 for ; Wed, 23 Oct 2013 12:01:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=oT7k4LNNxRYRgPqN6RSlKe7TeRYiopUg82PO8o4WPHc=; b=uZPAROHJoZkK6wfKOI62x3Z6t0iEPBg8wSVzOuNmYH7sxYKHn6/OCN8qa/U6sI+deI Sb8SpwwhJRRgzX3ibGk1v+pp7gA4NmHXEa1Ndrs+RYaalboVudFr92S7cFfhOlMDnvW2 kKyQpH6v15aXmHd7tK+x0XDb4PdjeyDfwzOuuTmzuVvQ0iOPujmxEc4HGl9zv07lgY4v 9Ir9UT5nCiwPChDGY23y6RYXlcBkOXJxU6YFmPvzYumGQuzIPVGJO5sQdvpY9GqUOrPY 8PHKHxC1OLNuTCeYSc1dYmxoLdKQkeNwgKA8ucJnwPgFh0Ths5jsvD4Tic4Tkm9TTYfv 3JSA== X-Received: by 10.68.195.138 with SMTP id ie10mr3161019pbc.196.1382554866489; Wed, 23 Oct 2013 12:01:06 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id fy4sm6216277pbb.1.2013.10.23.12.01.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Oct 2013 12:01:05 -0700 (PDT) Subject: Re: FreeBSD, Centos and ZFS - SOLVED Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: aurfalien In-Reply-To: Date: Wed, 23 Oct 2013 12:01:04 -0700 Content-Transfer-Encoding: 7bit Message-Id: <897771F2-AACE-44A7-8072-94A75327650E@gmail.com> References: <1381600575.18393.33219025.5D7B78D0@webmail.messagingengine.com> <8CA809B3-1692-4760-A63F-9D7451EB49BD@gmail.com> <525D143B.50202@gmail.com> <1382285088.2462.36238881.1AA6BB17@webmail.messagingengine.com> <25C055B9-4A19-46C8-B78E-AC8BD6E00CD9@gmail.com> To: nightrecon@hotmail.com X-Mailer: Apple Mail (2.1085) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 19:01:07 -0000 On Oct 22, 2013, at 11:17 PM, Michael Powell wrote: > aurfalien wrote: > >> On Oct 22, 2013, at 7:55 PM, Adrian Chadd wrote: >> >>> Well, the 30% diff in performance due to those two intel CPU options >>> means that somehow the scheduler and power management stuff in FreeBSD >>> isn't playing with turbo boost / speedstep. >>> >>> So yeah, figuring out why would be nice. >> >> Ditto. >> >> I never enabled powerd in FreeBSD9 or 10. Unsure what the default >> position is. >> >> In CentOS, I usually just set a diff BIOS feature as disabled or >> performance depending on what the options are. >> >> On this server, it had acoustic/performance/balance as well as well as >> that CPU option which threw me off. >> >> - aurf >> >> > > You might find this interesting: > > http://www.ateamsystems.com/blog/Increase-FreeBSD-Performance-With-powerd Bingo. Many thanks. - aurf From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 19:11:20 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7A87CC1A for ; Wed, 23 Oct 2013 19:11:20 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-ob0-x234.google.com (mail-ob0-x234.google.com [IPv6:2607:f8b0:4003:c01::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 424A32733 for ; Wed, 23 Oct 2013 19:11:20 +0000 (UTC) Received: by mail-ob0-f180.google.com with SMTP id wo20so1271188obc.39 for ; Wed, 23 Oct 2013 12:11:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=6kwfvyHhRTtjtseb/AoGX3eeS8tvHf7cvHehIwW8nMk=; b=jR9aE7gwivdUJtCLf0lZRkvEayMNBhdOSCMRGDH8GsRwRAIzc3wczOrs85QsL2mxBo Vrk7+7IusnfZEybwMj0vIauVOmNGRNFwrkQTr4Dk673eft6JpheYjRl5p8boJWM8Giy1 Qg3IKkApEJ1Rg+6YycWsTb5gCAu9Ia8YcBz1ZhcQ9ez6aJf3ckTIGVCCjDa9C93FJ76I oLmIy3gJveFOhKF7YcoWkknMmZZpV1TJldD57VYquL6mlEWOun+gbt10lwv9ZQ5qFWmx xYgI4SZKM+ymhWmhMxfJwMIwBYBGqJVIBFiwgPS7RQHJ/ZpIn+fkj6IV1BvX0RUYhOFN 4poQ== MIME-Version: 1.0 X-Received: by 10.60.160.164 with SMTP id xl4mr3220663oeb.69.1382555479481; Wed, 23 Oct 2013 12:11:19 -0700 (PDT) Received: by 10.76.19.115 with HTTP; Wed, 23 Oct 2013 12:11:19 -0700 (PDT) In-Reply-To: <583CD1A7-A2F8-410E-B0C0-0C562833E024@gmail.com> References: <1381600575.18393.33219025.5D7B78D0@webmail.messagingengine.com> <8CA809B3-1692-4760-A63F-9D7451EB49BD@gmail.com> <525D143B.50202@gmail.com> <1382285088.2462.36238881.1AA6BB17@webmail.messagingengine.com> <25C055B9-4A19-46C8-B78E-AC8BD6E00CD9@gmail.com> <583CD1A7-A2F8-410E-B0C0-0C562833E024@gmail.com> Date: Wed, 23 Oct 2013 15:11:19 -0400 Message-ID: Subject: Re: FreeBSD, Centos and ZFS - SOLVED From: Outback Dingo To: aurfalien Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 19:11:20 -0000 On Wed, Oct 23, 2013 at 1:53 PM, aurfalien wrote: > > On Oct 22, 2013, at 6:59 PM, Warren Block wrote: > > > On Tue, 22 Oct 2013, aurfalien wrote: > > > >> > >> On Oct 20, 2013, at 9:04 AM, Mark Felder wrote: > >> > >>> On Sat, Oct 19, 2013, at 14:31, aurfalien wrote: > >>>> > >>>> ZoL comes with a little interesting feature; arc2 compression, which > does > >>>> seem to enhance performance all around. I disabled this in CentOS to > >>>> level the playing field. > >>>> > >>> > >>> FreeBSD 10 also has L2ARC compression > >>> > >>> http://svnweb.freebsd.org/base?view=revision&revision=251478 > >> > >> OMG, what a relief... the ~30% diff in performance was due to a BIOS > setting, in particular this one; > >> > >> Intel Turbo Boost Technology > >> Enhanced Intel SpeedStep Tech > >> > >> I disabled both. > > > > Enable them both and also enable powerd on FreeBSD in /etc/rc.conf so it > can take advantage of the first. > > > >> In fact, FreeBSD is showing a tad better now then CentOS. I have files > if any one is interested in viewing. > > > > With Turbo mode on, it may go even faster. > > Yep, confirmed, got about ~1000 IOPS more by doing this (via fio). > > So on to the other pots regarding tuning powerd. > > - aurf > so curious what was the fio test on the command line....... > > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 19:30:56 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 13AC95A8 for ; Wed, 23 Oct 2013 19:30:56 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pb0-x22a.google.com (mail-pb0-x22a.google.com [IPv6:2607:f8b0:400e:c01::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D8C6629ED for ; Wed, 23 Oct 2013 19:30:55 +0000 (UTC) Received: by mail-pb0-f42.google.com with SMTP id jt11so1179382pbb.1 for ; Wed, 23 Oct 2013 12:30:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to; bh=hjci2/Euax8jQaNPvqYAXPeDH9TiszyyE6+8TXghGqA=; b=JKajALdJNGeYNMTUlKWCwdVsnPaav6U9RG/UMEtxbIuee+n1R0S7XfEYtB4VNMiB1Z 6YLg2ofQAaCwNYv0v+iFwggKDm7aE1TMo1oFrQ7RxZInE8SXaA0FJNa2tNw8fhga0n62 aPsxVp0ASFpkEsXLnzTKyNNXaHisuiU/b3qzfojHvl3MSlWzGzIzDtgUwHwRLrFqWsAM FGPhkuqjw9Uck0uoHVs3Y6FPrIqAxOFmlRNDOP4uIvLOt+4jmuiidLDoHF7sRTHcSSKG H1Hhn6Jv9/FE+RIBewYAECjq9M5xrM6Loxih/gtDRflukeFkikoRa0JCoyvugNslTuiP yQOA== X-Received: by 10.66.136.167 with SMTP id qb7mr4950784pab.43.1382556654669; Wed, 23 Oct 2013 12:30:54 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id j9sm43193444paj.18.2013.10.23.12.30.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Oct 2013 12:30:53 -0700 (PDT) Subject: Re: FreeBSD, Centos and ZFS - SOLVED Mime-Version: 1.0 (Apple Message framework v1085) From: aurfalien In-Reply-To: Date: Wed, 23 Oct 2013 12:30:52 -0700 Message-Id: <66EE3A0C-8280-417C-99A7-5ADDC8E5E23D@gmail.com> References: <1381600575.18393.33219025.5D7B78D0@webmail.messagingengine.com> <8CA809B3-1692-4760-A63F-9D7451EB49BD@gmail.com> <525D143B.50202@gmail.com> <1382285088.2462.36238881.1AA6BB17@webmail.messagingengine.com> <25C055B9-4A19-46C8-B78E-AC8BD6E00CD9@gmail.com> <583CD1A7-A2F8-410E-B0C0-0C562833E024@gmail.com> To: Outback Dingo X-Mailer: Apple Mail (2.1085) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 19:30:56 -0000 On Oct 23, 2013, at 12:11 PM, Outback Dingo wrote: >=20 >=20 >=20 > On Wed, Oct 23, 2013 at 1:53 PM, aurfalien = wrote: >=20 > On Oct 22, 2013, at 6:59 PM, Warren Block wrote: >=20 > > On Tue, 22 Oct 2013, aurfalien wrote: > > > >> > >> On Oct 20, 2013, at 9:04 AM, Mark Felder wrote: > >> > >>> On Sat, Oct 19, 2013, at 14:31, aurfalien wrote: > >>>> > >>>> ZoL comes with a little interesting feature; arc2 compression, = which does > >>>> seem to enhance performance all around. I disabled this in = CentOS to > >>>> level the playing field. > >>>> > >>> > >>> FreeBSD 10 also has L2ARC compression > >>> > >>> http://svnweb.freebsd.org/base?view=3Drevision&revision=3D251478 > >> > >> OMG, what a relief... the ~30% diff in performance was due to a = BIOS setting, in particular this one; > >> > >> Intel Turbo Boost Technology > >> Enhanced Intel SpeedStep Tech > >> > >> I disabled both. > > > > Enable them both and also enable powerd on FreeBSD in /etc/rc.conf = so it can take advantage of the first. > > > >> In fact, FreeBSD is showing a tad better now then CentOS. I have = files if any one is interested in viewing. > > > > With Turbo mode on, it may go even faster. >=20 > Yep, confirmed, got about ~1000 IOPS more by doing this (via fio). >=20 > So on to the other pots regarding tuning powerd. >=20 > - aurf >=20 > so curious what was the fio test on the command line....... =20 my fio file; [global] =20 description=3DEmulation of Intel IOmeter File Server Access Pattern =20 =20 [iometer] =20 rw=3Drandrw =20 rwmixread=3D75 =20 rwmixwrite=3D25 direct=3D0 =20 size=3D700g =20 ioengine=3Dposixaio fallocate=3Dnone runtime=3D900 random_distribution=3Dzipf:2.2 # IOMeter defines the server loads as the following: =20 # iodepth=3D1 Linear =20 # iodepth=3D4 Very Light =20 # iodepth=3D8 Light =20 # iodepth=3D64 Moderate =20 # iodepth=3D256 Heavy =20 iodepth=3D64 thread My results; iometer: (g=3D0): rw=3Drandrw, bs=3D4K-4K/4K-4K/4K-4K, = ioengine=3Dposixaio, iodepth=3D32 fio-2.1.1 Starting 1 thread Jobs: 1 (f=3D1): [m] [100.0% done] [102.4MB/34795KB/0KB /s] = [26.3K/8698/0 iops] [eta 00m:00s] iometer: (groupid=3D0, jobs=3D1): err=3D 0: pid=3D101195: Wed Oct 23 = 12:26:55 2013 Description : [Emulation of Intel IOmeter File Server Access Pattern] read : io=3D61266MB, bw=3D104561KB/s, iops=3D26140, runt=3D600001msec slat (usec): min=3D0, max=3D3643, avg=3D 7.73, stdev=3D13.20 clat (usec): min=3D7, max=3D707773, avg=3D707.63, stdev=3D1254.36 lat (usec): min=3D9, max=3D707777, avg=3D715.36, stdev=3D1254.22 clat percentiles (usec): | 1.00th=3D[ 32], 5.00th=3D[ 60], 10.00th=3D[ 93], = 20.00th=3D[ 149], | 30.00th=3D[ 213], 40.00th=3D[ 286], 50.00th=3D[ 394], = 60.00th=3D[ 548], | 70.00th=3D[ 788], 80.00th=3D[ 1128], 90.00th=3D[ 1720], = 95.00th=3D[ 2352], | 99.00th=3D[ 3824], 99.50th=3D[ 4512], 99.90th=3D[ 6240], = 99.95th=3D[ 7136], | 99.99th=3D[11968] bw (KB /s): min=3D 8755, max=3D112040, per=3D100.00%, = avg=3D104619.14, stdev=3D3609.80 write: io=3D20415MB, bw=3D34842KB/s, iops=3D8710, runt=3D600001msec slat (usec): min=3D1, max=3D3586, avg=3D 8.68, stdev=3D13.75 clat (usec): min=3D9, max=3D708187, avg=3D1436.86, stdev=3D2013.35 lat (usec): min=3D21, max=3D708192, avg=3D1445.54, stdev=3D2013.23 clat percentiles (usec): | 1.00th=3D[ 53], 5.00th=3D[ 96], 10.00th=3D[ 135], = 20.00th=3D[ 203], | 30.00th=3D[ 286], 40.00th=3D[ 418], 50.00th=3D[ 676], = 60.00th=3D[ 1080], | 70.00th=3D[ 1640], 80.00th=3D[ 2416], 90.00th=3D[ 3760], = 95.00th=3D[ 5088], | 99.00th=3D[ 8256], 99.50th=3D[ 9664], 99.90th=3D[12992], = 99.95th=3D[14528], | 99.99th=3D[19584] bw (KB /s): min=3D 2978, max=3D37584, per=3D100.00%, avg=3D34861.41, = stdev=3D1227.92 lat (usec) : 10=3D0.01%, 20=3D0.10%, 50=3D2.69%, 100=3D6.81%, = 250=3D23.36% lat (usec) : 500=3D20.88%, 750=3D10.72%, 1000=3D7.56% lat (msec) : 2=3D16.17%, 4=3D8.84%, 10=3D2.74%, 20=3D0.11%, 50=3D0.01%= lat (msec) : 100=3D0.01%, 250=3D0.01%, 750=3D0.01% cpu : usr=3D12.20%, sys=3D39.70%, ctx=3D10290014, majf=3D0, = minf=3D0 IO depths : 1=3D0.1%, 2=3D0.1%, 4=3D0.1%, 8=3D0.2%, 16=3D64.3%, = 32=3D35.5%, >=3D64=3D0.0% submit : 0=3D0.0%, 4=3D100.0%, 8=3D0.0%, 16=3D0.0%, 32=3D0.0%, = 64=3D0.0%, >=3D64=3D0.0% complete : 0=3D0.0%, 4=3D95.6%, 8=3D3.5%, 16=3D0.8%, 32=3D0.1%, = 64=3D0.0%, >=3D64=3D0.0% issued : total=3Dr=3D15684217/w=3D5226293/d=3D0, = short=3Dr=3D0/w=3D0/d=3D0 Run status group 0 (all jobs): READ: io=3D61266MB, aggrb=3D104561KB/s, minb=3D104561KB/s, = maxb=3D104561KB/s, mint=3D600001msec, maxt=3D600001msec WRITE: io=3D20415MB, aggrb=3D34841KB/s, minb=3D34841KB/s, = maxb=3D34841KB/s, mint=3D600001msec, maxt=3D600001msec - aurf= From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 19:40:13 2013 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4B8E7A02 for ; Wed, 23 Oct 2013 19:40:13 +0000 (UTC) (envelope-from pbritton@isymphony.net) Received: from mail.isymphony.net (mail.isymphony.net [63.247.98.201]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 164AD2AC0 for ; Wed, 23 Oct 2013 19:40:13 +0000 (UTC) Received: from mail.isymphony.net ([63.247.98.201]) by mail.isymphony.net ([63.247.98.201]) with mapi; Wed, 23 Oct 2013 14:39:03 -0500 From: "Paul M. Britton" To: "questions@FreeBSD.org" Date: Wed, 23 Oct 2013 14:39:00 -0500 Subject: Hyperic 4.6.6 Monitoring System Thread-Topic: Hyperic 4.6.6 Monitoring System Thread-Index: Ac7QJ4XFy2z1St8BQ1uFHbeAdYEWlw== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-cr-hashedpuzzle: BHgb Bj/t Do9w Drra EKsZ EyJy F2S5 GXFL GpBT GyB+ HUSW Hh9C H6ni Ivm8 JAHO Jafx; 1; cQB1AGUAcwB0AGkAbwBuAHMAQABmAHIAZQBlAGIAcwBkAC4AbwByAGcA; Sosha1_v1; 7; {976B4594-3006-43FB-9CF2-40597A086077}; cABiAHIAaQB0AHQAbwBuAEAAaQBzAHkAbQBwAGgAbwBuAHkALgBuAGUAdAA=; Wed, 23 Oct 2013 19:39:00 GMT; SAB5AHAAZQByAGkAYwAgADQALgA2AC4ANgAgAE0AbwBuAGkAdABvAHIAaQBuAGcAIABTAHkAcwB0AGUAbQA= x-cr-puzzleid: {976B4594-3006-43FB-9CF2-40597A086077} acceptlanguage: en-US Content-Type: multipart/related; boundary="_004_EC5DBA00CD4D4E45B585C0B5C5F8818B2B5DDEF2E6mailisymphony_"; type="multipart/alternative" MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 19:40:13 -0000 --_004_EC5DBA00CD4D4E45B585C0B5C5F8818B2B5DDEF2E6mailisymphony_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, I am new to FreeBSD and am hoping you may be able to help. This concerns se= tting up Hyperic 4.6.6 Client-Server monitoring system. The Hyperic server is up and running, and the agent runs well on my windows= servers. I am trying to run the Hyperic 4.6.6 agent on a VMware virtual server. Gett= ing errors and the agent will not start. FreeBSD version 7.3. Hyperic 4.6.6. When I run the command to start the agent (hq-agent-nowrapper.sh start), th= is is what is returned: Starting agent Exception in thread "main" java.lang.UnsatisfiedLinkError: org.hyperic.siga= r.FileAttrs.gather(Lorg/hyperic/sigar/Sigar;Ljava/lang/String;)V at org.hyperic.sigar.FileAttrs.gather(Native Method) at org.hyperic.sigar.FileInfo.fetchInfo(FileInfo.java:430) at org.hyperic.sigar.FileInfo.fetchFileInfo(FileInfo.java:450) at org.hyperic.sigar.Sigar.getFileInfo(Sigar.java:729) at org.hyperic.sigar.FileWatcher.add(FileWatcher.java:66) at org.hyperic.sigar.FileWatcher.add(FileWatcher.java:61) at org.hyperic.hq.bizapp.agent.client.AgentClient$2.(AgentCli= ent.java:1243) at org.hyperic.hq.bizapp.agent.client.AgentClient.initializeAgent(A= gentClient.java:1238) at org.hyperic.hq.bizapp.agent.client.AgentClient.main(AgentClient.= java:1369) $ Any help you could offer would be much appreciated. Thank you! All The Best, Paul ________________________________ Paul McCoy Britton Jr. |IT | (713) 530-7559 iSymphony(r) | Total Talent Management Solutions [cid:image001.jpg@01CECFF2.F2AEA490] ________________________________ Note: The information contained in this message may be privileged and confi= dential and protected from disclosure. If the reader of this message is not= the intended recipient, or an employee or agent responsible for delivering= this message to the intended recipient, you are hereby notified that any d= issemination, distribution or copying of this communication is strictly pro= hibited. If you have received this communication in error, please notify us= immediately by replying to the message and deleting it from your computer. --_004_EC5DBA00CD4D4E45B585C0B5C5F8818B2B5DDEF2E6mailisymphony_-- From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 20:30:09 2013 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D53C0413 for ; Wed, 23 Oct 2013 20:30:09 +0000 (UTC) (envelope-from John.Kitz@xs4all.nl) Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) by mx1.freebsd.org (Postfix) with ESMTP id 843AE2E32 for ; Wed, 23 Oct 2013 20:30:09 +0000 (UTC) Received: from picard (costa.xs4all.nl [82.95.89.208]) (authenticated bits=0) by smtp-vbr14.xs4all.nl (8.13.8/8.13.8) with ESMTP id r9NKU7xs001961 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Wed, 23 Oct 2013 22:30:08 +0200 (CEST) (envelope-from John.Kitz@xs4all.nl) From: "John W. Kitz" To: Subject: FreeBSD distribution for ARM processors. Date: Wed, 23 Oct 2013 22:30:08 +0200 Message-ID: <001d01ced02e$aaf29260$00d7b720$@Kitz@xs4all.nl> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac7QLqpqed/X8wKjSCOnB5zriCDImg== Content-Language: nl X-Virus-Scanned: by XS4ALL Virus Scanner Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: John.Kitz@xs4all.nl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 20:30:10 -0000 Hi, Can someone please explain the rationale behind not providing a distribution for arm based systems, as it seems somewhat illogical to me that distributions are available for ia64, powerpc, sparc64 (see http://www.freebsd.org/where.html) which are considered Tier 2 architectures while the official reason for arm being a Tier 2 architecture is the fact that no distribution is provided for it (see http://www.freebsd.org/platforms/arm.html). Assuming this message ends up on some distribution list please cc me on the reply since I'm not subscribed to it. Thanks in advance, Jk. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 21:08:20 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D7F053A6 for ; Wed, 23 Oct 2013 21:08:20 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A4DFC20E2 for ; Wed, 23 Oct 2013 21:08:20 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.local [192.168.5.2]) by webmail.dweimer.net (8.14.7/8.14.7) with ESMTP id r9NL8CEY050929 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 23 Oct 2013 16:08:13 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 23 Oct 2013 16:08:12 -0500 From: dweimer To: FreeBSD Questions Subject: Anyone Using Eric4 =?UTF-8?Q?IDE=3F?= Organization: dweimer.net Mail-Reply-To: dweimer@dweimer.net Message-ID: X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 21:08:20 -0000 Just curious if anyone has been is successful using the Eric4 IDE on their FreeBSD systems, I took a look at it a couple of months back, went through some online tutorials using it, and was going to try it out for some Python QT GUI code. When I first looked at it everything ran fine, but now that I finally got around to trying to use it for something beyond trying it out, I keep getting terminated with Signal 11 Segmentation Fault from Python when ever I try just about anything. Core was generated by `python2.7'. Program terminated with signal 11, Segmentation fault. #0 0x0000000801232651 in ?? () Of course there have been several updates to the system since it was at a working state, I have the same problem on two systems, my laptop and a virtual machine running on my workstation, so its at least not specific to the single machine, but both have fairly similar configurations and ports installed. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 21:09:39 2013 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C05B9455 for ; Wed, 23 Oct 2013 21:09:39 +0000 (UTC) (envelope-from mueller6721@twc.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.226]) by mx1.freebsd.org (Postfix) with ESMTP id 8786920FA for ; Wed, 23 Oct 2013 21:09:38 +0000 (UTC) Received: from [74.130.200.176] ([74.130.200.176:30650] helo=localhost) by cdptpa-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 62/47-19454-11B38625; Wed, 23 Oct 2013 21:09:38 +0000 Date: Wed, 23 Oct 2013 21:09:37 +0000 Message-ID: <62.47.19454.11B38625@cdptpa-oedge03> From: "Thomas Mueller" To: freebsd-questions@FreeBSD.org References: <20131021135605.DSZ95987@ms5.mc.surewest.net> <20131022230000.9bfa7add.freebsd@edvax.de> <20131023134628.d91267ab.freebsd@edvax.de> <20131023084125.626098b2@scorpio> Subject: Re: click-click in floppy disk drive X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 21:09:39 -0000 > This whole thread brings back memories. Personally, I have not had a PC > with a Floppy drive of any kind since 2004. I do have an ancient unit > sitting in my basement that I might be able to resurrect if need; > however, I don't know why I would. I have an old portable "floppy drive > -1.44" somewhere, I would have to find it, that I could plug into the > serial port if required. It use to work on Windows. I never even > attempted to try it on FreeBSD. I wonder if anyone is still using the > old ZIP drives. There was a serious problem with them and the "Click of > Death" situation. > -- > Jerry â™” I had two Iomega Zip drives, first 100 MB, later 250 MB, both went bad or partly bad. Iomega Zip 250 couldn't take a change of cartridges without intervening reboot, true for DOS, OS/2 and Linux, though it was good at first. Directory of previous cartridge would always show up until reboot, which prevented me from using the second cartridge until the next reboot. I came onto personal computers in 1990, when 8" floppy disks and drives were no longer commercially available. I noticed in recent years that 3.5" floppies became no longer writable and sometimes also no longer readable. 5.25" diskettes seemed to have better shelf life. Now I have given up on all floppies and old computer, recycled. New computer motherboard has no floppy headers. In more recent years, FreeDOS was better than Linux, and Linux was better than FreeBSD and NetBSD for dealing with floppies. Tom From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 23:40:23 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 775DAD8B for ; Wed, 23 Oct 2013 23:40:23 +0000 (UTC) (envelope-from kline@thought.org) Received: from p3plsmtpa07-10.prod.phx3.secureserver.net (p3plsmtpa07-10.prod.phx3.secureserver.net [173.201.192.239]) by mx1.freebsd.org (Postfix) with ESMTP id 52D762938 for ; Wed, 23 Oct 2013 23:40:23 +0000 (UTC) Received: from ethic.thought.org ([209.180.213.209]) by p3plsmtpa07-10.prod.phx3.secureserver.net with id gnel1m00D4XeM0101nemS7; Wed, 23 Oct 2013 16:38:46 -0700 Date: Wed, 23 Oct 2013 16:38:05 +0000 From: Gary Kline To: Polytropon Subject: Re: howto recognize the Shift and Alt keys when /pressed\ Message-ID: <20131023163805.GA7143@ethic.thought.org> References: <20131021161200.GA18556@ethic.thought.org> <20131022012804.98a017fa.freebsd@edvax.de> <20131021164926.GA19974@ethic.thought.org> <20131022125901.6f3366fd.freebsd@edvax.de> <20131022121555.GA24386@ethic.thought.org> <20131022221027.30108304.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131022221027.30108304.freebsd@edvax.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 23:40:23 -0000 Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 27 years of service to the Unix community. > An _excellent_ keyboard which shouldn't be that expensive > is the IBM "Model M" (and similarly constructed ones, e. g. > by BOSCOM). They have a "mechanical click" due to the spring > mechanism in each key. OT, but both times my daughter spilled the water she was drinking into the model-m. < shrug > > I remember that some terminals had a built-in "beep" (more > like a click sound) that could be activated for key presses; > I think the DEC vt100 had that feature. A possible idea would > be to add the clicking routine (either directed at the PC > speaker attached to the mainboard, or if needed, aimed at > the sound card / DSP module) as a part of the terminal emu- > lator itself: When it receives a keypress, emit the sound. > Sadly I'm not familiar enough on how this works on FreeBSD, > if the "level is low enough" to find that functionality in > the terminal emulator, or if it would really be easier to > search for that functionality in the keyboard driver because > the terminal emulator already contains "too much abstraction". > I bot my 3rd [or 4th] small/compact kybd about two months ago. I still have to press some keys withh my nose, but not that often. the docs say that F3 decreases the sound, F4 increases. F2 reads "Silence!" beneath in blue. the vendor never replied to my email; besides, I want my klik prog to work foe every version of *nix. > > > I just *barely* understand this python code that the guy has in > > "xlib.py", but I see what he's done (I think) to grab onto the > > modifyer keys:: > > > > > > def _setup_lookup(self): > > """Setup the key lookups.""" > > for name in dir(XK): > > if name[:3] == "XK_": > > code = getattr(XK, name) > > self.keycode_to_symbol[code] = 'KEY_' + name[3:].upper() > > self.keycode_to_symbol[65027] = 'KEY_ISO_LEVEL3_SHIFT' > > self.keycode_to_symbol[269025062] = 'KEY_BACK' > > self.keycode_to_symbol[269025063] = 'KEY_FORWARD' > > self.keycode_to_symbol[16777215] = 'KEY_CAPS_LOCK' > > self.keycode_to_symbol[269025067] = 'KEY_WAKEUP' > > Hmmm... I did hope that getattr() would be something present > on the system (a C library function or part of ncurses), but > it's a Python function. :-( yeah, and besides, I want this to work for every computer that uses the intel architecture. SO, can any assembler language hacker tell me how to write the code when I press Alt, Ctrl, Shift [Left and Right], and "Caps Lock" keys?? my c = getch() isnt doing anything with the modifier keys. *this* may be why xset fails. there may have been no generic way of getting xset working as broadly as it had to, ?, so the keyclick stuff wasnt touched. > > Still: Those KEY_ variables are definitions from ncurses found > in /usr/include/curses.h and they partially rely on terminfo > (again, "higher level" terminal emulation stuff). There are > many interesting entries, but Shift as a single key does not > seem to be present (because, as I already mentioned, it is a > modifier key that adds nothing to the input buffer). > > Compare: > > #define KEY_LEFT 0404 /* left-arrow key */ > > And: > > #define KEY_SLEFT 0611 /* shifted left-arrow key */ > > I would assume that the above Python code has something to > do with those naming conventions in ncurses... still I don't > understand how Caps Lock would be captured that way... The > XK_ prefix seems to suggest that those are X defintions for > keys... > > The KEY_ISO_LEVEL3_SHIFT sounds familiar, it's what many > non-US countries call "Alt Gr" (or "Alt Graph") to add an > extra level of key symbols for national characters or > the "differently placed" curly braces and brackets, the | > character or \ and the like. FWIW: I've got the arrow keys working. page up/down, home, end too. > > > > > Hmmm! interesting. do you see any way that I could set up an > > xmod when the computer first boots and the assign the modifiers > > to some never-used keys, then make those keys click, or am I > > off in the weeds?? > > That's easy. > > Create a file ~/.xmodmaprc with the following content: > > ! left control > keycode 37 = F25 > ! left meta > keycode 115 = F26 > ! left alt > keycode 67 = F27 > ! left shift > keycode 50 = F28 > ! caps lock > keycode 66 = F29 > ! right shift > keycode 64 = F30 > ! right alt, alt gr > keycode 113 = F31 > ! right meta > keycode 116 = F32 > ! compose > keycode 117 = F33 > > Then add the command > > xmodmap ~/.xmodmaprc > > to ~/.xinitrc or ~/.xsession (depending on how you start X). I think that was a dead-end.... > > I'm using a similar approach myself to make the additional > keys of the Sun USB Type 7 keyboard usable in X: They are > assigned key symbols (usually F-something) so WindowMaker > can pick them up for window management functions or starting > programs (e. g. the volume keys lower or raise the audio > volume or mute the headphones, the "moon key" quits the > session / logout, Ctrl+Alt+Moon shuts down the system). > All I did was first use "sev" to find out the key codes of > the non-functional keys, then assign them an arbitrarily > chosen name via xmodmap, and finally use the "Capture" > function of the WindowMaker preferences utility to make > them actually do something. > > But note! If you redefine modifier keys to be "further > function keys", expect to lose their modifier functionality! > This could render them useless. So make sure you can revert > your setting (e. g. have an external shell access that > won't be affected) to comment out the xmodmaprc command in > the X startup file if needed! > right. I got too deep in the weeds trying code that was too far out. I'll spare everybody. the last assembler I wrote was for the PDP-8! IF I can use the 64bit intel assembler to grab the keys I want and return to the rest of my C/ncurses prog, that might work. anybody know if this makes any sense? > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Twenty-seven years of service to the Unix community. http://www.thought.org/HOPE From owner-freebsd-questions@FreeBSD.ORG Thu Oct 24 00:11:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0C2DA85C for ; Thu, 24 Oct 2013 00:11:49 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9CAF52AA6 for ; Thu, 24 Oct 2013 00:11:47 +0000 (UTC) Received: from r56.edvax.de (port-92-195-117-74.dynamic.qsc.de [92.195.117.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 1168A3CC6D; Thu, 24 Oct 2013 02:11:40 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r9O0BW2o003751; Thu, 24 Oct 2013 02:11:33 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 24 Oct 2013 02:11:32 +0200 From: Polytropon To: Gary Kline Subject: Re: howto recognize the Shift and Alt keys when /pressed\ Message-Id: <20131024021132.44324417.freebsd@edvax.de> In-Reply-To: <20131023163805.GA7143@ethic.thought.org> References: <20131021161200.GA18556@ethic.thought.org> <20131022012804.98a017fa.freebsd@edvax.de> <20131021164926.GA19974@ethic.thought.org> <20131022125901.6f3366fd.freebsd@edvax.de> <20131022121555.GA24386@ethic.thought.org> <20131022221027.30108304.freebsd@edvax.de> <20131023163805.GA7143@ethic.thought.org> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 00:11:49 -0000 On Wed, 23 Oct 2013 16:38:05 +0000, Gary Kline wrote: > Organization: Thought Unlimited. Public service Unix since 1986. > Of_Interest: With 27 years of service to the Unix community. > > > An _excellent_ keyboard which shouldn't be that expensive > > is the IBM "Model M" (and similarly constructed ones, e. g. > > by BOSCOM). They have a "mechanical click" due to the spring > > mechanism in each key. > > > OT, but both times my daughter spilled the water she was drinking > into the model-m. < shrug > If it's just water, it should be no problem. There are three screws (6-edge 6.5mm, if I remember correctly) that you need to remove to open the keyboard. It then easily dissolves. The keycaps and their sockets can also be removed. Furthermore, the "spring mat" and the contact mats can be removed. All of them are easy to try and re-assemble. > I bot my 3rd [or 4th] small/compact kybd about two months ago. > I still have to press some keys withh my nose, but not that > often. the docs say that F3 decreases the sound, F4 increases. > F2 reads "Silence!" beneath in blue. the vendor never replied > to my email; besides, I want my klik prog to work foe every > version of *nix. Those keys can act in two ways: Way 1 works on the fewest occassions. It's independent from software and regulates the volume just as comparable keys adjust brightness or contrast. There is no need for a driver or vendor-supplied program to make them work. Way 2 is to rely on a proprietary driver that's only available for some outdated "Windows" which picks up the keycodes sent by the "overlay function" of the PF keys, and _that_ program causes the desired action. Sadly you find this on most "modern" laptops. I have a Lenovo laptop with blue colored "overlay" functions for many keys. For example, the cursor keys have an "overlay" as "media keys" (play, pause, rewind and so on). When they are pressed with the Fn key, they emit a totally different keycode. This code itself doesn't cause anything to happen. But as it is a normal key code, it can be captured and used for any desired action. On the other hand, it has also a key (I think Fn+Home) for the "IntelliLight" (if I remember the name correctly). That key combination switches on a light at the top of the screen that illuminates the keyboard. It does not send any keycode and _always_ works - without any inter- action with software, it even works in the BIOS setup. If your program needs to work on all Unix variants _and_ on Linux, you should make sure you rely on a sound output system that is present on all of them (requires 3rd party library). The same will probably be true for accessing the keyboard in a "low level" manner, but I'm almost sure this works very different in Linux and the BSDs... > yeah, and besides, I want this to work for every computer > that uses the intel architecture. SO, can any assembler > language hacker tell me how to write the code when I press > Alt, Ctrl, Shift [Left and Right], and "Caps Lock" keys?? You don't need to step down _that_ far. C is sufficient. But you need to get your hands dirty in hardware-related system source code, for example the keyboard input driver (one level above atkbd and ukbd, one level below terminal I/O). > my c = getch() isnt doing anything with the modifier keys. Of course not. It simply reads from the keyboard input buffer (which is a _character buffer_), and the modifier keys don't add anything to that buffer. > *this* may be why xset fails. there may have been no generic > way of getting xset working as broadly as it had to, ?, so > the keyclick stuff wasnt touched. What are you using xset for? I know there's "xset c 100", but I never saw that working... > FWIW: I've got the arrow keys working. page up/down, home, > end too. Those have equivalents in ncurses and also send data to the keyboard buffer (usually a two byte sequence or escape codes). > > > Hmmm! interesting. do you see any way that I could set up an > > > xmod when the computer first boots and the assign the modifiers > > > to some never-used keys, then make those keys click, or am I > > > off in the weeds?? > > > > That's easy. > > > > Create a file ~/.xmodmaprc with the following content: > > > > ! left control > > keycode 37 = F25 > > ! left meta > > keycode 115 = F26 > > ! left alt > > keycode 67 = F27 > > ! left shift > > keycode 50 = F28 > > ! caps lock > > keycode 66 = F29 > > ! right shift > > keycode 64 = F30 > > ! right alt, alt gr > > keycode 113 = F31 > > ! right meta > > keycode 116 = F32 > > ! compose > > keycode 117 = F33 > > > > Then add the command > > > > xmodmap ~/.xmodmaprc > > > > to ~/.xinitrc or ~/.xsession (depending on how you start X). > > > I think that was a dead-end.... As I said, it would "practically disable" those keys, and it doesn't look like that would be intended. :-) > right. I got too deep in the weeds trying code that was > too far out. I'll spare everybody. the last assembler I > wrote was for the PDP-8! IF I can use the 64bit intel > assembler to grab the keys I want and return to the rest > of my C/ncurses prog, that might work. > > anybody know if this makes any sense? No need to re-invent the wheel here. Just "attach to" the responsible components of the OS mentioned above. In C. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Oct 24 06:43:06 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A0170DDA for ; Thu, 24 Oct 2013 06:43:06 +0000 (UTC) (envelope-from basarevych@gmail.com) Received: from mail-pa0-x22e.google.com (mail-pa0-x22e.google.com [IPv6:2607:f8b0:400e:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7D72D2DAC for ; Thu, 24 Oct 2013 06:43:06 +0000 (UTC) Received: by mail-pa0-f46.google.com with SMTP id rd3so1683564pab.5 for ; Wed, 23 Oct 2013 23:43:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=101//vVsejtIhe64PtKNPigXhZUMM3di12mNbEI1V5U=; b=wX3+w0bydQjmBuJWU+Z3ENY0NnGoIRowi7sHPKc55XEWIWHvfYH6a/zGExIVBR9KFs lAKI740gyackYGmU1+byGK5R52P9t8lDpi3RDccgJ+2vmUtlbFAIQSBgd7bv2k/Lvobi UHqZoLw89B3ujR22QPP1GD5QRHNSriTZNClGovcuIDKvk6Tvks2CmFzGVmI4qXus9PdY c+Tcwa8i0XfhMvakyupvr9/QaZvA0qVCs3fo2KTnKqr3FhtdkkpGt+z93XGmKNGW9vnV XxWW43i9UgfsWsL+EhziiAgm92n8pFaLmpQQ+JCa1flaPoytMQq5UAEBTPLmEEPsW0Lc 5RTg== MIME-Version: 1.0 X-Received: by 10.66.192.8 with SMTP id hc8mr1722068pac.66.1382596985477; Wed, 23 Oct 2013 23:43:05 -0700 (PDT) Received: by 10.66.249.194 with HTTP; Wed, 23 Oct 2013 23:43:05 -0700 (PDT) Date: Thu, 24 Oct 2013 09:43:05 +0300 Message-ID: Subject: Will there be update to Linuxulator? From: Ross To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 06:43:06 -0000 Hi AFAIK the libs are from fedora 10, which is quite old. maybe it's time to switch to some modern ubuntu libs, so we would have Steam and Skype? From owner-freebsd-questions@FreeBSD.ORG Thu Oct 24 13:24:12 2013 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 10A315C7 for ; Thu, 24 Oct 2013 13:24:12 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id DDFE22E18 for ; Thu, 24 Oct 2013 13:24:11 +0000 (UTC) Received: by be-well.ilk.org (Postfix, from userid 1147) id 230DF33C3B; Thu, 24 Oct 2013 09:24:11 -0400 (EDT) From: Lowell Gilbert To: John.Kitz@xs4all.nl Subject: Re: FreeBSD distribution for ARM processors. References: <001d01ced02e$aaf29260$00d7b720$@Kitz@xs4all.nl> Date: Thu, 24 Oct 2013 09:24:11 -0400 In-Reply-To: <001d01ced02e$aaf29260$00d7b720$@Kitz@xs4all.nl> (John W. Kitz's message of "Wed, 23 Oct 2013 22:30:08 +0200") Message-ID: <44bo2ekdj8.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-questions@FreeBSD.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: freebsd-questions@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 13:24:12 -0000 "John W. Kitz" writes: > Can someone please explain the rationale behind not providing a distribution > for arm based systems, as it seems somewhat illogical to me that > distributions are available for ia64, powerpc, sparc64 (see > http://www.freebsd.org/where.html) which are considered Tier 2 architectures > while the official reason for arm being a Tier 2 architecture is the fact > that no distribution is provided for it (see > http://www.freebsd.org/platforms/arm.html). The ARM port is mostly used for embedded work, for which a formal distribution would not be helpful. There really aren't many standards for peripherals beyond i2c, so it wouldn't be possible to support different ARM-based devices with a single distribution. Be well. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 24 14:15:00 2013 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 40A05DA for ; Thu, 24 Oct 2013 14:15:00 +0000 (UTC) (envelope-from John.Kitz@xs4all.nl) Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by mx1.freebsd.org (Postfix) with ESMTP id D6C922100 for ; Thu, 24 Oct 2013 14:14:59 +0000 (UTC) Received: from picard (costa.xs4all.nl [82.95.89.208]) (authenticated bits=0) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id r9OEEunW083327 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 24 Oct 2013 16:14:56 +0200 (CEST) (envelope-from John.Kitz@xs4all.nl) From: "John W. Kitz" To: References: <001d01ced02e$aaf29260$00d7b720$@Kitz@xs4all.nl> <44bo2ekdj8.fsf@be-well.ilk.org> In-Reply-To: <44bo2ekdj8.fsf@be-well.ilk.org> Subject: RE: FreeBSD distribution for ARM processors. Date: Thu, 24 Oct 2013 16:14:57 +0200 Message-ID: <000901ced0c3$6bf791b0$43e6b510$@Kitz@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac7QvFUSXKImh7YyTpa6jEOfRKGMaQABak/g Content-Language: nl X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@FreeBSD.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: John.Kitz@xs4all.nl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 14:15:00 -0000 Gilbert, Thanks. Do you expect this current position to change in the near future? The reason I'm asking is the fact that I get the impression that there may be developments in the area of hardware development such as the cubietruck (see http://cubieboard.org/2013/09/14/cubietruck-is-put-into-trial-production/) which move ARM based systems closer to general purpose platforms based on architectures such as i386, AMD, SPARC, etc. and which might warrant such a change provided that it is feasible from a perspective of distribution packaging of course. Regards, Jk. -----Original Message----- From: Lowell Gilbert [mailto:freebsd-questions-local@be-well.ilk.org] Sent: Thursday, October 24, 2013 3:24 PM To: John.Kitz@xs4all.nl Cc: freebsd-questions@FreeBSD.org Subject: Re: FreeBSD distribution for ARM processors. "John W. Kitz" writes: > Can someone please explain the rationale behind not providing a > distribution for arm based systems, as it seems somewhat illogical to > me that distributions are available for ia64, powerpc, sparc64 (see > http://www.freebsd.org/where.html) which are considered Tier 2 > architectures while the official reason for arm being a Tier 2 > architecture is the fact that no distribution is provided for it (see > http://www.freebsd.org/platforms/arm.html). The ARM port is mostly used for embedded work, for which a formal distribution would not be helpful. There really aren't many standards for peripherals beyond i2c, so it wouldn't be possible to support different ARM-based devices with a single distribution. Be well. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 24 15:19:32 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 042ED8BF for ; Thu, 24 Oct 2013 15:19:32 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CCB3324F1 for ; Thu, 24 Oct 2013 15:19:31 +0000 (UTC) Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 0774320AB1 for ; Thu, 24 Oct 2013 11:19:30 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute3.internal (MEProxy); Thu, 24 Oct 2013 11:19:29 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=smtpout; bh=xpQ++xESZimqhw1ZTMINfywVRVo=; b=EjN hgnjWmYjcKzyeDmKJpB2bg+MAgklCtqxMXexNU0aWy5iOmPSascBf6poEnD1fCJf 9hg1P9Gkm6TGKTaUljITBkl3v0DgsatSE01WAZBbCabVkZ632JFl2GO7enfZEmun Ez68CGO2FqVvNM4GzfzcFFhIZa7djE3vLp9Vu1aU= Received: by web3.nyi.mail.srv.osa (Postfix, from userid 99) id D9B531100EB; Thu, 24 Oct 2013 11:19:29 -0400 (EDT) Message-Id: <1382627969.29239.38030105.27E38733@webmail.messagingengine.com> X-Sasl-Enc: T0mkabWonvGz1CmUZWdTYYE5qExu0V1cRUCpYrADLMIf 1382627969 From: Mark Felder To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-25c9bdb0 In-Reply-To: <44bo2ekdj8.fsf@be-well.ilk.org> References: <001d01ced02e$aaf29260$00d7b720$@Kitz@xs4all.nl> <44bo2ekdj8.fsf@be-well.ilk.org> Subject: Re: FreeBSD distribution for ARM processors. Date: Thu, 24 Oct 2013 10:19:29 -0500 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 15:19:32 -0000 On Thu, Oct 24, 2013, at 8:24, Lowell Gilbert wrote: > "John W. Kitz" writes: > > > Can someone please explain the rationale behind not providing a distribution > > for arm based systems, as it seems somewhat illogical to me that > > distributions are available for ia64, powerpc, sparc64 (see > > http://www.freebsd.org/where.html) which are considered Tier 2 architectures > > while the official reason for arm being a Tier 2 architecture is the fact > > that no distribution is provided for it (see > > http://www.freebsd.org/platforms/arm.html). > > The ARM port is mostly used for embedded work, for which a formal > distribution would not be helpful. There really aren't many standards > for peripherals beyond i2c, so it wouldn't be possible to support > different ARM-based devices with a single distribution. > ARM-based may soon be coming to a datacenter near you. We might have to find a way to support them like any other arch. Of course embedded will likely continue to be unpredictable. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 24 15:37:22 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6B3FA11D for ; Thu, 24 Oct 2013 15:37:22 +0000 (UTC) (envelope-from patrick_dkt@yahoo.com.hk) Received: from nm31-vm1.bullet.mail.sg3.yahoo.com (nm31-vm1.bullet.mail.sg3.yahoo.com [106.10.151.192]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D11DB2645 for ; Thu, 24 Oct 2013 15:37:21 +0000 (UTC) Received: from [106.10.166.63] by nm31.bullet.mail.sg3.yahoo.com with NNFMP; 24 Oct 2013 15:34:56 -0000 Received: from [106.10.151.203] by tm20.bullet.mail.sg3.yahoo.com with NNFMP; 24 Oct 2013 15:34:56 -0000 Received: from [127.0.0.1] by omp1015.mail.sg3.yahoo.com with NNFMP; 24 Oct 2013 15:34:56 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 160645.36184.bm@omp1015.mail.sg3.yahoo.com Received: (qmail 28323 invoked by uid 60001); 24 Oct 2013 15:34:56 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.hk; s=s1024; t=1382628895; bh=iDTheTALyYe0hmms9WnjnChLrgRDt3lzxK2JxMB5J0g=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=H/TLAyZa0fim1++xJMKLMx+FLQK3hEu0aDxhXA7xtLrRNA/wDX1o4KtMN+PwPUud6KzzAiRJGJkhD/jKeglRqYYzykGMRJ4V5xvXdntlZkyUwbRuy6ZIRw7papnAVlNypXfnA5ptdgCLnS/LJqLWhvZNZSVzKUzyGA4+tpNOTsA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.hk; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=S9FmBA5MHZn0LC9/CXNarCrNIKWZ2vOZFv3rG6UzRzHEtxh/ZTczSCyxhOu2tZZaXc/7/V28T5PMKn9BiaxzyUeZLHK8PKuON+xHLRHIapJOfaPSNvG6zYMd13++jZfCBqMw83f3+8TlT7UkPSs41lZhlK+YSM4aF1tjOd9Kriw=; X-YMail-OSG: JdfQwhIVM1noRl5zvTZ0T7pNMM4WRx_O6n0nRePwXNKlvB9 8IR2SmBTux6LuXcRqbapNLo2cPXJkkb0ot19baF6vtLyGyCM6hKQpx07WD6E _6nm3o8P.PTFlnFwyr4XgwAcembdw4eAajN50xYWOb3VJzHn7HvU2p7nPRX6 I_sKwOzhECvNN1fpjXeTpFES9CBjRFswYLWHBQcGCXQwT.kbmvCbG0rA.sl_ keHolKIFS5HftxL6nchKGBLFaY48Onjfd7uWHO9YrYkgWLsH9nRVS0tagFV9 4hPJ.qbAIXc27B12EEs8j_MfLPWQSqZcLMiV00447ggdi0CXeTS6UhqR4sGl R2z59K7LIOkKgjwp_zLn7Vnj4MZBzqB1djqwwWvUJFGbPjBc1IggTsIBn1nd w4uZ3sUUHZU3Y.xo658JsFnAlL5mvkTL65dFJdFdzIRLIjHc6xCF.r54Si_O 2N5N.K6pTBcGOY1SO19Wy5OAHurR0DG3y32RLxiJ8YVivhvrL7pHalQ1ZdXu 570lhABhKuJvQ8vZqRqN16oUY0ZZ1KsNvP.m40JPulPNAB5h7MJ1IP6Y- Received: from [61.15.240.133] by web193502.mail.sg3.yahoo.com via HTTP; Thu, 24 Oct 2013 23:34:55 SGT X-Rocket-MIMEInfo: 002.001, SGksCgpJIGhhdmUgYSBGcmVlQlNEIDkuMiA2NCBiaXQgaW5zdGFsbGVkIGluIGEgVk0uClRoZSBob3N0IGlzIFdpbmRvd3MgNyB3aXRoIHZtd2FyZSB3b3Jrc3RhdGlvbiwgdGhlIGhvc3QgaXMgdXNpbmcgYW4gYWR2YW5jZWQgZm9ybWF0ICg0aykgaGFyZGRpc2suCgoKSSBoYXZlIG5vdGljZWQgdGhlcmUgaXMgc3RyYW5nZSB3cml0ZSBzcGVlZCBiZXR3ZWVuIC9maWxlIGFuZCAvdG1wL2ZpbGUuCi9kZXYvZGEwcDMgaXMgVUZTMiBjcmVhdGVkIGJ5IGRlZmF1bHQgaW5zdGFsbGVyLgoKSSBhbSB0aGlua2luZyABMAEBAQE- X-Mailer: YahooMailWebService/0.8.160.587 Message-ID: <1382628895.17695.YahooMailNeo@web193502.mail.sg3.yahoo.com> Date: Thu, 24 Oct 2013 23:34:55 +0800 (SGT) From: Patrick Dung Subject: Strange write speed between /file and /tmp/file (may be related to 4k advanced format) To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Patrick Dung List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 15:37:22 -0000 Hi,=0A=0AI have a FreeBSD 9.2 64 bit installed in a VM.=0AThe host is Windo= ws 7 with vmware workstation, the host is using an advanced format (4k) har= ddisk.=0A=0A=0AI have noticed there is strange write speed between /file an= d /tmp/file.=0A/dev/da0p3 is UFS2 created by default installer.=0A=0AI am t= hinking if the problem is caused by disk alignment.=0Ada0p3 starting sector= is 786594, which seems not aligned by 4k (786594 *512/4096=3D98324.25)=0AT= he dd result is repeatable.=0A=0A=0A[root@testing2 /]# df -P=0AFilesystem 5= 12-blocks=A0=A0=A0=A0=A0 Used=A0=A0=A0=A0 Avail Capacity=A0 Mounted on=0A/d= ev/da0p3=A0=A0=A0 6518712=A0=A0 4621000=A0=A0 1376216=A0=A0=A0 77%=A0=A0=A0= /=0Adevfs=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 2=A0=A0=A0=A0=A0=A0=A0= =A0 2=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0 100%=A0=A0=A0 /dev=0Afdescfs=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 2=A0=A0=A0=A0=A0=A0=A0=A0 2=A0=A0=A0=A0=A0=A0= =A0=A0 0=A0=A0 100%=A0=A0=A0 /dev/fd=0Aprocfs=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 8=A0=A0=A0=A0=A0=A0=A0=A0 8=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0 100%= =A0=A0=A0 /proc=0Ahost:hgfs=A0=A0 591368064 405571456 185796608=A0=A0=A0 69= %=A0=A0=A0 /mnt-hgfs=0A[root@testing2 /]# gpart show da0=0A=3D>=A0=A0=A0=A0= 34=A0 7548861=A0 da0=A0 GPT=A0 (3.6G)=0A=A0=A0=A0=A0=A0=A0 34=A0=A0=A0=A0= =A0 128=A0=A0=A0 1=A0 freebsd-boot=A0 (64k)=0A=A0=A0=A0=A0=A0 162=A0=A0 786= 432=A0=A0=A0 2=A0 freebsd-swap=A0 (384M)=0A=A0=A0 786594=A0 6760448=A0=A0= =A0 3=A0 freebsd-ufs=A0 (3.2G)=0A=A0 7547042=A0=A0=A0=A0 1853=A0=A0=A0=A0= =A0=A0 - free -=A0 (926k)=0A=0A[root@testing2 /]# dd if=3D/dev/zero of=3D/t= mp/file bs=3D50M count=3D4=0A4+0 records in=0A4+0 records out=0A209715200 b= ytes transferred in 10.303288 secs (20354202 bytes/sec)=0A[root@testing2 /]= # rm /tmp/file=0A[root@testing2 /]# dd if=3D/dev/zero of=3D/tmp/file bs=3D5= 0M count=3D4=0A4+0 records in=0A4+0 records out=0A209715200 bytes transferr= ed in 9.789672 secs (21422087 bytes/sec)=0A[root@testing2 /]# rm /tmp/file= =0A[root@testing2 /]# ~^C=0A[root@testing2 /]# dd if=3D/dev/zero of=3D/file= bs=3D50M count=3D4=0A4+0 records in=0A4+0 records out=0A209715200 bytes tr= ansferred in 6.826694 secs (30719877 bytes/sec)=0A[root@testing2 /]# rm /fi= le=0A[root@testing2 /]# dd if=3D/dev/zero of=3D/file bs=3D50M count=3D4=0A4= +0 records in=0A4+0 records out=0A209715200 bytes transferred in 6.955417 s= ecs (30151348 bytes/sec)=0A[root@testing2 /]# rm /file=0A=0AThanks and rega= rds,=0APatrick Dung=0A From owner-freebsd-questions@FreeBSD.ORG Thu Oct 24 16:10:28 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 82CBABF for ; Thu, 24 Oct 2013 16:10:28 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward3l.mail.yandex.net (forward3l.mail.yandex.net [IPv6:2a02:6b8:0:1819::3]) by mx1.freebsd.org (Postfix) with ESMTP id 458262880 for ; Thu, 24 Oct 2013 16:10:28 +0000 (UTC) Received: from smtp11.mail.yandex.net (smtp11.mail.yandex.net [95.108.130.67]) by forward3l.mail.yandex.net (Yandex) with ESMTP id D8D921500E68; Thu, 24 Oct 2013 20:10:26 +0400 (MSK) Received: from smtp11.mail.yandex.net (localhost [127.0.0.1]) by smtp11.mail.yandex.net (Yandex) with ESMTP id 879537E0795; Thu, 24 Oct 2013 20:10:26 +0400 (MSK) Received: from 87.249.28.58.tel.ru (87.249.28.58.tel.ru [87.249.28.58]) by smtp11.mail.yandex.net (nwsmtp/Yandex) with ESMTP id IHXTEWE9dH-AQ4KI5v3; Thu, 24 Oct 2013 20:10:26 +0400 Message-ID: <52694671.6010305@passap.ru> Date: Thu, 24 Oct 2013 20:10:25 +0400 From: Boris Samorodov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: dweimer@dweimer.net, FreeBSD Questions Subject: Re: Anyone Using Eric4 IDE? References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 16:10:28 -0000 24.10.2013 01:08, dweimer пишет: > Just curious if anyone has been is successful using the Eric4 IDE on > their FreeBSD systems, I took a look at it a couple of months back, went > through some online tutorials using it, and was going to try it out for > some Python QT GUI code. When I first looked at it everything ran fine, > but now that I finally got around to trying to use it for something > beyond trying it out, I keep getting terminated with Signal 11 > Segmentation Fault from Python when ever I try just about anything. > > Core was generated by `python2.7'. > Program terminated with signal 11, Segmentation fault. > #0 0x0000000801232651 in ?? () > > Of course there have been several updates to the system since it was at > a working state, I have the same problem on two systems, my laptop and a > virtual machine running on my workstation, so its at least not specific > to the single machine, but both have fairly similar configurations and > ports installed. It just works for me. -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Thu Oct 24 17:03:51 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 95A66258 for ; Thu, 24 Oct 2013 17:03:51 +0000 (UTC) (envelope-from elias_chr@otenet.gr) Received: from echidna.otenet.gr (echidna.otenet.gr [83.235.69.14]) by mx1.freebsd.org (Postfix) with ESMTP id 22ACF2BC5 for ; Thu, 24 Oct 2013 17:03:50 +0000 (UTC) Received: from pluto.universe (athedsl-4487275.home.otenet.gr [94.71.68.115]) by echidna.otenet.gr (ESMTP) with ESMTP for ; Thu, 24 Oct 2013 19:57:25 +0300 (EEST) From: Elias Chrysocheris To: freebsd-questions@freebsd.org Subject: Re: FreeBSD distribution for ARM processors. Date: Thu, 24 Oct 2013 19:57:22 +0300 User-Agent: KMail/1.13.7 (FreeBSD/9.1-RELEASE-p7; KDE/4.10.5; amd64; ; ) References: <001d01ced02e$aaf29260$00d7b720$@Kitz@xs4all.nl> <44bo2ekdj8.fsf@be-well.ilk.org> <000901ced0c3$6bf791b0$43e6b510$@Kitz@xs4all.nl> In-Reply-To: <000901ced0c3$6bf791b0$43e6b510$@Kitz@xs4all.nl> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201310241957.23078.elias_chr@otenet.gr> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 17:03:51 -0000 On Thursday 24 of October 2013 17:14:57 John W. Kitz wrote: > Gilbert, > > Thanks. Do you expect this current position to change in the near future? > > The reason I'm asking is the fact that I get the impression that there may > be developments in the area of hardware development such as the cubietruck > (see > http://cubieboard.org/2013/09/14/cubietruck-is-put-into-trial-production/) > which move ARM based systems closer to general purpose platforms based on > architectures such as i386, AMD, SPARC, etc. and which might warrant such a > change provided that it is feasible from a perspective of distribution > packaging of course. > > Regards, Jk. > -----Original Message----- > From: Lowell Gilbert [mailto:freebsd-questions-local@be-well.ilk.org] > Sent: Thursday, October 24, 2013 3:24 PM > To: John.Kitz@xs4all.nl > Cc: freebsd-questions@FreeBSD.org > Subject: Re: FreeBSD distribution for ARM processors. > > "John W. Kitz" writes: > > > Can someone please explain the rationale behind not providing a > > distribution for arm based systems, as it seems somewhat illogical to > > me that distributions are available for ia64, powerpc, sparc64 (see > > http://www.freebsd.org/where.html) which are considered Tier 2 > > architectures while the official reason for arm being a Tier 2 > > architecture is the fact that no distribution is provided for it (see > > http://www.freebsd.org/platforms/arm.html). > > The ARM port is mostly used for embedded work, for which a formal > distribution would not be helpful. There really aren't many standards for > peripherals beyond i2c, so it wouldn't be possible to support different > ARM-based devices with a single distribution. > > Be well. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Well, there are a lot of ARM processors, hmmm... microcontrollers or SoCs, out there. And the differences between them are a lot more... The only common thing they have is the ARM Core. The addressing space, the way they talk to the embedded peripherals and a lot more are different on each of them. There are also no specifications for the peripherals those boards should contain and how they communicate to the main chip. There are even a lot more GPUs embedded in those chips that it virtually makes it impossible for a single FreeBSD ARM release to be deployed to all of them. There are, though some very helpful tries to run FreeBSD in many of these ARM boards. You can follow the FreeBSD-arm mailing list and the FreeBSD-embedded list to keep track of what is the improovements on that area. Ganbold Tsagaankhuu makes a great effort for some of them. And I really wish I had the knowledge to contribute in this effort, as I own an ODroid-U2 that I would really wish to see it running FreeBSD. Cubieboard, Raspberry Pi, BeagleBone and BeagleBone Black (and many more) on the other hand, I thing the effort of those teams is in a very good road to success! So, I really urge you to follow these mailing list. Elias From owner-freebsd-questions@FreeBSD.ORG Thu Oct 24 17:23:48 2013 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4BEC4AD4 for ; Thu, 24 Oct 2013 17:23:48 +0000 (UTC) (envelope-from sonnguyenuit@hotmail.com) Received: from bay0-omc2-s23.bay0.hotmail.com (bay0-omc2-s23.bay0.hotmail.com [65.54.190.98]) by mx1.freebsd.org (Postfix) with ESMTP id 37DCC2D49 for ; Thu, 24 Oct 2013 17:23:47 +0000 (UTC) Received: from BAY407-EAS324 ([65.54.190.124]) by bay0-omc2-s23.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 24 Oct 2013 10:22:42 -0700 X-TMN: [vzJt7fxS/8B59s6gOaYIqU9Tx8wxHx7g] X-Originating-Email: [sonnguyenuit@hotmail.com] Message-ID: MIME-Version: 1.0 From: Son Nguyen To: "=?utf-8?Q?freebsd-questions@FreeBSD.org?=" Subject: =?utf-8?Q?Problem_when_creating_FreeBSDS_Jail?= Importance: Normal Date: Thu, 24 Oct 2013 17:17:37 +0000 X-OriginalArrivalTime: 24 Oct 2013 17:22:42.0138 (UTC) FILETIME=[A562ABA0:01CED0DD] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 17:23:48 -0000 SGkgZ3V5cywNCg0KDQpXaGVuIGNyZWF0aW5nIEZyZWVCU0QgamFpbCwgSSBydW4gOiBtYWtlIGJ1 aWxkd29ybGQsIGJ1dCBGcmVlQlNEIGRpc3BsYXkgYW4gZXJyb3I6IOKAnG1ha2U6IGRvbuKAmXQg a25vdyBob3cgdG8gbWFrZSBidWlsZHdvcmxk4oCdLiBJIGZpbmQgb3V0IGl0IHRocm91Z2ggaW50 ZXJuZXQgLCBidXQgSSBjYW4gbm90IHJlc29sdmUgaXQuIEkgYW0gbmV3YmllIGluIEZyZWVCU0Qg c28gSSB3b3VsZCBsaWtlIHRvIHJlY2VpdmUgeW91ciBzdXBwb3J0IHRvIHJlc29sdmUgdGhhdCBw cm9ibGVtLg0KDQoNClRoYW5rcywNCg0KDQoNCg0KDQoNClNlbnQgZnJvbSBXaW5kb3dzIE1haWw= From owner-freebsd-questions@FreeBSD.ORG Thu Oct 24 17:34:53 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 11F12FC3 for ; Thu, 24 Oct 2013 17:34:53 +0000 (UTC) (envelope-from dhenin@gmail.com) Received: from mail-bk0-x22a.google.com (mail-bk0-x22a.google.com [IPv6:2a00:1450:4008:c01::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9DF602DF8 for ; Thu, 24 Oct 2013 17:34:52 +0000 (UTC) Received: by mail-bk0-f42.google.com with SMTP id my10so996336bkb.29 for ; Thu, 24 Oct 2013 10:34:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=rhMjpIKbpsKf5YyJTYSQ69qrXta3yRLDW9bg2nfVoX4=; b=q0STueaidxT5fecMcX3ih4rF6i/LG+24DB+BWOlm2yafHYs8oV30B84vNPd9EkjI1U Fkjw6YE1n1InQApv3sTjKJo15tGrRqbdRB19wRrHY7KP18tZEiTyLdDBkDrl7t17PyVt Y0bgAREn7H7nYuy8rZ1igi9PPmXE+kWS6XqKqTkkcqznIlILezbcEeJUASqjprNXL8IF 2eE4Y0/Vn4QRVPQlmB+ThBl6iLrCTvD/Ey3Bdcs1vofkX8bR/l5e6WgfkQYZvklmRkcb YOyh5lOV4oi799KetqAjhvnGwqJtPLjGVn74dSqitmz21zTBzN0YnIejENeevxwgxsoI lBSA== X-Received: by 10.205.3.7 with SMTP id nw7mr2596758bkb.26.1382636090438; Thu, 24 Oct 2013 10:34:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.205.107.65 with HTTP; Thu, 24 Oct 2013 10:34:10 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?B?76O/IERow6luaW4gSmVhbi1KYWNxdWVz?= Date: Thu, 24 Oct 2013 19:34:10 +0200 Message-ID: Subject: Re: Problem when creating FreeBSDS Jail To: Son Nguyen Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-questions@FreeBSD.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 17:34:53 -0000 2013/10/24 Son Nguyen > Hi guys, > > > When creating FreeBSD jail, I run : make buildworld, but FreeBSD display > an error: =E2=80=9Cmake: don=E2=80=99t know how to make buildworld=E2=80= =9D. I find out it through > internet , but I can not resolve it. I am newbie in FreeBSD so I would li= ke > to receive your support to resolve that problem. > http://wiki.nas4free.org/doku.php?id=3Ddocumentation:howto:jails Hope this help --------------------------------------------------------- (=C2=B0> Dh=C3=A9nin Jean-Jacques / ) 48, rue de la Justice 78300 Poissy ^^ dhenin@gmail.com --------------------------------------------------------- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 24 17:41:48 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8E73E28D for ; Thu, 24 Oct 2013 17:41:48 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 41F4F2E65 for ; Thu, 24 Oct 2013 17:41:48 +0000 (UTC) Received: by be-well.ilk.org (Postfix, from userid 1147) id 5BF2833C26; Thu, 24 Oct 2013 13:41:47 -0400 (EDT) From: Lowell Gilbert To: Elias Chrysocheris , "John W. Kitz" Subject: Re: FreeBSD distribution for ARM processors. References: <001d01ced02e$aaf29260$00d7b720$@Kitz@xs4all.nl> <44bo2ekdj8.fsf@be-well.ilk.org> <000901ced0c3$6bf791b0$43e6b510$@Kitz@xs4all.nl> <201310241957.23078.elias_chr@otenet.gr> Date: Thu, 24 Oct 2013 13:41:47 -0400 In-Reply-To: <201310241957.23078.elias_chr@otenet.gr> (Elias Chrysocheris's message of "Thu, 24 Oct 2013 19:57:22 +0300") Message-ID: <44wql2in1g.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 17:41:48 -0000 For the original poster, I should point to FreeBSD's ARM support list, wiki.freebsd.org/FreeBSD/arm/ Elias Chrysocheris writes: > On Thursday 24 of October 2013 17:14:57 John W. Kitz wrote: >> Gilbert, >> >> Thanks. Do you expect this current position to change in the near future? >> >> The reason I'm asking is the fact that I get the impression that there may >> be developments in the area of hardware development such as the cubietruck >> (see >> http://cubieboard.org/2013/09/14/cubietruck-is-put-into-trial-production/) >> which move ARM based systems closer to general purpose platforms based on >> architectures such as i386, AMD, SPARC, etc. and which might warrant such a >> change provided that it is feasible from a perspective of distribution >> packaging of course. >> >> Regards, Jk. >> -----Original Message----- >> From: Lowell Gilbert [mailto:freebsd-questions-local@be-well.ilk.org] >> Sent: Thursday, October 24, 2013 3:24 PM >> To: John.Kitz@xs4all.nl >> Cc: freebsd-questions@FreeBSD.org >> Subject: Re: FreeBSD distribution for ARM processors. >> >> "John W. Kitz" writes: >> >> > Can someone please explain the rationale behind not providing a >> > distribution for arm based systems, as it seems somewhat illogical to >> > me that distributions are available for ia64, powerpc, sparc64 (see >> > http://www.freebsd.org/where.html) which are considered Tier 2 >> > architectures while the official reason for arm being a Tier 2 >> > architecture is the fact that no distribution is provided for it (see >> > http://www.freebsd.org/platforms/arm.html). >> >> The ARM port is mostly used for embedded work, for which a formal >> distribution would not be helpful. There really aren't many standards for >> peripherals beyond i2c, so it wouldn't be possible to support different >> ARM-based devices with a single distribution. >> >> Be well. >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> > > Well, there are a lot of ARM processors, hmmm... microcontrollers or SoCs, out > there. And the differences between them are a lot more... The only common thing > they have is the ARM Core. The addressing space, the way they talk to the > embedded peripherals and a lot more are different on each of them. There are > also no specifications for the peripherals those boards should contain and how > they communicate to the main chip. There are even a lot more GPUs embedded in > those chips that it virtually makes it impossible for a single FreeBSD ARM > release to be deployed to all of them. One of the reasons for ARM's popularity is the fact that it can be easily licensed. As a result, a lot of ARM processors share chip space with specialized hardware. In other words, the whole point of using ARM is often quite specifically to make nonstandard hardware. > There are, though some very helpful tries to run FreeBSD in many of these ARM > boards. You can follow the FreeBSD-arm mailing list and the FreeBSD-embedded > list to keep track of what is the improovements on that area. Ganbold > Tsagaankhuu makes a great effort for some of them. And I really wish I had the > knowledge to contribute in this effort, as I own an ODroid-U2 that I would > really wish to see it running FreeBSD. Sure. Dealing with the ARM instruction set and memory interface is no big deal, but every new ARM system is essentially a different port, albeit often a minor one. > Cubieboard, Raspberry Pi, BeagleBone and BeagleBone Black (and many more) on > the other hand, I thing the effort of those teams is in a very good road to > success! So, I really urge you to follow these mailing list. I think you missed a word in that first sentence, probably a verb. But I assume you were pointing out that all of those platforms (and a bunch more) do run FreeBSD now. It's just not practical to have a single distribution that would run on more than just one type of platform. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 24 18:08:48 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B8B439C0 for ; Thu, 24 Oct 2013 18:08:48 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 782782FAB for ; Thu, 24 Oct 2013 18:08:47 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.local [192.168.5.2]) by webmail.dweimer.net (8.14.7/8.14.7) with ESMTP id r9OI8iTH003610 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 24 Oct 2013 13:08:46 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 24 Oct 2013 13:08:44 -0500 From: dweimer To: Boris Samorodov Subject: Re: SPAM: Re: Anyone Using Eric4 =?UTF-8?Q?IDE=3F?= Organization: dweimer.net Mail-Reply-To: dweimer@dweimer.net In-Reply-To: <52694671.6010305@passap.ru> References: <52694671.6010305@passap.ru> Message-ID: <26361e851e8d85bcc313d444a71b75bc@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8.1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 18:08:48 -0000 On 10/24/2013 11:10 am, Boris Samorodov wrote: > 24.10.2013 01:08, dweimer пишет: >> Just curious if anyone has been is successful using the Eric4 IDE on >> their FreeBSD systems, I took a look at it a couple of months back, >> went >> through some online tutorials using it, and was going to try it out >> for >> some Python QT GUI code. When I first looked at it everything ran >> fine, >> but now that I finally got around to trying to use it for something >> beyond trying it out, I keep getting terminated with Signal 11 >> Segmentation Fault from Python when ever I try just about anything. >> >> Core was generated by `python2.7'. >> Program terminated with signal 11, Segmentation fault. >> #0 0x0000000801232651 in ?? () >> >> Of course there have been several updates to the system since it was >> at >> a working state, I have the same problem on two systems, my laptop and >> a >> virtual machine running on my workstation, so its at least not >> specific >> to the single machine, but both have fairly similar configurations and >> ports installed. > > It just works for me. Any possibility you could share the options you have set in python? or how they may possibly differ from mine below? # This file is auto-generated by 'make config'. # Options for python27-2.7.5_3 _OPTIONS_READ=python27-2.7.5_3 _FILE_COMPLETE_OPTIONS_LIST=EXAMPLES FPECTL IPV6 NLS PTH PYMALLOC SEM THREADS UCS2 UCS4 OPTIONS_FILE_SET+=EXAMPLES OPTIONS_FILE_UNSET+=FPECTL OPTIONS_FILE_SET+=IPV6 OPTIONS_FILE_SET+=NLS OPTIONS_FILE_UNSET+=PTH OPTIONS_FILE_SET+=PYMALLOC OPTIONS_FILE_UNSET+=SEM OPTIONS_FILE_SET+=THREADS OPTIONS_FILE_UNSET+=UCS2 OPTIONS_FILE_SET+=UCS4 -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Thu Oct 24 18:19:03 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BA3C7D34 for ; Thu, 24 Oct 2013 18:19:03 +0000 (UTC) (envelope-from John.Kitz@xs4all.nl) Received: from smtp-vbr4.xs4all.nl (smtp-vbr4.xs4all.nl [194.109.24.24]) by mx1.freebsd.org (Postfix) with ESMTP id 6939F2095 for ; Thu, 24 Oct 2013 18:19:03 +0000 (UTC) Received: from picard (costa.xs4all.nl [82.95.89.208]) (authenticated bits=0) by smtp-vbr4.xs4all.nl (8.13.8/8.13.8) with ESMTP id r9OIIsVs024014 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 24 Oct 2013 20:18:55 +0200 (CEST) (envelope-from John.Kitz@xs4all.nl) From: "John W. Kitz" To: "'Lowell Gilbert'" , "'Elias Chrysocheris'" References: <001d01ced02e$aaf29260$00d7b720$@Kitz@xs4all.nl> <44bo2ekdj8.fsf@be-well.ilk.org> <000901ced0c3$6bf791b0$43e6b510$@Kitz@xs4all.nl> <201310241957.23078.elias_chr@otenet.gr> <44wql2in1g.fsf@be-well.ilk.org> In-Reply-To: <44wql2in1g.fsf@be-well.ilk.org> Subject: RE: FreeBSD distribution for ARM processors. Date: Thu, 24 Oct 2013 20:18:50 +0200 Message-ID: <000001ced0e5$80957610$81c06230$@Kitz@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac7Q4FGQlfB9+KVMSICqCubP5vlFYwABQUHw Content-Language: nl X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: John.Kitz@xs4all.nl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 18:19:03 -0000 Elias, Much appreciated. Regards, Jk. -----Original Message----- From: Lowell Gilbert [mailto:freebsd-questions-local@be-well.ilk.org] Sent: Thursday, October 24, 2013 7:42 PM To: Elias Chrysocheris; John W. Kitz Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD distribution for ARM processors. For the original poster, I should point to FreeBSD's ARM support list, wiki.freebsd.org/FreeBSD/arm/ Elias Chrysocheris writes: > On Thursday 24 of October 2013 17:14:57 John W. Kitz wrote: >> Gilbert, >> >> Thanks. Do you expect this current position to change in the near future? >> >> The reason I'm asking is the fact that I get the impression that >> there may be developments in the area of hardware development such as >> the cubietruck (see >> http://cubieboard.org/2013/09/14/cubietruck-is-put-into-trial-product >> ion/) which move ARM based systems closer to general purpose >> platforms based on architectures such as i386, AMD, SPARC, etc. and >> which might warrant such a change provided that it is feasible from a >> perspective of distribution packaging of course. >> >> Regards, Jk. >> -----Original Message----- >> From: Lowell Gilbert [mailto:freebsd-questions-local@be-well.ilk.org] >> Sent: Thursday, October 24, 2013 3:24 PM >> To: John.Kitz@xs4all.nl >> Cc: freebsd-questions@FreeBSD.org >> Subject: Re: FreeBSD distribution for ARM processors. >> >> "John W. Kitz" writes: >> >> > Can someone please explain the rationale behind not providing a >> > distribution for arm based systems, as it seems somewhat illogical >> > to me that distributions are available for ia64, powerpc, sparc64 >> > (see >> > http://www.freebsd.org/where.html) which are considered Tier 2 >> > architectures while the official reason for arm being a Tier 2 >> > architecture is the fact that no distribution is provided for it >> > (see http://www.freebsd.org/platforms/arm.html). >> >> The ARM port is mostly used for embedded work, for which a formal >> distribution would not be helpful. There really aren't many standards >> for peripherals beyond i2c, so it wouldn't be possible to support >> different ARM-based devices with a single distribution. >> >> Be well. >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> > > Well, there are a lot of ARM processors, hmmm... microcontrollers or > SoCs, out there. And the differences between them are a lot more... > The only common thing they have is the ARM Core. The addressing space, > the way they talk to the embedded peripherals and a lot more are > different on each of them. There are also no specifications for the > peripherals those boards should contain and how they communicate to > the main chip. There are even a lot more GPUs embedded in those chips > that it virtually makes it impossible for a single FreeBSD ARM release to be deployed to all of them. One of the reasons for ARM's popularity is the fact that it can be easily licensed. As a result, a lot of ARM processors share chip space with specialized hardware. In other words, the whole point of using ARM is often quite specifically to make nonstandard hardware. > There are, though some very helpful tries to run FreeBSD in many of > these ARM boards. You can follow the FreeBSD-arm mailing list and the > FreeBSD-embedded list to keep track of what is the improovements on > that area. Ganbold Tsagaankhuu makes a great effort for some of them. > And I really wish I had the knowledge to contribute in this effort, as > I own an ODroid-U2 that I would really wish to see it running FreeBSD. Sure. Dealing with the ARM instruction set and memory interface is no big deal, but every new ARM system is essentially a different port, albeit often a minor one. > Cubieboard, Raspberry Pi, BeagleBone and BeagleBone Black (and many > more) on the other hand, I thing the effort of those teams is in a > very good road to success! So, I really urge you to follow these mailing list. I think you missed a word in that first sentence, probably a verb. But I assume you were pointing out that all of those platforms (and a bunch more) do run FreeBSD now. It's just not practical to have a single distribution that would run on more than just one type of platform. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 24 18:22:56 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C445EF0C for ; Thu, 24 Oct 2013 18:22:56 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qe0-x236.google.com (mail-qe0-x236.google.com [IPv6:2607:f8b0:400d:c02::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8631D20EC for ; Thu, 24 Oct 2013 18:22:56 +0000 (UTC) Received: by mail-qe0-f54.google.com with SMTP id 1so1705190qec.13 for ; Thu, 24 Oct 2013 11:22:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=U9/fgeHPFhKgibQnH+Yl3Y9qYrQ8WR3JDOMfAH6LByI=; b=F2yCl4zelkN7J2ni68gtr7LqfVXBwbnfhPBvQvi3JFO/ZlP0isPXc4zjq1Drdc3arL B90Hk587q5Qlu7MJLuWErqqU4feXwa0I9QagqqQsDvglrZWeYrU2XmmeqSpQvZYu5JZS A9WUwDeC81MUpZvl4z4jkJbdQZOjDKB4swH2T3cWgXVY1HAdH1JTtGFG85P55kiGg6pN E1RkFIqTe+bp/+F3HmWVsWRkZ25AnAaIoTGinBK7P2ZqmynYhPu2og0CxAw52tVQwMbB W5sa5Z2B9vF3qQm/CaooAHE9wKEhxEf2SQkBROyfu0wX4vAqiUaTjEhwi2lGjKvRwkbi IoFw== MIME-Version: 1.0 X-Received: by 10.224.51.131 with SMTP id d3mr6114650qag.0.1382638975657; Thu, 24 Oct 2013 11:22:55 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.207.66 with HTTP; Thu, 24 Oct 2013 11:22:55 -0700 (PDT) In-Reply-To: <526831dc.e3f9c20a.188e.fffffd02SMTPIN_ADDED_BROKEN@mx.google.com> References: <526831dc.e3f9c20a.188e.fffffd02SMTPIN_ADDED_BROKEN@mx.google.com> Date: Thu, 24 Oct 2013 11:22:55 -0700 X-Google-Sender-Auth: cBZCceKgUry5tCxrs-lQwin_CS4 Message-ID: Subject: Re: FreeBSD distribution for ARM processors. From: Adrian Chadd To: John.Kitz@xs4all.nl Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 18:22:56 -0000 Hi! On 23 October 2013 13:30, John W. Kitz wrote: > Hi, > > > > Can someone please explain the rationale behind not providing a > distribution > for arm based systems, as it seems somewhat illogical to me that > distributions are available for ia64, powerpc, sparc64 (see > http://www.freebsd.org/where.html) which are considered Tier 2 > architectures > while the official reason for arm being a Tier 2 architecture is the fact > that no distribution is provided for it (see > http://www.freebsd.org/platforms/arm.html). > > It's happening. It may not happen for 10.0 but the vague plan is to get generic MIPS/ARM install environments with customisations for how you get the image onto various devices. -adrian From owner-freebsd-questions@FreeBSD.ORG Thu Oct 24 18:26:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9469897 for ; Thu, 24 Oct 2013 18:26:37 +0000 (UTC) (envelope-from leeoliveshackelford@surewest.net) Received: from rc1.surewest.net (rc1.surewest.net [66.60.130.50]) by mx1.freebsd.org (Postfix) with ESMTP id 78C2F211C for ; Thu, 24 Oct 2013 18:26:37 +0000 (UTC) Received: from smtp1.surewest.net ([66.60.130.145]) by rc1.surewest.net ({dfaaa318-551d-4a0a-8038-7c31cf31c4f6}) via TCP (outbound) with ESMTP id 20131024182256382 for ; Thu, 24 Oct 2013 18:22:56 +0000 X-RC-FROM: X-RC-RCPT: Received: from ms5.mc.surewest.net (hansolo.surewest.net [64.30.98.104]) by smtp1.surewest.net (Postfix) with ESMTP id 2CB74893C8 for ; Thu, 24 Oct 2013 11:22:56 -0700 (PDT) Received: (from ms5.mc.surewest.net [192.168.60.101]) by ms5.mc.surewest.net (MOS 4.1.10-GA) with HTTP/1.1 id DTF88722 (AUTH leeoliveshackelford@surewest.net); Thu, 24 Oct 2013 11:22:56 -0700 (PDT) From: Subject: click-click in floppy disk drive To: freebsd-questions@freebsd.org X-Mailer: Mirapoint Webmail Direct 4.1.10-GA MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20131024112256.DTF88722@ms5.mc.surewest.net> Date: Thu, 24 Oct 2013 11:22:56 -0700 (PDT) X-MAG-OUTBOUND: surewest.redcondor.net@66.60.130.145/32 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 18:26:37 -0000 Many thanks to Polytropon, Warren Block, and others for their time and effort to respond to my inquiry concerning the continual clicking at 2 second intervals of the u.s.b. floppy disk drive on my Hewlett-Packard z220 workstation running FreeBSD 9.1. As was suggested to me, I ran the lsof utility. It created a very long text file, which unfortunately, I was unable to interpret. I ran the "mount -v" command. It did not indicate that a floppy drive was mounted. I inserted a diskette into the drive, and mounted it. The mount was successful. The clicking continued, but each click was then followed by rotation of the diskette. I ran ls command on the floppy disk, which resulted in a correct display of the directory. However, when I ran the umount command, the system responded that the device was busy, and therefore could not be unmounted. I ran the command "camcontrol devlist" followed by "camcontrol reset n:0:0". The floppy drive kept on clicking. Polytropon's comment on Oct. 22 at 15:42 P.D.T. that I had in fact successfully installed the operating system is technically true. However, my idea of a fully functioning workstation includes the addition of applications that will allow me to get work done. I would like my system include the installation of X-windows, Gnome, and Open Office. My problems in this area are described in another thread, "Gnome green screen of death" on September 26 19:34 P.D.T. That installation effort was based on the incorrectly informed notion that if I entered the command "pkg_add gnome2" that the system would take care of loading and configuring all other packages on which gnome depends. After that fiasco, I uninstalled gnome, and have ever since been trying to install and then configure each underlying package in my idea of the order of dependency. All of my printers are Hewlett-Packard lasers. First, I installed cups. I was flummoxed because the instructions to configure cups requi r! e the use of a web browser, which I do not yet have. Then I installed hplip, which I could not configure because cups was not configured. Subsequently, I have been trying to install xorg. It does not work because I have two video drivers, but only one monitor. I have found in the archives several questions about this state of affairs, but the responses were too general for me to follow, that is, to implement the instructions given would require skill and experience that I do not yet have to be able to fill in all of the little details that were missing but assumed to be understood. Returning to the floppy disk drive, when I ran "camcontrol stop n:0:0", the system responded by erasing the command, and moving the cursor leftward to the prompt. It is possible that the system redisplayed the list of parameters to this command, and then redisplayed the prompt, and that by chance the new prompt was at the exact location of the old prompt. It is also possible that I did not see the screen re-write due to the behavior of the graphics accelerator, even though the screen is written in character mode. As I was falling asleep the other night, I remembered that the problem with the floppy drive began after I had modified the file /etc/rc.conf. The instructions for installation of xorg say to add the following two lines to this file: "hald_enable="YES", and "dbus_enable="YES". The clicking begins as soon as the login prompt appears. The last several lines that are written to the screen preceding the login prompt are as follows: Creating and/or trimming log files. Starting syslogd. No core dumps found. Clearing /tmp (X related). Starting hald. Starting dbus. Updating motd:. Starting ntpd. Configuring syscons: blanktime. Starting sshd. Starting cron. Starting background file system checks in 60 seconds. [blank line] [date and time] [blank line] FreeBSD/i386 [name of computer] (ttyv0) login: After logging-in as toor, I entered the following commands. The comments describe the result. service hald stop [enter] # The clicking stops. service hald start [enter] # The clicking resumes. service dbus stop [enter] # The clicking stops. service dbus start [enter] # The floppy disk drive remains silent. Based on this discovery, I realize that my problem could be sidestepped by writing a login script that stops, and then restarts dbus, but I wish I could have a little clearer understanding of what is going on here. Also, at this point in time, I have no training in writing sh or bash scripts. What are hald and dbus supposed to do? Are they being started with incorrect parameters? Are they being started in an incorrect order relative to other daemons that are started by the system? There was no change in behavior when I interchanged the order of hald_enable and dbus_enable in the /etc/rc.conf file. In which order are /etc/rc.conf, /etc/defaults/rc.conf, and other possible startup files executed? Which file contains the instruction to write the login prompt? As before, any and all comments are most appreciated. Yours truly, Newby Lee From owner-freebsd-questions@FreeBSD.ORG Thu Oct 24 18:27:25 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id AFD61232 for ; Thu, 24 Oct 2013 18:27:25 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward5l.mail.yandex.net (forward5l.mail.yandex.net [IPv6:2a02:6b8:0:1819::5]) by mx1.freebsd.org (Postfix) with ESMTP id 731F22131 for ; Thu, 24 Oct 2013 18:27:25 +0000 (UTC) Received: from smtp11.mail.yandex.net (smtp11.mail.yandex.net [95.108.130.67]) by forward5l.mail.yandex.net (Yandex) with ESMTP id 137D9C40D9C; Thu, 24 Oct 2013 22:27:24 +0400 (MSK) Received: from smtp11.mail.yandex.net (localhost [127.0.0.1]) by smtp11.mail.yandex.net (Yandex) with ESMTP id B5C757E0795; Thu, 24 Oct 2013 22:27:23 +0400 (MSK) Received: from 46.38.32.182.tel.ru (46.38.32.182.tel.ru [46.38.32.182]) by smtp11.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 4FlgqREqfX-RN4iIAiA; Thu, 24 Oct 2013 22:27:23 +0400 Message-ID: <5269668A.1050400@passap.ru> Date: Thu, 24 Oct 2013 22:27:22 +0400 From: Boris Samorodov Organization: =?UTF-8?B?0JfQkNCeICLQktCQ0KDQoiI=?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130806 Thunderbird/17.0.7 MIME-Version: 1.0 To: dweimer@dweimer.net Subject: Re: SPAM: Re: Anyone Using Eric4 IDE? References: <52694671.6010305@passap.ru> <26361e851e8d85bcc313d444a71b75bc@dweimer.net> In-Reply-To: <26361e851e8d85bcc313d444a71b75bc@dweimer.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 18:27:25 -0000 24.10.2013 22:08, dweimer пишет: > On 10/24/2013 11:10 am, Boris Samorodov wrote: >> 24.10.2013 01:08, dweimer пишет: >>> Just curious if anyone has been is successful using the Eric4 IDE on >>> their FreeBSD systems, I took a look at it a couple of months back, >>> went >>> through some online tutorials using it, and was going to try it out >>> for >>> some Python QT GUI code. When I first looked at it everything ran >>> fine, >>> but now that I finally got around to trying to use it for something >>> beyond trying it out, I keep getting terminated with Signal 11 >>> Segmentation Fault from Python when ever I try just about anything. >>> >>> Core was generated by `python2.7'. >>> Program terminated with signal 11, Segmentation fault. >>> #0 0x0000000801232651 in ?? () >>> >>> Of course there have been several updates to the system since it was >>> at >>> a working state, I have the same problem on two systems, my laptop and >>> a >>> virtual machine running on my workstation, so its at least not >>> specific >>> to the single machine, but both have fairly similar configurations and >>> ports installed. >> >> It just works for me. > > Any possibility you could share the options you have set in python? or > how they may possibly differ from mine below? I use packages built by poudriere and all pythin default settings. You make take a look at the build log (it contains full information): http://gw.wart.ru/bulk/10-amd64-default/2013-10-14_22h43m10s/logs/python27-2.7.5_3.log > # This file is auto-generated by 'make config'. > # Options for python27-2.7.5_3 > _OPTIONS_READ=python27-2.7.5_3 > _FILE_COMPLETE_OPTIONS_LIST=EXAMPLES FPECTL IPV6 NLS PTH PYMALLOC SEM > THREADS UCS2 UCS4 > OPTIONS_FILE_SET+=EXAMPLES > OPTIONS_FILE_UNSET+=FPECTL > OPTIONS_FILE_SET+=IPV6 > OPTIONS_FILE_SET+=NLS > OPTIONS_FILE_UNSET+=PTH > OPTIONS_FILE_SET+=PYMALLOC > OPTIONS_FILE_UNSET+=SEM > OPTIONS_FILE_SET+=THREADS > OPTIONS_FILE_UNSET+=UCS2 > OPTIONS_FILE_SET+=UCS4 > -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Thu Oct 24 18:31:01 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8C9FD327; Thu, 24 Oct 2013 18:31:01 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-pd0-x235.google.com (mail-pd0-x235.google.com [IPv6:2607:f8b0:400e:c02::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6259A2189; Thu, 24 Oct 2013 18:31:01 +0000 (UTC) Received: by mail-pd0-f181.google.com with SMTP id y13so3559965pdi.40 for ; Thu, 24 Oct 2013 11:31:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=dvJkk/4K+zSMk1uMxX3P3AIvm38GdXaXgThm7i2Kdeg=; b=a9HBF6oi1YJmUq8s75ht+wZraBC0KBYqBOBO84RQTG8r9J/8bLjA6Pgp3lUTbWW5x4 Hitstlgacc+UEqLBIMe6hCFqq7l2p27K4SkIk4zd1EDmXxQ46DNORjcy9uw9eV3eBIA7 ORxjFQ0DVjMcKE/DYPllrrtVbrkcsB+3+dixZi6L8cn89I3sTkt8XFlQqk70zHZF05Ti lmHFSSksrIoDA/bO8aM8i97yToYNcsSNrodFalmJWI5ORfwXH3jrpFjUyBpQs020VmEK ArH7EAKdzOsJdbFO/S+loQ8zzeWJIbrkLLXKBSLcVf5+HHQdtyRsurUUPHIKecM3pXZa QDow== MIME-Version: 1.0 X-Received: by 10.66.188.203 with SMTP id gc11mr4499488pac.63.1382639460134; Thu, 24 Oct 2013 11:31:00 -0700 (PDT) Sender: tomek.cedro@gmail.com Received: by 10.68.191.6 with HTTP; Thu, 24 Oct 2013 11:31:00 -0700 (PDT) In-Reply-To: References: <526831dc.e3f9c20a.188e.fffffd02SMTPIN_ADDED_BROKEN@mx.google.com> Date: Thu, 24 Oct 2013 20:31:00 +0200 X-Google-Sender-Auth: 3yjApxAaIe3JyhUd4J4M3grPdAU Message-ID: Subject: Re: FreeBSD distribution for ARM processors. From: CeDeROM To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 Cc: John.Kitz@xs4all.nl, FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 18:31:01 -0000 Just one bit from me :-) http://libswd.sf.net is my software library (BSD licensed) to work with ARM Cortex SW-DP, maybe one day you will use it to develop low-level stuff for the BSD on ARM :-) Recenly I have released version 0.6 with standalone application so you can already write/dump memory, etc. Feature request, testing and feedback is welcome :-) Best regards :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@FreeBSD.ORG Thu Oct 24 19:46:19 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 106467D7 for ; Thu, 24 Oct 2013 19:46:19 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B05102666 for ; Thu, 24 Oct 2013 19:46:18 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.local [192.168.5.2]) by webmail.dweimer.net (8.14.7/8.14.7) with ESMTP id r9OJkGpK006657 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 24 Oct 2013 14:46:16 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 24 Oct 2013 14:46:16 -0500 From: dweimer To: Boris Samorodov Subject: Re: Anyone Using Eric4 =?UTF-8?Q?IDE=3F?= Organization: dweimer.net Mail-Reply-To: dweimer@dweimer.net In-Reply-To: <5269668A.1050400@passap.ru> References: <52694671.6010305@passap.ru> <26361e851e8d85bcc313d444a71b75bc@dweimer.net> <5269668A.1050400@passap.ru> Message-ID: <94792b9fac5b0e7e693e665c7faed08b@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8.1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 19:46:19 -0000 On 10/24/2013 1:27 pm, Boris Samorodov wrote: > 24.10.2013 22:08, dweimer пишет: >> On 10/24/2013 11:10 am, Boris Samorodov wrote: >>> 24.10.2013 01:08, dweimer пишет: >>>> Just curious if anyone has been is successful using the Eric4 IDE on >>>> their FreeBSD systems, I took a look at it a couple of months back, >>>> went >>>> through some online tutorials using it, and was going to try it out >>>> for >>>> some Python QT GUI code. When I first looked at it everything ran >>>> fine, >>>> but now that I finally got around to trying to use it for something >>>> beyond trying it out, I keep getting terminated with Signal 11 >>>> Segmentation Fault from Python when ever I try just about anything. >>>> >>>> Core was generated by `python2.7'. >>>> Program terminated with signal 11, Segmentation fault. >>>> #0 0x0000000801232651 in ?? () >>>> >>>> Of course there have been several updates to the system since it was >>>> at >>>> a working state, I have the same problem on two systems, my laptop >>>> and >>>> a >>>> virtual machine running on my workstation, so its at least not >>>> specific >>>> to the single machine, but both have fairly similar configurations >>>> and >>>> ports installed. >>> >>> It just works for me. >> >> Any possibility you could share the options you have set in python? or >> how they may possibly differ from mine below? > > I use packages built by poudriere and all pythin default settings. > You make take a look at the build log (it contains full information): > http://gw.wart.ru/bulk/10-amd64-default/2013-10-14_22h43m10s/logs/python27-2.7.5_3.log > >> # This file is auto-generated by 'make config'. >> # Options for python27-2.7.5_3 >> _OPTIONS_READ=python27-2.7.5_3 >> _FILE_COMPLETE_OPTIONS_LIST=EXAMPLES FPECTL IPV6 NLS PTH PYMALLOC SEM >> THREADS UCS2 UCS4 >> OPTIONS_FILE_SET+=EXAMPLES >> OPTIONS_FILE_UNSET+=FPECTL >> OPTIONS_FILE_SET+=IPV6 >> OPTIONS_FILE_SET+=NLS >> OPTIONS_FILE_UNSET+=PTH >> OPTIONS_FILE_SET+=PYMALLOC >> OPTIONS_FILE_UNSET+=SEM >> OPTIONS_FILE_SET+=THREADS >> OPTIONS_FILE_UNSET+=UCS2 >> OPTIONS_FILE_SET+=UCS4 >> hmm, same options set, but I did discover that its not Eric IDE itself, but definitely something within the Py-Qt stack, I was able to get Eric4 up and running on my windows VM write a small amount of code with a GUI, and then launch it from the FreeBSD machine. Same Signal 11 Segmentation Fault. Guess I will run a portmaster -af tonight on my laptop to see if it resolves the issue. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Thu Oct 24 20:26:54 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0C0F6D5E for ; Thu, 24 Oct 2013 20:26:54 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B46A428B9 for ; Thu, 24 Oct 2013 20:26:53 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r9OKQqRw061731; Thu, 24 Oct 2013 14:26:52 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r9OKQq6E061728; Thu, 24 Oct 2013 14:26:52 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 24 Oct 2013 14:26:52 -0600 (MDT) From: Warren Block To: leeoliveshackelford@surewest.net Subject: Re: click-click in floppy disk drive In-Reply-To: <20131024112256.DTF88722@ms5.mc.surewest.net> Message-ID: References: <20131024112256.DTF88722@ms5.mc.surewest.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Thu, 24 Oct 2013 14:26:52 -0600 (MDT) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 20:26:54 -0000 On Thu, 24 Oct 2013, leeoliveshackelford@surewest.net wrote: > After logging-in as toor, I entered the following commands. The comments describe the result. > > service hald stop [enter] > # The clicking stops. > service hald start [enter] > # The clicking resumes. HAL is polling the drive to detect media changes. There are configuration files to that can be modified to tell HAL to ignore the device. Others can probably offer more advice on that. I've been HAL-free for the last couple of years with xfce4. Likewise, there is another program that scans mounted media in order to refresh the desktop and file utilities when files have been added or removed. Unfortunately, I can't recall what that program is called at the moment, but it can be told to ignore certain files and directories. After that, removable media can be easily unmounted. If you want a desktop without all the work of installing it, PC-BSD offers a choice of four, including xfce4. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 24 20:39:19 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D8BB8D7; Thu, 24 Oct 2013 20:39:19 +0000 (UTC) (envelope-from John.Kitz@xs4all.nl) Received: from smtp-vbr9.xs4all.nl (smtp-vbr9.xs4all.nl [194.109.24.29]) by mx1.freebsd.org (Postfix) with ESMTP id 40CB02954; Thu, 24 Oct 2013 20:39:18 +0000 (UTC) Received: from picard (costa.xs4all.nl [82.95.89.208]) (authenticated bits=0) by smtp-vbr9.xs4all.nl (8.13.8/8.13.8) with ESMTP id r9OKdAWB037885 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 24 Oct 2013 22:39:10 +0200 (CEST) (envelope-from John.Kitz@xs4all.nl) From: "John W. Kitz" To: "'Adrian Chadd'" References: <526831dc.e3f9c20a.188e.fffffd02SMTPIN_ADDED_BROKEN@mx.google.com> In-Reply-To: Subject: RE: FreeBSD distribution for ARM processors. Date: Thu, 24 Oct 2013 22:39:06 +0200 Message-ID: <000001ced0f9$189a1bb0$49ce5310$@Kitz@xs4all.nl> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac7Q5g9qoeW7uwQHRq66iX0zCBu0xAAEtEkg Content-Language: nl X-Virus-Scanned: by XS4ALL Virus Scanner Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: 'FreeBSD Questions' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: John.Kitz@xs4all.nl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 20:39:20 -0000 Adrian, Again much appreciated. Jk. From: adrian.chadd@gmail.com [mailto:adrian.chadd@gmail.com] On Behalf Of Adrian Chadd Sent: Thursday, October 24, 2013 8:23 PM To: John.Kitz@xs4all.nl Cc: FreeBSD Questions Subject: Re: FreeBSD distribution for ARM processors. Hi! On 23 October 2013 13:30, John W. Kitz wrote: Hi, Can someone please explain the rationale behind not providing a distribution for arm based systems, as it seems somewhat illogical to me that distributions are available for ia64, powerpc, sparc64 (see http://www.freebsd.org/where.html) which are considered Tier 2 architectures while the official reason for arm being a Tier 2 architecture is the fact that no distribution is provided for it (see http://www.freebsd.org/platforms/arm.html). It's happening. It may not happen for 10.0 but the vague plan is to get generic MIPS/ARM install environments with customisations for how you get the image onto various devices. -adrian From owner-freebsd-questions@FreeBSD.ORG Thu Oct 24 20:40:44 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2301F199; Thu, 24 Oct 2013 20:40:44 +0000 (UTC) (envelope-from John.Kitz@xs4all.nl) Received: from smtp-vbr13.xs4all.nl (smtp-vbr13.xs4all.nl [194.109.24.33]) by mx1.freebsd.org (Postfix) with ESMTP id B854929A9; Thu, 24 Oct 2013 20:40:43 +0000 (UTC) Received: from picard (costa.xs4all.nl [82.95.89.208]) (authenticated bits=0) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id r9OKefLE042380 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 24 Oct 2013 22:40:42 +0200 (CEST) (envelope-from John.Kitz@xs4all.nl) From: "John W. Kitz" To: "'CeDeROM'" , "'Adrian Chadd'" References: <526831dc.e3f9c20a.188e.fffffd02SMTPIN_ADDED_BROKEN@mx.google.com> In-Reply-To: Subject: RE: FreeBSD distribution for ARM processors. Date: Thu, 24 Oct 2013 22:40:42 +0200 Message-ID: <000e01ced0f9$4f2a2800$ed7e7800$@Kitz@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac7Q5zB/3la30ICiT1ahlmq9mLGjdQAEgHLw Content-Language: nl X-Virus-Scanned: by XS4ALL Virus Scanner Cc: 'FreeBSD Questions' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: John.Kitz@xs4all.nl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 20:40:44 -0000 Tomek, Once more, much appreciated. Jk. -----Original Message----- From: tomek.cedro@gmail.com [mailto:tomek.cedro@gmail.com] On Behalf Of = CeDeROM Sent: Thursday, October 24, 2013 8:31 PM To: Adrian Chadd Cc: John.Kitz@xs4all.nl; FreeBSD Questions Subject: Re: FreeBSD distribution for ARM processors. Just one bit from me :-) http://libswd.sf.net is my software library (BSD licensed) to work with = ARM Cortex SW-DP, maybe one day you will use it to develop low-level = stuff for the BSD on ARM :-) Recenly I have released version 0.6 with standalone application so you can already write/dump memory, = etc. Feature request, testing and feedback is welcome :-) Best regards :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@FreeBSD.ORG Thu Oct 24 21:27:06 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BE21DF8C for ; Thu, 24 Oct 2013 21:27:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 44F9D2C29 for ; Thu, 24 Oct 2013 21:27:06 +0000 (UTC) Received: from r56.edvax.de (port-92-195-117-74.dynamic.qsc.de [92.195.117.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id A30983CAF1; Thu, 24 Oct 2013 23:27:03 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r9OLQue6002341; Thu, 24 Oct 2013 23:26:56 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 24 Oct 2013 23:26:56 +0200 From: Polytropon To: Subject: Re: click-click in floppy disk drive Message-Id: <20131024232656.4c6c36bb.freebsd@edvax.de> In-Reply-To: <20131024112256.DTF88722@ms5.mc.surewest.net> References: <20131024112256.DTF88722@ms5.mc.surewest.net> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 21:27:06 -0000 On Thu, 24 Oct 2013 11:22:56 -0700 (PDT), leeoliveshackelford@surewest.net wrote: > As was suggested to me, I ran the lsof utility. It created a > very long text file, which unfortunately, I was unable to > interpret. I would suggest to grep the output for something that is in relation to the mountpoint the floppy drive is associated to. A hint could be present in /etc/fstab. For example, if the default mountpoint would be /mnt/floppy, # lsof | grep "floppy" would probably get rid of anything not related. > I ran the "mount -v" command. It did not indicate that a > floppy drive was mounted. This is good. So one of the assumptions ("something is still expecting a floppy disk in the drive because there's an umount pending") could be removed. > I inserted a diskette into the drive, and mounted it. The > mount was successful. The clicking continued, but each > click was then followed by rotation of the diskette. That is to be expected: The drive seems to perform a real I/O operation on the media (instead of just querying _if_ a floppy is inserted). > I ran ls command on the floppy disk, which resulted in a > correct display of the directory. However, when I ran the > umount command, the system responded that the device was > busy, and therefore could not be unmounted. Ha! You got the right direction. This is the point where you repeat the # lsof | grep "floppy" command - of course adjusted to a grep pattern that somehow matches the place where the floppy is mounted; "mount -v" will tell you this, "df -h" also would. > I ran the command "camcontrol devlist" followed by "camcontrol > reset n:0:0". The floppy drive kept on clicking. This shows that the clicking is not caused by some "hidden" software mechanism (like the device driver), but instead is probably caused by something like HAL, a program that keeps polling the drive status. And after stopping and resetting the drive, HAL will continue doing this, so the clicking will continue. > Polytropon's comment on Oct. 22 at 15:42 P.D.T. that I had > in fact successfully installed the operating system is > technically true. However, my idea of a fully functioning > workstation includes the addition of applications that will > allow me to get work done. Yes, that's a common definition, but the task of the OS is to help you getting things done, and if only by providing a means of installing the "productivity software" you need. :-) > I would like my system include the installation of X-windows, > Gnome, and Open Office. THe FreeBSD Handbook covers this in detail. http://www.freebsd.org/doc/handbook/x11-wm.html > My problems in this area are described in another thread, > "Gnome green screen of death" on September 26 19:34 P.D.T. Sadly I'm not familiar enough with that so I can't provide more help, sorry. > That installation effort was based on the incorrectly > informed notion that if I entered the command "pkg_add gnome2" > that the system would take care of loading and configuring > all other packages on which gnome depends. That should have been the case. Of course, a _configuration_ cannot be done this way because the binary packages installed by pkg_add have been compiled with the default options. If those are fine for you - no problem. If they are not, you need to install from source, using the Ports Collection. A command like # cd /usr/ports/x11/gnome2 # make config-recursive # make install clean should do the right thing. Be aware of the fact that you will have to make _lots_ of decisions. :-) Also note the configuration details explained in the handbook, as provided by the link above. > After that fiasco, I uninstalled gnome, and have ever since > been trying to install and then configure each underlying > package in my idea of the order of dependency. Such a task should never be required. It simply sounds wrong. There are infrastructures and tools that take care of all that. You might be interested in learning "portmaster" as a good tool to deal with ports. > All of my printers are Hewlett-Packard lasers. First, I > installed cups. I was flummoxed because the instructions to > configure cups requi > r! > e the use of a web browser, which I do not yet have. You can always install a text web browser like lynx, links or w3m, and then access http://localhost:631 (which I admit is a quite stupid method of configuring a printer). But CUPS also has tools like lpadmin to perform printer installations without needing the trouble of a web interface. Depending on what your printer "speaks", you maybe don't even need CUPS for printing. HP laser printers are good buddies. They usually speak PS or PCL. If they speak PS - the story ends here, because PS is the default output of _all_ the applications that print something; an entry to /etc/printcap is sufficient to make the printer work. And for PCL, there's gs (ghostscript) that translates PS to PCL without trouble, and a custom printer filter is quickly done. Here's some relevant documentation about printing: http://www.freebsd.org/doc/handbook/printing.html http://www.wonkity.com/~wblock/docs/html/lpdprinting.html > Then I installed hplip, which I could not configure because > cups was not configured. I have to be honest and admit: I never fully understood the "logic" of all the different printer spoolers, filters, trans- lators and driver collections. There's also foomatic, gimp-print, hpijs, of course CUPS, then apsfilter, gs, zjs, and probably many more. If you have a printer capable of PS, _use that_ and get rid of all that overcomplicated stuff. :-) > Subsequently, I have been trying to install xorg. It does > not work because I have two video drivers, but only one > monitor. No problem. I have one graphics card, but two monitors. :-) Getting X installed is easy. It should automatically get the correct card (the one with the monitor attached) and initialize that. If it really doesn't, you can always create a xorg.conf file and explicitely tell X which card and monitor to use. Again, this might help you: http://www.wonkity.com/~wblock/docs/html/aei.html This article especially discusses the troubles with HAL which, regarding your clicking floppy problem, would something you probably are interested in getting rid of. I'm running a HAL-free system for many years and never missed any significant feature. Additionally, centralized means of configuration, such as the mentioned /etc/X11/xorg.conf, work _again_ as intended. If you are interested in a system that comes with a preinstalled and preconfigured (!) X environment, have a look at PC-BSD. If I remember correctly, they offer KDE instead of Gnome, but if this isn't a problem for you, give it a try. It also has packages for OpenOffice / LibreOffice and many other things. You can find it here: http://www.pcbsd.org/ > I have found in the archives several questions about this state > of affairs, but the responses were too general for me to follow, > that is, to implement the instructions given would require skill > and experience that I do not yet have to be able to fill in all > of the little details that were missing but assumed to be > understood. If you stick to the handbook and try to follow the instructions as near as you can, and _still_ encounter problems, the mailing list is the correct place to ask questions. Please keep in mind that only few members own a crystal ball and magic wand, so try to provide: 1. the source you've been following 2. the command you've tried 3. their results This will encourage people to provide more help, _precise_ help. > Returning to the floppy disk drive, when I ran "camcontrol stop > n:0:0", the system responded by erasing the command, and moving > the cursor leftward to the prompt. That is _really_ strange! The expected behaviour should be like this: # camcontrol reset 0,0,0 Reset of bus 0 was successful # _ In case an error occured, an error message will be printed. Also have a look at VT #0 (Alt+PF1) if any suspicious kernel messages (bright white) are printed. > It is possible that the system redisplayed the list of parameters > to this command, and then redisplayed the prompt, and that by > chance the new prompt was at the exact location of the old prompt. That doesn't sound right. > It is also possible that I did not see the screen re-write due to > the behavior of the graphics accelerator, even though the screen > is written in character mode. The text mode should not be plagued with graphics card problems as it might happen in X. > As I was falling asleep the other night, I remembered that the > problem with the floppy drive began after I had modified the > file /etc/rc.conf. The instructions for installation of xorg > say to add the following two lines to this file: "hald_enable="YES", > and "dbus_enable="YES". The clicking begins as soon as the > login prompt appears. And _here_ you have the cause of your trouble: HAL. It keeps polling the drive status. There is a configuration file for that, but I can't remember it anymore; as I said, I don't use HAL for anything, so I got rid of it. The HAL FAQ mentions the problem and a solution: http://www.freebsd.org/gnome/docs/halfaq.html If I remember correctly, there's another one, maybe easier: HAL does _not_ access devices that have an entry in /etc/fstab. For example, if you have an entry for your DVD drive in that file, HAL won't work with it. Likewise, if you could _add_ an entry for the floppy drive, maybe that prevents HAL from clicking the drive? It would be something like this: /dev/da3 /media/floppy msdosfs rw,noauto,noatime 0 0 You need to adjust this according to your actual device name and designated mountpoint. > The last several lines that are written to the screen preceding > the login prompt are as follows: > > [...] > Starting hald. > Starting dbus. Those two prove my assumption. :-) > After logging-in as toor, I entered the following commands. > The comments describe the result. > > service hald stop [enter] > # The clicking stops. > service hald start [enter] > # The clicking resumes. > service dbus stop [enter] > # The clicking stops. > service dbus start [enter] > # The floppy disk drive remains silent. You can derive that HAL is a very strange piece of software. :-) > Based on this discovery, I realize that my problem could be > sidestepped by writing a login script that stops, and then > restarts dbus, but I wish I could have a little clearer > understanding of what is going on here. I'd suggest removing the floppy disk drive from the list of devices to poll. Simple solution. Period. > Also, at this point in time, I have no training in writing sh > or bash scripts. That's not required for this particular task, but it doesn't do you any harm by acquiring basic interaction and scripting skills. Keep in mind that FreeBSD's default dialog shell is tcsh (C shell). Of course you can always install bash and make that your shell. > What are hald and dbus supposed to do? Oh, that's a very good question. :-) HAL is a "hardware abstraction layer", an invention from Linux-land, that has, if I remember correctly, already been deprecated "over there". It aims to remove certain "hardware-related" access methods in favour of an uniform abstracted method. It's goal is to allow vertain GUIs to do what they can already to for decades: Notify the user about new media being present and cause certain actions (open file manager, burning utility, or whatever is "in fashion" at the moment). DBUS is related to "inter-application" communication and employed in the mentioned goal. > Are they being started with incorrect parameters? No. They are started with _default_ parameters which might not be suitable for your actual setting. One of those configurational aspects includes to poll existing devices continuously to determine when a medium is present. > Are they being started in an incorrect order relative to other > daemons that are started by the system? No. The system makes sure things are started in the correct order. Keywords in the start scripts provide that information, and rcorder (see "man rcorder" for details) makes sure the correct order will be used. > There was no change in behavior when I interchanged the order > of hald_enable and dbus_enable in the /etc/rc.conf file. The order of statements does not matter. The rc.conf file is just a (partial) shell script that is being sourced by other files. It just contains variables that are assigned a value. Thing of it as an "include file" that holds all those settings. Note: "Last value wins", so if you have, for example, hal_enable="YES" and several lines later on hal_enable="NO" then "NO" will be the final value that's being used. > In which order are /etc/rc.conf, /etc/defaults/rc.conf, and > other possible startup files executed? The default settings are loaded first. They only consider the OS. Then rc.conf is sourced, and it "overwrites" any settings from defaults/rc.conf that have a new definition. Finally rc.conf.local is sourced (not often used, but I wanted to mention it anyway). As I said, "last value wins". The /etc/defaults/rc.conf file does _not_ contain settings for 3rd party software, such as HAL or DBUS. It only configures the defaults for the operating system. > Which file contains the instruction to write the login prompt? It's configured in /etc/gettytab, the "default" entry, and more specifically, the im= attribute. There are other files to "enhance" things here, for example /etc/motd and /etc/issue, or even /etc/rc (you can, but _should not_ add things here). > As before, any and all comments are most appreciated. You found the solution to your problem. Now it's time to find out how to _implement_ it properly. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Oct 24 21:31:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CE50310E for ; Thu, 24 Oct 2013 21:31:08 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 91FF92C7D for ; Thu, 24 Oct 2013 21:31:08 +0000 (UTC) Received: from r56.edvax.de (port-92-195-117-74.dynamic.qsc.de [92.195.117.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 3BBFF3CBA4; Thu, 24 Oct 2013 23:31:07 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r9OLV0sU002349; Thu, 24 Oct 2013 23:31:00 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 24 Oct 2013 23:30:59 +0200 From: Polytropon To: Warren Block Subject: Re: click-click in floppy disk drive Message-Id: <20131024233059.0c3bd75b.freebsd@edvax.de> In-Reply-To: References: <20131024112256.DTF88722@ms5.mc.surewest.net> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: leeoliveshackelford@surewest.net, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 21:31:08 -0000 On Thu, 24 Oct 2013 14:26:52 -0600 (MDT), Warren Block wrote: > HAL is polling the drive to detect media changes. There are > configuration files to that can be modified to tell HAL to ignore the > device. Others can probably offer more advice on that. The information is provided here: http://www.freebsd.org/gnome/docs/halfaq.html > I've been > HAL-free for the last couple of years with xfce4. I know how that feels. :-) > Likewise, there is another program that scans mounted media in order to > refresh the desktop and file utilities when files have been added or > removed. Unfortunately, I can't recall what that program is called at > the moment, but it can be told to ignore certain files and directories. If I remember correctly, has that been... FAM? The file alteration monitor? Something with gamin and libfam? I know I had trouble with that stuff on a LXDE installation once... > After that, removable media can be easily unmounted. I just wonder how Gnome and KDE got the automounting stuff working decades ago, I think it even worked in FreeBSD 4 where no HAL and DBUS had been present... > If you want a desktop without all the work of installing it, PC-BSD > offers a choice of four, including xfce4. I didn't know it comes in different GUI favours, thanks for the pointer! I always thought they were very KDE-centric... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Oct 24 23:03:33 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 38886DE2 for ; Thu, 24 Oct 2013 23:03:33 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E44052608 for ; Thu, 24 Oct 2013 23:03:32 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r9ON3SE2062985; Thu, 24 Oct 2013 17:03:28 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r9ON3SeD062982; Thu, 24 Oct 2013 17:03:28 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 24 Oct 2013 17:03:28 -0600 (MDT) From: Warren Block To: Polytropon Subject: Re: click-click in floppy disk drive In-Reply-To: <20131024233059.0c3bd75b.freebsd@edvax.de> Message-ID: References: <20131024112256.DTF88722@ms5.mc.surewest.net> <20131024233059.0c3bd75b.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Thu, 24 Oct 2013 17:03:28 -0600 (MDT) Cc: leeoliveshackelford@surewest.net, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 23:03:33 -0000 On Thu, 24 Oct 2013, Polytropon wrote: >> Likewise, there is another program that scans mounted media in order to >> refresh the desktop and file utilities when files have been added or >> removed. Unfortunately, I can't recall what that program is called at >> the moment, but it can be told to ignore certain files and directories. > > If I remember correctly, has that been... FAM? The file alteration > monitor? Something with gamin and libfam? I know I had trouble with > that stuff on a LXDE installation once... That's it, gamin! Here is what I have in /usr/local/etc/gamin/gaminrc: poll /usr/home/wblock/Desktop/* poll /* # fsset ufs poll 10 fsset ufs poll 10 That did not do what I'd hoped, which was not lock those directories or files. It seems to have had the effect of disabling gamin entirely, which I've just lived with. The first line is the one that should work. The last one (I think) tells gamin to poll all UFS filesystems. But again, this did not work as expected. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 03:38:20 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CA88F601 for ; Fri, 25 Oct 2013 03:38:20 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7C9922685 for ; Fri, 25 Oct 2013 03:38:19 +0000 (UTC) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 5DC3F160B12 for ; Fri, 25 Oct 2013 10:29:03 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= content-type:content-type:mime-version:message-id:date:date:from :from:subject:subject:received:received:received; s=selector1; t=1382671742; x=1384486143; bh=SSvvqY5vQpXcHFPf4bh5J/r9w5u9F8iP oLWdoq8dgdw=; b=YuYxLjrPc7wtHoqVaFUkiQbOD+xj1d7KQqJPikwV16KKoTrD IsA5UwtAYnD4BANiVIZEtfrkp2FkRfMxw/1qYBca1AeHdMSClkyThpAAGn9tcmGx rCxUL+wyJf9veUzBBHfRAd2x6udct113Cb1tG+aQvjZ5Sd42i5aOaL+j0HU= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id FTc1q40HT3vx for ; Fri, 25 Oct 2013 10:29:02 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 97C73160B06 for ; Fri, 25 Oct 2013 10:29:02 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.5/8.14.5/Submit) id r9P3T2kv095794; Fri, 25 Oct 2013 10:29:02 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) To: freebsd-questions@freebsd.org Subject: Remove duplicate images From: Olivier Nicole Date: Fri, 25 Oct 2013 10:29:02 +0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 03:38:20 -0000 Hi, Does it exist a tool in the ports that can help removing the duplicate images in a directory? Thanks, Olivier -- From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 04:41:01 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5F675DCD for ; Fri, 25 Oct 2013 04:41:01 +0000 (UTC) (envelope-from repeatable_compression@yahoo.com) Received: from nm10-vm5.bullet.mail.ne1.yahoo.com (nm10-vm5.bullet.mail.ne1.yahoo.com [98.138.91.232]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2826F29DD for ; Fri, 25 Oct 2013 04:41:00 +0000 (UTC) Received: from [98.138.226.177] by nm10.bullet.mail.ne1.yahoo.com with NNFMP; 25 Oct 2013 04:40:54 -0000 Received: from [98.138.104.115] by tm12.bullet.mail.ne1.yahoo.com with NNFMP; 25 Oct 2013 04:40:54 -0000 Received: from [127.0.0.1] by smtp224.mail.ne1.yahoo.com with NNFMP; 25 Oct 2013 04:40:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1382676054; bh=0eV2WaSRDk7b5q09GEwV9zUtLDIIPNkpoPc0iFqgraI=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Subject:From:Content-Type:Message-Id:Date:To:Content-Transfer-Encoding:Mime-Version:X-Mailer; b=fiwFljbuhUGuCI2hAcQxFEzXR+E2/zFLhOivh6mjRoH0oXhpqb91zbT9BGj9M7G33UeBHW2DCT3+rotL2bgrjdg2gnzCrKxU9TNSDBMkR1zgh1QOGmpY0agVwtNiknFlvHkI46BF/b3F1HLdborAYMJkxrjRIWen9pl96T5erNs= X-Yahoo-Newman-Id: 485856.53791.bm@smtp224.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: AopwlTUVM1m0SVezZKlc2sKhP_CSg5cxc_y_H4jadwwJ.hB RtcKcy8zAUlCffh5on6RL36VoLZX2.MC9G6jbddA0JtMWMWtNFhw3YfYMhrS esYa9heYnB4D7l3XT7eGE9piKWUgfNwZFMw.WyLkK0oAwgr2Ln5RdTe7dBjR eD3vXhid08aEjZZE.URCX6G4MiZ42SmtpPK4Aai2cBGtBehsXnqQcScs0bok IB4URUsgVq071_t7pG8Xr9zZwu3CXmfKeKMZYHD2rRkM1rfS1uxLm.dJnPgw A.NsWLYH2MV4dtOO41EViS6VS6zaIhUp.1wBRZ0vBOXqUCG7F7ixbT2Fqma2 b_nA3y_v.oau9vfYKQ6yh9F5jsAardvER1jjNoi.eKG1qPXc1lsYUvhc4YiO iWA5e_HPiOcxRK96pX.D9R0S_fya0fEngwz5xBhLQHApbeocNtXtKbC8Z1BV 01zhbPtjTWio_0uHNIgps0a1eYcj.AM32TeluJm8AvFGMk9IIb3bwSzDkFNb MB86oK8vGY5nRR1v_s.9X4KOG5sicM9jBIZ8eYKxP7mzeySJw6NjEDVX2D9d p9w1_AlP.TXOyKNZ5bKd94YorXEAnxsDziqYZhMze8Z7eUbup3aX1FsCk1O7 5tBxrPApPdhOmOw2oWBiObhJGOH0BpvieH04SHe.fjgl1nPp8gbsnUB_pPhW qwrcmu6mbxVXKI2WIQX9hSRtZPQ5vILS46bM8Cl6PBD8v.PxEW2MpZ_L85nk sRFDqIZlnBByB7xNLHDMLv05R5oBAxkeo7jr.mIFTPLL93TKc9L.JBOw8Qje m.dyd_cJJ4r4zX12huPz7_4WblzsfXTP.gqW7Yk4jYTyfbYawQkE26EzVrfq 1BTEImbvKTtC4ThBtWsemEgv7aQ5Y3Y.8LWV64Se72m9sfCFnspVIrnGPb8Z KmrERE_stLkHbU78WwRhpM71qzRp6nSYEW0CLHArTbYINpQ_r0txK9d1TUpK xstNelkQ13abI0cc- X-Yahoo-SMTP: KDkTLsqswBBCmUTAOzBaZ_hLyVQzFsoqgrhYGNK2rJDiXlA- X-Rocket-Received: from [10.0.0.5] (repeatable_compression@71.174.166.12 with ) by smtp224.mail.ne1.yahoo.com with SMTP; 25 Oct 2013 04:40:54 +0000 UTC Subject: CQ60 Presario, running FBSD 9.2, problem configuring X From: Jules Gilbert Content-Type: text/plain; charset=us-ascii Message-Id: <6D24E720-78A3-41AF-A369-E95A65DA0915@yahoo.com> Date: Fri, 25 Oct 2013 00:40:52 -0400 To: freebsd-questions@FreeBSD.org Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v1085) X-Mailer: Apple Mail (2.1085) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 04:41:01 -0000 I've enabled DBUS and HALD in /etc/rc.conf First the Xorg config file: Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" EndSection Section "Module" Load "dbe" Load "dri" Load "dri2" Load "extmod" Load "record" Load "glx" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional #Option "SWcursor" # [] #Option "HWcursor" # [] #Option "NoAccel" # [] #Option "ShadowFB" # [] #Option "UseFBDev" # [] #Option "Rotate" # [] #Option "VideoKey" # #Option "FlatPanel" # [] #Option "FPDither" # [] #Option "CrtcNumber" # #Option "FPScale" # [] #Option "FPTweak" # #Option "DualHead" # [] Identifier "Card0" Driver "nv" VendorName "NVIDIA Corporation" BoardName "C77 [GeForce 8200M G]" BusID "PCI:2:0:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection And here is the log: X.Org X Server 1.7.7 Release Date: 2010-05-04 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 9.1-RELEASE i386=20 Current Operating System: FreeBSD hp2 9.2-RELEASE FreeBSD 9.2-RELEASE #0 = r255898: Fri Sep 27 03:52:52 UTC 2013 = root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 Build Date: 05 August 2013 08:18:13PM =20 Current version of pixman: 0.30.0 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (=3D=3D) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (=3D=3D) Log file: "/var/log/Xorg.0.log", Time: Fri Oct 25 04:00:47 2013 (++) Using config file: "/root/xorg.conf.new" (=3D=3D) ServerLayout "X.org Configured" (**) |-->Screen "Screen0" (0) (**) | |-->Monitor "Monitor0" (**) | |-->Device "Card0" (**) |-->Input Device "Mouse0" (**) |-->Input Device "Keyboard0" (=3D=3D) Automatically adding devices (=3D=3D) Automatically enabling devices (**) FontPath set to: /usr/local/lib/X11/fonts/misc/, /usr/local/lib/X11/fonts/TTF/, /usr/local/lib/X11/fonts/OTF, /usr/local/lib/X11/fonts/Type1/, /usr/local/lib/X11/fonts/100dpi/, /usr/local/lib/X11/fonts/75dpi/, /usr/local/lib/X11/fonts/misc/, /usr/local/lib/X11/fonts/TTF/, /usr/local/lib/X11/fonts/OTF, /usr/local/lib/X11/fonts/Type1/, /usr/local/lib/X11/fonts/100dpi/, /usr/local/lib/X11/fonts/75dpi/ (**) ModulePath set to "/usr/local/lib/xorg/modules" (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or = 'vmmouse' will be disabled. (WW) Disabling Mouse0 (WW) Disabling Keyboard0 (II) Loader magic: 0x81e1e00 (II) Module ABI versions: X.Org ANSI C Emulation: 0.4 X.Org Video Driver: 6.0 X.Org XInput driver : 7.0 X.Org Server Extension : 2.0 (--) Using syscons driver with X support (version 2.0) (--) using VT number 9 (--) PCI: (0:0:1:3) 10de:0753:103c:360a NVIDIA Corporation MCP78S = [GeForce 8200] Co-Processor rev 162, Mem @ 0xc0080000/524288 (--) PCI:*(0:2:0:0) 10de:0845:103c:360a NVIDIA Corporation C77 [GeForce = 8200M G] rev 162, Mem @ 0xc1000000/16777216, 0xd0000000/268435456, = 0xc4000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/65536 (II) "extmod" will be loaded. This was enabled by default and also = specified in the config file. (II) "dbe" will be loaded. This was enabled by default and also = specified in the config file. (II) "glx" will be loaded. This was enabled by default and also = specified in the config file. (II) "record" will be loaded. This was enabled by default and also = specified in the config file. (II) "dri" will be loaded. This was enabled by default and also = specified in the config file. (II) "dri2" will be loaded. This was enabled by default and also = specified in the config file. (II) LoadModule: "dbe" (II) Loading /usr/local/lib/xorg/modules/extensions/libdbe.so (II) Module dbe: vendor=3D"X.Org Foundation" compiled for 1.7.7, module version =3D 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 2.0 (II) Loading extension DOUBLE-BUFFER (II) LoadModule: "dri" (II) Loading /usr/local/lib/xorg/modules/extensions/libdri.so (II) Module dri: vendor=3D"X.Org Foundation" compiled for 1.7.7, module version =3D 1.0.0 ABI class: X.Org Server Extension, version 2.0 (II) Loading extension XFree86-DRI (II) LoadModule: "dri2" (II) Loading /usr/local/lib/xorg/modules/extensions/libdri2.so (II) Module dri2: vendor=3D"X.Org Foundation" compiled for 1.7.7, module version =3D 1.1.0 ABI class: X.Org Server Extension, version 2.0 (II) Loading extension DRI2 (II) LoadModule: "extmod" (II) Loading /usr/local/lib/xorg/modules/extensions/libextmod.so (II) Module extmod: vendor=3D"X.Org Foundation" compiled for 1.7.7, module version =3D 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 2.0 (II) Loading extension MIT-SCREEN-SAVER (II) Loading extension XFree86-VidModeExtension (II) Loading extension XFree86-DGA (II) Loading extension DPMS (II) Loading extension XVideo (II) Loading extension XVideo-MotionCompensation (II) Loading extension X-Resource (II) LoadModule: "record" (II) Loading /usr/local/lib/xorg/modules/extensions/librecord.so (II) Module record: vendor=3D"X.Org Foundation" compiled for 1.7.7, module version =3D 1.13.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 2.0 (II) Loading extension RECORD (II) LoadModule: "glx" (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so (II) Module glx: vendor=3D"X.Org Foundation" compiled for 1.7.7, module version =3D 1.0.0 ABI class: X.Org Server Extension, version 2.0 (=3D=3D) AIGLX disabled (II) Loading extension GLX (II) LoadModule: "nv" (II) Loading /usr/local/lib/xorg/modules/drivers/nv_drv.so (II) Module nv: vendor=3D"X.Org Foundation" compiled for 1.7.7, module version =3D 2.1.20 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 6.0 (II) NV: driver for NVIDIA chipsets: RIVA 128, RIVA TNT, RIVA TNT2, Unknown TNT2, Vanta, RIVA TNT2 Ultra, RIVA TNT2 Model 64, Aladdin TNT2, GeForce 256, GeForce DDR, Quadro, GeForce2 MX/MX = 400, GeForce2 MX 100/200, GeForce2 Go, Quadro2 MXR/EX/Go, GeForce2 Integrated GPU, GeForce2 GTS, GeForce2 Ti, GeForce2 = Ultra, Quadro2 Pro, GeForce4 MX 460, GeForce4 MX 440, GeForce4 MX 420, GeForce4 MX 440-SE, GeForce4 440 Go, GeForce4 420 Go, GeForce4 420 Go 32M, GeForce4 460 Go, Quadro4 550 XGL, GeForce4 440 Go 64M, Quadro NVS, Quadro4 500 GoGL, GeForce4 410 Go 16M, GeForce4 MX 440 with AGP8X, GeForce4 MX 440SE with AGP8X, GeForce4 MX 420 with AGP8X, GeForce4 MX 4000, GeForce4 448 Go, GeForce4 488 Go, Quadro4 580 = XGL, Quadro4 NVS 280 SD, Quadro4 380 XGL, Quadro NVS 50 PCI, GeForce4 448 Go, GeForce4 MX Integrated GPU, GeForce3, GeForce3 Ti 200, GeForce3 Ti 500, Quadro DCC, GeForce4 Ti 4600, GeForce4 Ti 4400, GeForce4 Ti 4200, Quadro4 900 XGL, Quadro4 750 = XGL, Quadro4 700 XGL, GeForce4 Ti 4800, GeForce4 Ti 4200 with AGP8X, GeForce4 Ti 4800 SE, GeForce4 4200 Go, Quadro4 700 GoGL, Quadro4 980 XGL, Quadro4 780 XGL, GeForce FX 5800 Ultra, GeForce FX 5800, Quadro FX 2000, Quadro FX 1000, GeForce FX 5600 Ultra, GeForce FX 5600, GeForce FX 5600XT, GeForce FX Go5600, GeForce FX Go5650, Quadro FX Go700, GeForce FX 5200, GeForce FX 5200 Ultra, GeForce FX 5200, GeForce FX 5200LE, GeForce FX Go5200, GeForce FX Go5250, GeForce FX 5500, GeForce FX 5100, GeForce FX Go5200 32M/64M, Quadro NVS 55/280 PCI, Quadro FX 500/600 PCI, GeForce FX Go53xx Series, GeForce FX Go5100, GeForce FX 5900 = Ultra, GeForce FX 5900, GeForce FX 5900XT, GeForce FX 5950 Ultra, GeForce FX 5900ZT, Quadro FX 3000, Quadro FX 700, GeForce FX 5700 Ultra, GeForce FX 5700, GeForce FX 5700LE, GeForce FX 5700VE, GeForce FX Go5700, GeForce FX Go5700, Quadro FX Go1000, Quadro FX 1100, GeForce 6800 Ultra, GeForce = 6800, GeForce 6800 LE, GeForce 6800 XE, GeForce 6800 XT, GeForce 6800 = GT, GeForce 6800 GT, GeForce 6800 GS, GeForce 6800 XT, Quadro FX = 4000, GeForce 6800 GS, GeForce 6800, GeForce 6800 LE, GeForce 6800 XT, GeForce Go 6800, GeForce Go 6800 Ultra, Quadro FX Go1400, Quadro FX 3450/4000 SDI, Quadro FX 1400, GeForce 6600 GT, GeForce 6600, GeForce 6600 LE, GeForce 6600 VE, GeForce Go 6600, GeForce 6610 XL, GeForce Go 6600 TE/6200 TE, GeForce 6700 XL, GeForce Go 6600, GeForce Go 6600 GT, Quadro NVS 440, Quadro FX = 550, Quadro FX 550, Quadro FX 540, GeForce 6200, GeForce 6500, GeForce 6200 TurboCache(TM), GeForce 6200SE TurboCache(TM), GeForce 6200 LE, GeForce Go 6200, Quadro NVS 285, GeForce Go = 6400, GeForce Go 6200, GeForce Go 6400, GeForce 6250, GeForce 7100 GS, GeForce 6800, GeForce 6800 LE, GeForce 6800 GT, GeForce 6800 XT, GeForce 6200, GeForce 6200 A-LE, GeForce 7800 GTX, GeForce 7800 = GTX, GeForce 7800 GT, GeForce 7800 GS, GeForce 7800 SLI, GeForce Go = 7800, GeForce Go 7800 GTX, Quadro FX 4500, GeForce 7350 LE, GeForce 7300 LE, GeForce 7300 SE, GeForce Go 7200, GeForce Go = 7300, GeForce Go 7400, GeForce Go 7400 GS, Quadro NVS 110M, Quadro NVS 120M, Quadro FX 350M, GeForce 7500 LE, Quadro FX 350, GeForce 7300 GS, GeForce 7650 GS, GeForce 7600 GT, GeForce 7600 = GS, GeForce 7300 GT, GeForce 7600 LE, GeForce 7300 GT, GeForce Go = 7700, GeForce Go 7600, GeForce Go 7600 GT, Quadro NVS 300M, GeForce Go 7900 SE, Quadro FX 550M, Quadro FX 560, GeForce 7900 = GTX, GeForce 7900 GT, GeForce 7900 GS, GeForce 7950 GX2, GeForce 7950 = GX2, GeForce 7950 GT, GeForce Go 7950 GTX, GeForce Go 7900 GS, GeForce Go 7900 GTX, Quadro FX 2500M, Quadro FX 1500M, Quadro FX 5500, Quadro FX 3500, Quadro FX 1500, Quadro FX 4500 = X2, GeForce 6150, GeForce 6150 LE, GeForce 6100, GeForce Go 6150, Quadro NVS 210S / NVIDIA GeForce 6150LE, GeForce Go 6100, GeForce 6150SE, GeForce 6100 nForce 405, GeForce 6100 nForce = 400, GeForce 6100 nForce 420, GeForce 7150M / nForce 630M, GeForce 7000M / nForce 610M, GeForce 7050 PV / nForce 630a, GeForce 7050 PV / nForce 630a, GeForce 7025 / nForce 630a, GeForce 8800 GTX, GeForce 8800 GTS, GeForce 8800 Ultra, Quadro FX 5600, Quadro FX 4600, GeForce 8600 GTS, GeForce 8600 = GT, GeForce 8600 GT, GeForce 8600 GS, GeForce 8400 GS, GeForce 9500M = GS, GeForce 8300 GS, GeForce 8600M GT, GeForce 9650M GS, GeForce 8700M GT, Quadro FX 370, Quadro NVS 320M, Quadro FX = 570M, Quadro FX 1600M, Quadro FX 570, Quadro FX 1700, GeForce GT 330, GeForce 8400 SE, GeForce 8500 GT, GeForce 8400 GS, GeForce 8300 = GS, GeForce 8400 GS, GeForce 8600M GS, GeForce 8400M GT, GeForce 8400M GS, GeForce 8400M G, Quadro NVS 140M, Quadro NVS = 130M, Quadro NVS 135M, GeForce 9400 GT, Quadro FX 360M, GeForce 9300M = G, Quadro NVS 290, GeForce GTX 295, GeForce GTX 280, GeForce GTX = 260, GeForce GTX 285, GeForce GTX 275, GeForce GTX 260, GeForce GTX = 295, Quadroplex 2200 D2, Quadroplex 2200 S4, Quadro CX, Quadro FX = 5800, Quadro FX 4800, Quadro FX 3800, GeForce 8800 GTS 512, GeForce 9800 GT, GeForce 8800 GT, GeForce GT 230, GeForce 9800 = GX2, GeForce 9800 GT, GeForce 8800 GS, GeForce GTS 240, GeForce 9800M = GTX, GeForce 8800M GTS, GeForce GTX 280M, GeForce 9800M GT, GeForce 8800M GTX, GeForce 8800 GS, GeForce GTX 285M, GeForce 9600 GSO, GeForce 8800 GT, GeForce 9800 GTX/9800 GTX+, GeForce 9800 GTX+, GeForce 9800 GT, GeForce GTS 250, GeForce 9800M GTX, GeForce GTX 260M, Quadro FX 4700 X2, Quadro FX 3700, Quadro VX 200, Quadro FX 3600M, Quadro FX 2800M, Quadro FX 3700M, Quadro FX 3800M, GeForce 9600 GT, GeForce 9600 = GS, GeForce 9600 GSO 512, GeForce GT 130, GeForce GT 140, GeForce 9800M GTS, GeForce 9700M GTS, GeForce 9800M GS, GeForce 9800M GTS, GeForce 9600 GT, GeForce 9600 GT, GeForce GTS 160M, GeForce GTS 150M, GeForce 9600 GSO, GeForce 9600 GT, Quadro FX 1800, Quadro FX 2700M, GeForce 9500 = GT, GeForce 9400 GT, GeForce 9500 GT, GeForce 9500 GS, GeForce 9500 = GS, GeForce GT 120, GeForce 9600M GT, GeForce 9600M GS, GeForce = 9600M GT, GeForce 9700M GT, GeForce 9500M G, GeForce 9650M GT, GeForce G = 110M, GeForce GT 130M, GeForce GT 120M, GeForce GT 220M, GeForce 9650 = S, Quadro FX 380, Quadro FX 580, Quadro FX 1700M, GeForce 9400 GT, Quadro FX 770M, GeForce 9300 GE, GeForce 9300 GS, GeForce 8400, GeForce 8400 SE, GeForce 8400 GS, GeForce 9300M GS, GeForce = G100, GeForce 9300 SE, GeForce 9200M GS, GeForce 9300M GS, Quadro NVS = 150M, Quadro NVS 160M, GeForce G 105M, GeForce G 103M, GeForce G105M, Quadro NVS 420, Quadro FX 370 LP, Quadro NVS 450, Quadro FX = 370M, Quadro NVS 295, GeForce 9100M G, GeForce 8200M G, GeForce 9200, GeForce 9100, GeForce 8300, GeForce 8200, nForce 730a, GeForce = 9200, nForce 980a/780a SLI, nForce 750a SLI, GeForce 8100 / nForce = 720a, GeForce 9400, GeForce 9400, GeForce 9400M G, GeForce 9400M, GeForce 9300, ION, GeForce 9400M G, GeForce 9400, nForce 760i = SLI, GeForce 9400, GeForce 9300 / nForce 730i, GeForce 9200, GeForce 9100M G, GeForce 8200M G, GeForce 9400M, GeForce 9200, GeForce G102M, GeForce G102M, ION, ION, GeForce 9400, ION, ION = LE, ION LE, GeForce GT 220, GeForce 315, GeForce 210, GeForce GT = 230M, GeForce GT 330M, GeForce GT 230M, GeForce GT 330M, NVS 5100M, GeForce GT 320M, GeForce GT 240M, GeForce GT 325M, Quadro FX = 880M, GeForce G210, GeForce 205, GeForce 310, ION, GeForce 210, GeForce 310, GeForce 315, GeForce G105M, GeForce G105M, NVS = 2100M, NVS 3100M, GeForce 305M, ION, GeForce 310M, GeForce 305M, GeForce 310M, GeForce 305M, GeForce G210M, GeForce 310M, Quadro FX 380 LP, Quadro FX 380M, GeForce GT 330, GeForce GT = 320, GeForce GT 240, GeForce GT 340, GeForce GT 330, GeForce GTS = 260M, GeForce GTS 250M, GeForce 315, GeForce GT 335M, GeForce GTS = 350M, GeForce GTS 360M, Quadro FX 1800M (II) Primary Device is: PCI 02@00:00:0 (--) NV: Found NVIDIA GeForce 8200M G at 02@00:00:0 (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support (II) Loading sub module "int10" (II) LoadModule: "int10" (II) Loading /usr/local/lib/xorg/modules/libint10.so (II) Module int10: vendor=3D"X.Org Foundation" compiled for 1.7.7, module version =3D 1.0.0 ABI class: X.Org Video Driver, version 6.0 (II) NV(0): Initializing int10 (=3D=3D) NV(0): Write-combining range (0xa0000,0x20000) was already = clear (=3D=3D) NV(0): Write-combining range (0xc0000,0x40000) was already = clear (II) NV(0): Primary V_BIOS segment is: 0xc000 (=3D=3D) NV(0): Write-combining range (0x0,0x1000) was already clear (--) NV(0): Console is VGA mode 0x3 (=3D=3D) NV(0): Depth 24, (--) framebuffer bpp 32 (=3D=3D) NV(0): RGB weight 888 (=3D=3D) NV(0): Default visual is TrueColor (=3D=3D) NV(0): Using hardware cursor (=3D=3D) NV(0): Using gamma correction (1.0, 1.0, 1.0) (II) NV(0): MMIO registers mapped at 0x28c00000 (--) NV(0): Total video RAM: 256.0 MB (--) NV(0): BAR1 size: 256.0 MB (--) NV(0): Mapped memory: 255.0 MB (II) NV(0): Linear framebuffer mapped at 0x29c00000 (II) Loading sub module "i2c" (II) LoadModule: "i2c" (II) Module "i2c" already built-in (II) Loading sub module "ddc" (II) LoadModule: "ddc" (II) Module "ddc" already built-in (--) NV(0): Connector map: (--) NV(0): Bus 3 -> SOR0 (LVDS) (--) NV(0): Bus 0 -> DAC1 (--) NV(0): Bus 2 -> SOR1 (--) NV(0): Load detection: 384 (II) NV(0): I2C bus "I2C0" initialized. (II) NV(0): Output VGA1 using monitor section Monitor0 (II) NV(0): I2C bus "I2C2" initialized. (II) NV(0): Output DVI1 has no monitor section (II) NV(0): LVDS native size 1366x768 (II) NV(0): Output LVDS has no monitor section (II) NV(0): I2C bus "I2C3 (LVDS)" initialized. (II) NV(0): Probing for EDID on I2C bus 0... (II) NV(0): I2C device "I2C0:ddc2" registered at address 0xA0. (II) NV(0): ... none found (--) NV(0): Trying load detection on VGA1 ... nothing. (II) NV(0): Probing for EDID on I2C bus 2... (II) NV(0): I2C device "I2C2:ddc2" registered at address 0xA0. (II) NV(0): ... none found (II) NV(0): Probing for EDID on I2C bus 3... (II) NV(0): I2C device "I2C3 (LVDS):ddc2" registered at address 0xA0. (--) NV(0): DDC detected a DFP: (II) NV(0): Manufacturer: LGD Model: 1c2 Serial#: 0 (II) NV(0): Year: 2008 Week: 0 (II) NV(0): EDID Version: 1.3 (II) NV(0): Digital Display Input (II) NV(0): Max Image Size [cm]: horiz.: 34 vert.: 19 (II) NV(0): Gamma: 2.20 (II) NV(0): No DPMS capabilities specified (II) NV(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4=20 (II) NV(0): First detailed timing is preferred mode (II) NV(0): redX: 0.608 redY: 0.338 greenX: 0.283 greenY: 0.586 (II) NV(0): blueX: 0.150 blueY: 0.103 whiteX: 0.313 whiteY: 0.329 (II) NV(0): Manufacturer's mask: 0 (II) NV(0): Supported detailed timing: (II) NV(0): clock: 72.3 MHz Image Size: 344 x 194 mm (II) NV(0): h_active: 1366 h_sync: 1414 h_sync_end 1446 h_blank_end = 1526 h_border: 0 (II) NV(0): v_active: 768 v_sync: 771 v_sync_end 776 v_blanking: 790 = v_border: 0 (II) NV(0): LG Display (II) NV(0): Monitor name: LP156WH1-TLA3 (II) NV(0): EDID (in hex): (II) NV(0): 00ffffffffffff0030e4c20100000000 (II) NV(0): 00120103802213780ae8959b56489626 (II) NV(0): 1a505400000001010101010101010101 (II) NV(0): 0101010101013e1c56a0500016303020 (II) NV(0): 350058c2100000190000000000000000 (II) NV(0): 00000000000000000000000000fe004c (II) NV(0): 4720446973706c61790a2020000000fc (II) NV(0): 004c503135365748312d544c413300de (II) NV(0): EDID vendor "LGD", prod id 450 (II) NV(0): Output VGA1 disconnected (II) NV(0): Output DVI1 disconnected (II) NV(0): Output LVDS connected (II) NV(0): Using exact sizes for initial modes (II) NV(0): Output LVDS using initial mode 1366x768 (II) NV(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise = stated. (--) NV(0): Virtual size is 1366x1366 (pitch 1536) (**) NV(0): Driver mode "1366x768": 72.3 MHz (scaled from 0.0 MHz), = 47.4 kHz, 60.0 Hz (II) NV(0): Modeline "1366x768"x60.0 72.30 1366 1414 1446 1526 768 = 771 776 790 -hsync -vsync (47.4 kHz) (=3D=3D) NV(0): DPI set to (96, 96) (II) Loading sub module "fb" (II) LoadModule: "fb" (II) Loading /usr/local/lib/xorg/modules/libfb.so (II) Module fb: vendor=3D"X.Org Foundation" compiled for 1.7.7, module version =3D 1.0.0 ABI class: X.Org ANSI C Emulation, version 0.4 (II) Loading sub module "xaa" (II) LoadModule: "xaa" (II) Loading /usr/local/lib/xorg/modules/libxaa.so (II) Module xaa: vendor=3D"X.Org Foundation" compiled for 1.7.7, module version =3D 1.2.1 ABI class: X.Org Video Driver, version 6.0 (II) Loading sub module "ramdac" (II) LoadModule: "ramdac" (II) Module "ramdac" already built-in (--) Depth 24 pixmap format is 32 bpp (--) NV(0): 183.99 MB available for offscreen pixmaps (II) NV(0): Using XFree86 Acceleration Architecture (XAA) Screen to screen bit blits Solid filled rectangles 8x8 mono pattern filled rectangles Indirect CPU to Screen color expansion Solid Lines Scanline Image Writes Setting up tile and stipple cache: 32 128x128 slots 32 256x256 slots 16 512x512 slots (=3D=3D) NV(0): Backing store disabled (=3D=3D) NV(0): Silken mouse enabled (II) NV(0): RandR 1.2 enabled, ignore the following RandR disabled = message. (=3D=3D) NV(0): DPMS enabled (--) RandR disabled (II) Initializing built-in extension Generic Event Extension (II) Initializing built-in extension SHAPE (II) Initializing built-in extension MIT-SHM (II) Initializing built-in extension XInputExtension (II) Initializing built-in extension XTEST (II) Initializing built-in extension BIG-REQUESTS (II) Initializing built-in extension SYNC (II) Initializing built-in extension XKEYBOARD (II) Initializing built-in extension XC-MISC (II) Initializing built-in extension XINERAMA (II) Initializing built-in extension XFIXES (II) Initializing built-in extension RENDER (II) Initializing built-in extension RANDR (II) Initializing built-in extension COMPOSITE (II) Initializing built-in extension DAMAGE (II) AIGLX: Loaded and initialized /usr/local/lib/dri/swrast_dri.so (II) GLX: Initialized DRISWRAST GL provider for screen 0 (II) NV(0): Setting screen physical size to 361 x 203 (II) config/hal: Adding input device AT Keyboard (II) LoadModule: "kbd" (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so (II) Module kbd: vendor=3D"X.Org Foundation" compiled for 1.7.7, module version =3D 1.7.0 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 7.0 (**) AT Keyboard: always reports core events (**) Option "Protocol" "standard" (**) Option "XkbRules" "base" (**) Option "XkbModel" "pc105" (**) Option "XkbLayout" "us" (II) XINPUT: Adding extended input device "AT Keyboard" (type: KEYBOARD) (II) config/hal: Adding input device PS/2 Mouse (II) LoadModule: "mouse" (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so (II) Module mouse: vendor=3D"X.Org Foundation" compiled for 1.7.7, module version =3D 1.9.0 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 7.0 (**) Option "Device" "/dev/sysmouse" (=3D=3D) PS/2 Mouse: Protocol: "Auto" (**) PS/2 Mouse: always reports core events (**) Option "Device" "/dev/sysmouse" (=3D=3D) PS/2 Mouse: Emulate3Buttons, Emulate3Timeout: 50 (**) PS/2 Mouse: ZAxisMapping: buttons 4 and 5 (**) PS/2 Mouse: Buttons: 5 (II) XINPUT: Adding extended input device "PS/2 Mouse" (type: MOUSE) (**) PS/2 Mouse: (accel) keeping acceleration scheme 1 (**) PS/2 Mouse: (accel) acceleration profile 0 (II) PS/2 Mouse: SetupAuto: hw.iftype is 4, hw.model is 0 (II) PS/2 Mouse: SetupAuto: protocol is SysMouse (II) UnloadModule: "mouse" (II) UnloadModule: "kbd" (=3D=3D) NV(0): Write-combining range (0x0,0x1000) was already clear From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 04:48:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A9C90147 for ; Fri, 25 Oct 2013 04:48:49 +0000 (UTC) (envelope-from kline@thought.org) Received: from p3plsmtpa08-04.prod.phx3.secureserver.net (p3plsmtpa08-04.prod.phx3.secureserver.net [173.201.193.105]) by mx1.freebsd.org (Postfix) with ESMTP id 8AB192A3B for ; Fri, 25 Oct 2013 04:48:49 +0000 (UTC) Received: from ethic.thought.org ([209.180.213.209]) by p3plsmtpa08-04.prod.phx3.secureserver.net with id hGoh1m00h4XeM0101GoisF; Thu, 24 Oct 2013 21:48:42 -0700 Date: Thu, 24 Oct 2013 21:48:04 +0000 From: Gary Kline To: Olivier Nicole Subject: Re: Remove duplicate images Message-ID: <20131024214804.GA26685@ethic.thought.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 04:48:49 -0000 Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 27 years of service to the Unix community. On Fri, Oct 25, 2013 at 10:29:02AM +0700, Olivier Nicole wrote: > Hi, > > Does it exist a tool in the ports that can help removing the duplicate > images in a directory? > > Thanks, > > Olivier > -- how about usinf "find" to locate the file? it has a builtin remove syntax. if not, then find -name "imagefile"|xargs rm might would. gary > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Twenty-seven years of service to the Unix community. http://www.thought.org/HOPE From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 04:58:40 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B5FF9431 for ; Fri, 25 Oct 2013 04:58:40 +0000 (UTC) (envelope-from olivier2553@gmail.com) Received: from mail-we0-x22b.google.com (mail-we0-x22b.google.com [IPv6:2a00:1450:400c:c03::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5359C2ABF for ; Fri, 25 Oct 2013 04:58:40 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id t60so3307270wes.30 for ; Thu, 24 Oct 2013 21:58:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=37LRc0wn1Rw27mFfb5W06NXCbF6NKxOAbTms8YrU9y0=; b=Ay/3fwIu7zIVCo37pxT4ySBSFS3OvPcYGVVCs0ED2kvbUqEnVSIriqFBUXErhzDzTc LdO3Kwo/R+isO2CIFSVROsIo68VY2cEhNspr0sZplNtzXR2zHqPA27T/JGaoTtCLxncT N/RMJTvFS/4Kuk75QZNKp+tgNP1KVs01nxeitParqN6oZfUf7cZlOpEEtc+ctcvsKJfd BT/9t06rJ93yGVDcLJ4hMUbCONaghKwTd7TIy0RFtIfaLNWYY1aOV8rp4aRQmhbdPXXI FZMr0D+dn6Cc55Ayh6nq3/AEQ8C8nev/G3KWXJo/MQ755ltWq8lWCXsFCxZ8ElYY7r4e ykwA== MIME-Version: 1.0 X-Received: by 10.180.219.8 with SMTP id pk8mr749123wic.58.1382677118839; Thu, 24 Oct 2013 21:58:38 -0700 (PDT) Sender: olivier2553@gmail.com Received: by 10.217.112.132 with HTTP; Thu, 24 Oct 2013 21:58:38 -0700 (PDT) In-Reply-To: <20131024214804.GA26685@ethic.thought.org> References: <20131024214804.GA26685@ethic.thought.org> Date: Fri, 25 Oct 2013 11:58:38 +0700 X-Google-Sender-Auth: _DgMioRwalCNmU-2eB8C2TH-5DM Message-ID: Subject: Re: Remove duplicate images From: Olivier Nicole To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 Cc: Olivier Nicole , "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 04:58:40 -0000 Gary, >> Does it exist a tool in the ports that can help removing the duplicate >> images in a directory? > how about usinf "find" to locate the file? it has a builtin remove > syntax. if not, then > > find -name "imagefile"|xargs rm > > might would. Thanks, I am looking for something a bit more sophisticated, that can find images that have been resized, rotated, gone through some transformations, changed format (gif to png), etc. Find is a bit too simple for that purpose. Best regards, Olivier From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 05:42:26 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 629D7A4A; Fri, 25 Oct 2013 05:42:26 +0000 (UTC) (envelope-from Ivailo.TANUSHEFF@raiffeisen.bg) Received: from mg2.raiffeisen.bg (mg2.raiffeisen.bg [194.48.206.15]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id ED33E2D1D; Fri, 25 Oct 2013 05:42:25 +0000 (UTC) X-WSS-ID: 0MV7MIJ-03-5Z6-02 X-M-MSG: Received: from bgrbbl2.rbblan.internal (unknown [10.3.66.167]) by mg2.raiffeisen.bg (Postfix) with ESMTP id 27C5B642582; Fri, 25 Oct 2013 08:42:19 +0300 (EEST) In-Reply-To: To: Olivier Nicole Subject: Re: Remove duplicate images From: Ivailo.TANUSHEFF@raiffeisen.bg Message-ID: Date: Fri, 25 Oct 2013 08:42:06 +0300 References: <20131024214804.GA26685@ethic.thought.org> MIME-Version: 1.0 X-KeepSent: 51037A5B:EEAB89DC-C2257C0F:001F03E4; name=$KeepSent; type=4 X-Mailer: Raiffeisenbank (Bulgaria) X-Disclaimed: 30139 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Olivier Nicole , Gary Kline , "freebsd-questions@freebsd.org" , owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 05:42:26 -0000 b3duZXItZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmcgd3JvdGUgb24gMjUuMTAuMjAxMyAw Nzo1ODozODoNCg0KPiBGcm9tOg0KPiANCj4gT2xpdmllciBOaWNvbGUgPG9saXZpZXIubmljb2xl QGNzLmFpdC5hYy50aD4NCj4gDQo+IFRvOg0KPiANCj4gR2FyeSBLbGluZSA8a2xpbmVAdGhvdWdo dC5vcmc+LCANCj4gDQo+IENjOg0KPiANCj4gT2xpdmllciBOaWNvbGUgPG9uQGNzLmFpdC5hYy50 aD4sICJmcmVlYnNkLXF1ZXN0aW9uc0BmcmVlYnNkLm9yZyIgDQo+IDxmcmVlYnNkLXF1ZXN0aW9u c0BmcmVlYnNkLm9yZz4NCj4gDQo+IERhdGU6DQo+IA0KPiAyNS4xMC4yMDEzIDA3OjU5DQo+IA0K PiBTdWJqZWN0Og0KPiANCj4gUmU6IFJlbW92ZSBkdXBsaWNhdGUgaW1hZ2VzDQo+IA0KPiBTZW50 IGJ5Og0KPiANCj4gb3duZXItZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmcNCj4gDQo+IEdh cnksDQo+IA0KPiA+PiBEb2VzIGl0IGV4aXN0IGEgdG9vbCBpbiB0aGUgcG9ydHMgdGhhdCBjYW4g aGVscCByZW1vdmluZyB0aGUgDQpkdXBsaWNhdGUNCj4gPj4gaW1hZ2VzIGluIGEgZGlyZWN0b3J5 Pw0KPiA+ICAgICAgICAgaG93IGFib3V0IHVzaW5mICJmaW5kIiB0byBsb2NhdGUgdGhlIGZpbGU/ ICBpdCBoYXMgYSBidWlsdGluIA0KcmVtb3ZlDQo+ID4gICAgICAgICBzeW50YXguICBpZiBub3Qs IHRoZW4NCj4gPg0KPiA+ICAgICAgICAgZmluZCAtbmFtZSAiaW1hZ2VmaWxlInx4YXJncyBybQ0K PiA+DQo+ID4gICAgICAgICBtaWdodCB3b3VsZC4NCj4gDQo+IFRoYW5rcywgSSBhbSBsb29raW5n IGZvciBzb21ldGhpbmcgYSBiaXQgbW9yZSBzb3BoaXN0aWNhdGVkLCB0aGF0IGNhbg0KPiBmaW5k IGltYWdlcyB0aGF0IGhhdmUgYmVlbiByZXNpemVkLCByb3RhdGVkLCBnb25lIHRocm91Z2ggc29t ZQ0KPiB0cmFuc2Zvcm1hdGlvbnMsIGNoYW5nZWQgZm9ybWF0IChnaWYgdG8gcG5nKSwgZXRjLg0K PiANCj4gRmluZCBpcyBhIGJpdCB0b28gc2ltcGxlIGZvciB0aGF0IHB1cnBvc2UuDQo+IA0KPiBC ZXN0IHJlZ2FyZHMsDQo+IA0KPiBPbGl2aWVyDQoNCkFsdGVyaW5nIGltYWdlIGFuZCBwZXJmb3Jt aW5nIHRyYW5zZm9ybWF0aW9uIG9uIGl0IHByb2R1Y2VzIGEgY29tcGxldGUgDQpkaWZmZXJlbnQg YmluYXJ5IGZpbGUgYW5kIGlmIHRoZXJlIGlzIG5vIG1ldGFkYXRhIGF0dGFjaGVkIHRvIHRoZSBp bWFnZSBJIA0KdGhpbmsgaXQgaXMgbm90IHBvc3NpYmxlIGZvciBhIHNvZnR3YXJlIHRvIGRldGVy bWluZSBpZiB0aGUgaW1hZ2VzIGFyZSB0aGUgDQpzYW1lLiBBdCBsZWFzdCBub3Qgd2l0aG91dCBz b21lIGhhcmR3YXJlIGFuZCBzb2Z0d2FyZSwgdXNlZCBieSB0aGUgdG9wIA0Kc3B5aW5nIGFnZW5j aWVzIG92ZXIgdGhlIHdvcmxkLg0KRGVwZW5kaW5nIG9uIHRoZSBzb2Z0d2FyZSB1c2VkIGZvciBp bWFnZSB0cmFuc2Zvcm1hdGlvbiB0aGVyZSBtYXkgYmUgc29tZSANCmtpbmQgb2Ygc3lzdGVtIGlu Zm9ybWF0aW9uIChtZXRhZGF0YSkgd2hpY2ggeW91IGNhbiBsb2NhdGUgaW4gZWFjaCBpbWFnZSAN CmFuZCBjb21wYXJlLiBIb3BlIHRoYXQgaGVscHMgeW91Lg0KDQpSZWdhcmRzLA0KSXZhaWxvIFRh bnVzaGVmZg0KDQoNCkRJU0NMQUlNRVI6IFRoZSBjb250ZW50cyBvZiB0aGlzIGUtbWFpbCBhcmUg aW50ZW5kZWQgZm9yIHRoZSBuYW1lZCBhZGRyZXNzZWUgb25seS4gSXQgY29udGFpbnMgaW5mb3Jt YXRpb24gdGhhdCBtYXkgYmUgcHJpdmlsZWdlZCBhbmQvb3IgY29uZmlkZW50aWFsLiBVbmxlc3Mg eW91IGFyZSB0aGUgbmFtZWQgYWRkcmVzc2VlIG9yIGFuIGF1dGhvcml6ZWQgZGVzaWduZWUsIHlv dSBtYXkgbm90IGNvcHkgb3IgdXNlIGl0LCBvciBkaXNjbG9zZSBpdCB0byBhbnlvbmUgZWxzZS4g SWYgeW91IHJlY2VpdmVkIGl0IGluIGVycm9yIHBsZWFzZSBub3RpZnkgdXMgaW1tZWRpYXRlbHkg YW5kIHRoZW4gZGVzdHJveSBpdC4gTWVzc2FnZXMgdHJhbnNwb3J0ZWQgb3ZlciB0aGUgcHVibGlj IEludGVybmV0IGFyZSBzdXNjZXB0aWJsZSB0byBhbHRlcmF0aW9uLiBSYWlmZmVpc2VuYmFuayAo QnVsZ2FyaWEpIEVBRCwgUmFpZmZlaXNlbiBBc3NldCBNYW5hZ2VtZW50IChCdWxnYXJpYSkgRUFE LCBSYWlmZmVpc2VuIEluc3VyYW5jZSBCcm9rZXIgRU9PRCwgUmFpZmZlaXNlbiBTZXJ2aWNlcyBF QUQsIFJhaWZmZWlzZW4gTGVhc2luZyBCdWxnYXJpYSBPT0QsIFJhaWZmZWlzZW4gQXV0byBMZWFz aW5nIEJ1bGdhcmlhIEVPT0QgYW5kIFJhaWZmZWlzZW4gUmVhbCBFc3RhdGUgRU9PRCBzaGFsbCBu b3QgYmUgbGlhYmxlIGZvciB0aGUgbWVzc2FnZSBpZiBhbHRlcmVkLCBjaGFuZ2VkIG9yIGZhbHNp ZmllZC4gIO/n8uHu6f7l7unlIO7hIO/05+/37/Lu7/P09OE6IPPfxN/S1sHOycXUzyDOwSDUz9fB IMXMxcvU0s/Ozs8g09/Pwt3FzsnFIMUg0NLFxM7B2s7B3sXOzyDFxMnO09TXxc7PINrBINDP08/e xc7J0SDQz8zV3sHUxcwuIPPfz8Ldxc7JxdTPINPfxN/S1sEgyc7Gz9LNwcPJ0Swgy8/R1M8gzc/W xSDEwSDC38TFINDSxcTOwdrOwd7FzsEg2sEgz8fSwc7J3sXOzyDQz8za18HOxSDJL8nMySDQz9fF 0snUxczOwS4g9yDTzNXewcog3sUgzsUg09TFINXLwdrBzsnRINDPzNXewdTFzCDOwSDUz9fBINPf z8Ldxc7JxSDJzMkgzsXHz9cgz9TP0snaydLBziDQ0sXE09TB18nUxcwsIM7RzcHUxSDQ0sHXzyDE wSDHzyDLz9DJ0sHUxSDJzMkgydrQz8za18HUxSwgy8HL1M8gySDEwSDSwdrL0snXwdTFINPfxN/S 1sHOycXUzyDN1SDQ0sXEINTSxdTJIMzJw8EuIOHLzyDT1MUgx88g0M/M1d7JzMkg0M8gx9LF28vB LCDNz8zRIMTBINXXxcTPzcnUxSDQz8TB1MXM0SDOxdrBwsHXzs8gySDEwSDJ2tTSycXUxSDUz9fB INPfz8Ldxc7JxSDP1CDTydPUxc3B1MEuIOXMxcvU0s/OzsnUxSDT38/C3cXOydEsINLB2tDSz9PU 0sHO0dfBzskg0M8g6c7UxdLOxdQgzc/HwdQgxMEgwt/EwdQg0NLPzcXO0c7JLiDywcrGwcraxc7C wc7LICji38zHwdLJ0Skg5eHkLCDywcrGwcraxc4g4dPF1CDtxc7JxNbN387UICji38zHwdLJ0Skg 5eHkLCDywcrGwcraxc4g+sHT1NLByM/XwdTFzMXOIOLSz8vF0iDl7+/kLCDywcrGwcraxc4g89/S 18nTydog5eHkLCDywcrGwcraxc4g7Mnayc7HIOLfzMfB0snRIO/v5Cwg8sHKxsHK2sXOIOHV1M8g 7Mnayc7HIOLfzMfB0snRIOXv7+QgySDywcrGwcraxc4g6c3P1Mkg5e/v5CDOxSDOz9PR1CDP1MfP 18/Szs/T1CDawSDNz8TJxsnDydLBzsksINDSz83FzsXOySDJzMkgxsHM28nGycPJ0sHOySDT38/C 3cXOydEuICA= From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 06:00:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 54E8FE6D for ; Fri, 25 Oct 2013 06:00:37 +0000 (UTC) (envelope-from jan0sch@gmx.net) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E6D492DC7 for ; Fri, 25 Oct 2013 06:00:36 +0000 (UTC) Received: from [10.154.115.161] ([89.204.138.161]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0M9s2y-1VOc4q33oO-00B0CZ for ; Fri, 25 Oct 2013 08:00:29 +0200 User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Subject: Re: Remove duplicate images From: Jens Jahnke Date: Fri, 25 Oct 2013 08:00:21 +0200 To: Olivier Nicole , freebsd-questions@freebsd.org Message-ID: <7038374d-26b2-429c-a8cc-46cee3ea3d38@email.android.com> X-Provags-ID: V03:K0:w4AJPqYqr9wsx0UU5ncCRCdoCIWZvFxvED6IsoEAqiqNHzzMj6n cm9IIMlULO95yLCWYfyVd3W5zjBQ8l6wFTXsOG5SfONJmsT6bjYyy6r8mb3R9ry3+C1oTda WJQ7Itgstzwed/Yr7SirVBbRdrGm7tTWNa1ysSaq5jAOrnsWQwGfR9wYaKjsS/gkbQ23mG8 Sbtg5/lMXh8pFMB++Dc1g== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 06:00:37 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi, if I remember correctly there was a GUI tool named gqview that had such a = functionality=2E Regards, Jens -----BEGIN PGP SIGNATURE----- Version: APG v1=2E0=2E9 iQHbBAEBCAAlBQJSagj= 0HhxKZW5zIEphaG5rZSA8amFuMHNjaEBnbXgubmV0PgAK CRA9vkl8823Ihi+tDP40TxefNHIH6= rRcxuBTmnnrCxSJ3rS8lRmb7vDW5PSA1THN QGfEEt8tVqg2DzfPnI04cMFWrPpqZkOKLj9MUEs= Y/ndtbVqod0hinxUGW/Q/oITK g9hd1jGnPeyapOF3kQV7MqazY2+qbRb8TWmKcm4g55lDy6fL7= fh4VkXJYrH2MWOQ m0+Rw/E+Mj65ryybA28/kTuNrFTZ5x41QzMnW2pvQFvbp6hNmJGCF5fl2c/= bgD1F 8MkBfNE2JzwRxlAY5eNoeq/RxkhMnWchzzVyVeLMNG42mtiFJsjbcUDH3DEsWxHl rWUr= 483xN9lQk47BlH3AP8BRkoO4SM4923UE+Br77LGx8lUvgGQeWf86X+GFQXRV RTC6prKMKHYl/N= /c0/P/nyF8l3PQa4ZSDbd7BBdSwtsyzt77EXHUUZsI8vanuMA5 FiE7aOC2ZMh85NbNXMd12OBv= 3gzIx5kxPXAZcs1EfDjfDijhbZSQBuEzNZ4RfDJH tUzk8L8O/0XRAtgbhcHthmcN0LLFz82XTx= HNAaZMtrpqQsqtqlruAHWHI7oHuw=3D=3D =3DvysG -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 06:16:24 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3BB116C0 for ; Fri, 25 Oct 2013 06:16:24 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from icp-osb-irony-out5.external.iinet.net.au (icp-osb-irony-out5.external.iinet.net.au [203.59.1.221]) by mx1.freebsd.org (Postfix) with ESMTP id B6C912EAA for ; Fri, 25 Oct 2013 06:16:23 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkYFALALalLLzmLH/2dsb2JhbABZDoJ5g0W8B4EkFnSCJQEBBAE6PwULCw0UJQ8FGDETiAEFuXqPTQeDH4ENA5gJhig7iyWCZVMo X-IronPort-AV: E=Sophos;i="4.93,568,1378828800"; d="scan'208";a="166246525" Received: from unknown (HELO smtp.phoenix) ([203.206.98.199]) by icp-osb-irony-out5.iinet.net.au with ESMTP; 25 Oct 2013 14:16:14 +0800 Received: by smtp.phoenix (Postfix, from userid 1001) id 0F1D7BF4; Fri, 25 Oct 2013 17:16:13 +1100 (EST) Date: Fri, 25 Oct 2013 17:16:12 +1100 From: andrew clarke To: Olivier Nicole Subject: Re: Remove duplicate images Message-ID: <20131025061612.GA18130@ozzmosis.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.22 (2013-10-16) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 06:16:24 -0000 On Fri 2013-10-25 10:29:02 UTC+0700, Olivier Nicole (Olivier.Nicole@cs.ait.ac.th) wrote: > Does it exist a tool in the ports that can help removing the duplicate > images in a directory? sysutils/fdupes should work for you if the checksums of the duplicate images are identical. Regards Andrew From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 06:22:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5B1DF864 for ; Fri, 25 Oct 2013 06:22:17 +0000 (UTC) (envelope-from olivier2553@gmail.com) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id ED0712F15 for ; Fri, 25 Oct 2013 06:22:16 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id cb5so567742wib.7 for ; Thu, 24 Oct 2013 23:22:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=5edg841pFg8Lr49Hrs1ciPp2ntFvevFhlxNQXsQlZWk=; b=YZT+TolqSfUdaFpNfX/vQlOTalfjouF6zg/BwAvSalwRJXoYI1NENYaDcUFFkXjTAj q4jC77eBTgYyN6HeqkwJQiizBwtUD2rAN+swWVUuMlgymBUvyvuyjesDVR76Wwsv9ORx N51odPd+ceX7j3Ft1zE8OjdRcEGYVAcu0qa187d8b+MrO1ZMHVdgkh/oWU+xG4rYa+JY Myaf3U3Pd7eejB6DLmvyw0LfbB+C9JSsmobQYOKxg7f8BdBFCZEd//DoyoC2D3oWvSBy gH5I1Amyg2/o9wzH09M47qbrogzwvWhYNQ4wjTq43gI+8k2wVfevwum+hKCj7gRxnejD 3udQ== MIME-Version: 1.0 X-Received: by 10.194.48.74 with SMTP id j10mr5763021wjn.41.1382682135384; Thu, 24 Oct 2013 23:22:15 -0700 (PDT) Sender: olivier2553@gmail.com Received: by 10.217.112.132 with HTTP; Thu, 24 Oct 2013 23:22:15 -0700 (PDT) In-Reply-To: References: <20131024214804.GA26685@ethic.thought.org> Date: Fri, 25 Oct 2013 13:22:15 +0700 X-Google-Sender-Auth: JlldsSCevzN6Z5XkAgjPqWs-fr4 Message-ID: Subject: Re: Remove duplicate images From: Olivier Nicole To: Ivailo.TANUSHEFF@raiffeisen.bg Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 06:22:17 -0000 Ivailo, >> Thanks, I am looking for something a bit more sophisticated, that can >> find images that have been resized, rotated, gone through some >> transformations, changed format (gif to png), etc. > Altering image and performing transformation on it produces a complete > different binary file and if there is no metadata attached to the image I > think it is not possible for a software to determine if the images are the > same. At least not without some hardware and software, used by the top > spying agencies over the world. Of course such software exist are are public, for example http://www.fosshub.com/VisiPics.html but it works only on Windows. I am looking for something that would work on FreeBSD. Best regards, Olivier From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 08:19:02 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 59D84E93 for ; Fri, 25 Oct 2013 08:19:02 +0000 (UTC) (envelope-from ftp51246-2575596@sh4-5.1blu.de) Received: from sh4-5.1blu.de (sh4-5.1blu.de [178.254.11.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 207902576 for ; Fri, 25 Oct 2013 08:19:01 +0000 (UTC) Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.76) (envelope-from ) id 1VZcgS-0004zt-NE for freebsd-questions@freebsd.org; Fri, 25 Oct 2013 10:23:52 +0200 Date: Fri, 25 Oct 2013 10:23:52 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: tool for checking integrity of a file system DUMP Message-ID: <20131025082352.GA15369@sh4-5.1blu.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 7.0-RELEASE (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 08:19:02 -0000 Hello, I'm using dump(8) for backups. Is there some tool to check the integrity of the produced dump? A 'restore -t -f ....' seems to look only into the header of the dump and not reading the full file... Ideally would be a binary comparisation of the files in the dump with the original files on disk, ofc directly after the dump done in single user mode. Any ideas? matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 08:45:00 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1A6AE202 for ; Fri, 25 Oct 2013 08:45:00 +0000 (UTC) (envelope-from parv@pair.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.226]) by mx1.freebsd.org (Postfix) with ESMTP id CF4CD269D for ; Fri, 25 Oct 2013 08:44:59 +0000 (UTC) Received: from [204.210.114.114] ([204.210.114.114:63029] helo=localhost.hawaii.res.rr.com) by cdptpa-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 9F/CD-19454-48F2A625; Fri, 25 Oct 2013 08:44:53 +0000 Received: by localhost.hawaii.res.rr.com (Postfix, from userid 1000) id E42145CB5; Thu, 24 Oct 2013 22:48:39 -1000 (HST) Date: Thu, 24 Oct 2013 22:48:39 -1000 From: Parv To: Olivier Nicole Subject: Re: Remove duplicate images Message-ID: <20131025084839.GA1539@holstein.holy.cow> Mail-Followup-To: Olivier Nicole , Ivailo.TANUSHEFF@raiffeisen.bg, "freebsd-questions@freebsd.org" References: <20131024214804.GA26685@ethic.thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 Cc: Ivailo.TANUSHEFF@raiffeisen.bg, "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 08:45:00 -0000 in message , wrote Olivier Nicole thusly... > > >> Thanks, I am looking for something a bit more sophisticated, > >> that can find images that have been resized, rotated, gone > >> through some transformations, changed format (gif to png), etc. I have a modified version ... http://www.bitter-almonds.com/comp/src/perl/similar-image ... of ... http://www.stonehenge.com/merlyn/LinuxMag/col50.html ... (written in Perl) that asks which files to delete when digest checksum are identical. Else, props ImageMagick window[0] with similar files shown; after quiting that window, asks about which files to remove[1]. (The removal can be made automatic at least in case of identical file size and checksum, if one desires.) See the stonehenge.com URL for background. [0] Press "space" key in ImageMagick window to navigate to the next set of images for visual comparison. [1] The numbers on console|xterm have 0-based index, while ImageMagick window has 1-based index. Yes, I need to fix this. -- From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 08:57:44 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A39685A5 for ; Fri, 25 Oct 2013 08:57:44 +0000 (UTC) (envelope-from parv@pair.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.226]) by mx1.freebsd.org (Postfix) with ESMTP id 685B82730 for ; Fri, 25 Oct 2013 08:57:43 +0000 (UTC) Received: from [204.210.114.114] ([204.210.114.114:37388] helo=localhost.hawaii.res.rr.com) by cdptpa-oedge01 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id F1/32-02506-6823A625; Fri, 25 Oct 2013 08:57:43 +0000 Received: by localhost.hawaii.res.rr.com (Postfix, from userid 1000) id D2B985CD9; Thu, 24 Oct 2013 23:01:29 -1000 (HST) Date: Thu, 24 Oct 2013 23:01:29 -1000 From: parv@pair.com To: Olivier Nicole Subject: Re: Remove duplicate images Message-ID: <20131025090129.GB1539@holstein.holy.cow> Mail-Followup-To: Olivier Nicole , "freebsd-questions@freebsd.org" References: <20131024214804.GA26685@ethic.thought.org> <20131025084839.GA1539@holstein.holy.cow> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131025084839.GA1539@holstein.holy.cow> X-RR-Connecting-IP: 107.14.168.118:25 X-Cloudmark-Score: 0 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 08:57:44 -0000 in message <20131025084839.GA1539@holstein.holy.cow>, wrote parv@p thusly... > > in message > , > wrote Olivier Nicole thusly... > > > > >> Thanks, I am looking for something a bit more sophisticated, > > >> that can find images that have been resized, rotated, gone > > >> through some transformations, changed format (gif to png), etc. > > I have a modified version ... > > http://www.bitter-almonds.com/comp/src/perl/similar-image > > ... of ... > > http://www.stonehenge.com/merlyn/LinuxMag/col50.html > > > ... (written in Perl) that asks which files to delete when digest > checksum are identical. Else, props ImageMagick window[0] with > similar files shown; after quiting that window, asks about which > files to remove[1]. See also ... SIMPLIcity by James Z W, et al. http://infolab.stanford.edu/~wangz/project/imsearch/SIMPLIcity/TPAMI/ -- From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 09:23:04 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 01E74E1F for ; Fri, 25 Oct 2013 09:23:04 +0000 (UTC) (envelope-from asv@inhio.eu) Received: from cz-prg-mx-01.inhio.eu (mail.inhio.eu [178.238.36.226]) by mx1.freebsd.org (Postfix) with ESMTP id BB32D28C0 for ; Fri, 25 Oct 2013 09:23:03 +0000 (UTC) Received: from [10.0.0.52] (unknown [10.0.0.52]) by cz-prg-mx-01.inhio.eu (Postfix) with ESMTPSA id F156A5DF43 for ; Fri, 25 Oct 2013 09:14:30 +0000 (UTC) Subject: MAC issue on FBSD 9.1-RELEASE From: ASV To: freebsd-questions Content-Type: text/plain; charset="us-ascii" Date: Fri, 25 Oct 2013 11:12:55 +0200 Message-ID: <1382692375.92947.9.camel@mailsb> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 09:23:04 -0000 Hello there, I'm wondering if something have been changed regarding MAC on FreeBSD 9.1-RELEASE. Since I've executed freebsd-update basically updating from the first release to the p7, I cannot longer login with my restricted accounts. I always get: > _secure_path: cannot stat /home/macuser/.login_conf: Permission denied > login: LOGIN macuser REFUSED (HOMEDIR) ON TTY ttyv1 and on the login screen (user tty) I get: > login: Could not determine audit condition no matter if the file is there or not, neither which DAC/MAC permissions are there, no matter if I disable the ":requirehome:" and the ":ttys.allow:" directives on login.conf. Not even relabling the entire FS helped. I've spent several hours now to figure out but at this point seems to me that the update screwed everything up somehow. Does anyone have any idea of what's going on? Any input would be REALLY appreciated. Thanks in advance. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 09:37:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B196A234; Fri, 25 Oct 2013 09:37:08 +0000 (UTC) (envelope-from tg@gmplib.org) Received: from shell.gmplib.org (gmplib-02.nada.kth.se [130.237.222.242]) by mx1.freebsd.org (Postfix) with ESMTP id 987E42972; Fri, 25 Oct 2013 09:37:07 +0000 (UTC) Received: by shell.gmplib.org (Postfix, from userid 1001) id E1A611E0BF; Fri, 25 Oct 2013 11:36:59 +0200 (CEST) To: freebsd-questions@freebsd.org, bapt@FreeBSD.org Subject: Re: MULX on haswell triggers ILLOP References: <86wql4onvy.fsf@shell.gmplib.org> <867gd3lw89.fsf@shell.gmplib.org> <20131023202300.7d316d29@kalimero.tijl.coosemans.org> From: Torbjorn Granlund Sender: tg@gmplib.org Date: Fri, 25 Oct 2013 11:36:59 +0200 In-Reply-To: <20131023202300.7d316d29@kalimero.tijl.coosemans.org> (Tijl Coosemans's message of "Wed\, 23 Oct 2013 20\:23\:00 +0200") Message-ID: <86k3h1pu84.fsf@shell.gmplib.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 09:37:08 -0000 Tijl Coosemans writes: A comment on that PR says that it has been fixed in http://svnweb.freebsd.org/base?view=3Drevision&revision=3D228063 =20=20 I don't know if it's feasible to merge this to stable/9. Committer CCed. =20=20 Thanks for your reply. You should notice that the PR is in the "open" state. That usually means that it has not been analysed, and that no action has been taken. If the PR is taken care of, one would assume that either, (1) the bug would be fixed. I'd say that'd need 10 minutes for a reasonably talented hacker, or (2) that the documentation is updated to reflect that argument 2 and 3 are ignored. That >=3D 4 FreeBSD releases have been made since this became known makes me worry about how FreeBSD is maintained these days. I cannot believe that they left the bug there without at least fixing the documentation. I have decided to not implement further workarounds for GMP; FreeBSD needs to address its own bugs. GMP 5.2 and later running on an Intel Haswell will need NetBSD, OpenBSD, Solaris, GNU/Linux, or even Windoze to operate. On FreeBSD a 'make check' looks like this: PASS: t-asmtype Illegal instruction FAIL: t-aors_1 Illegal instruction FAIL: t-divrem_1 Illegal instruction FAIL: t-mod_1 Illegal instruction FAIL: t-fat Illegal instruction FAIL: t-get_d PASS: t-instrument Illegal instruction FAIL: t-iord_u PASS: t-mp_bases Illegal instruction FAIL: t-perfsqr Illegal instruction FAIL: t-scan Illegal instruction FAIL: logic ... --=20 Torbj=C3=B6rn From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 10:34:09 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0164CE1C for ; Fri, 25 Oct 2013 10:34:09 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.org [108.92.93.123]) by mx1.freebsd.org (Postfix) with ESMTP id 98F842C91 for ; Fri, 25 Oct 2013 10:34:08 +0000 (UTC) Received: from [10.0.1.4] (static-71-177-216-148.lsanca.fios.verizon.net [71.177.216.148]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id r9PABfa1029966 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Fri, 25 Oct 2013 03:11:44 -0700 (PDT) (envelope-from bc979@lafn.org) From: Doug Hardie Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Dumpdates Message-Id: <2CD12742-C62F-464F-AB4D-3B2949A490F9@lafn.org> Date: Fri, 25 Oct 2013 03:11:40 -0700 To: "freebsd-questions@freebsd.org Questions" Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) X-Mailer: Apple Mail (2.1510) X-Virus-Scanned: clamav-milter 0.97 at zoom.lafn.org X-Virus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 10:34:09 -0000 Is there an issue with dump updating dumpdates on 9.1 and 9.2. Both of = those systems are writing /etc/dumpdates, but are using the time of 0 so = the output from dump looks like: Fri Oct 25 00:45:00 PDT 2013 DUMP: Date of this level 0 dump: the epoch DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/ada0p2 (/) to = /usr2/backups/zool-root.tdump DUMP: mapping (Pass I) [regular files] DUMP: Cache 16 MB, blocksize =3D 65536 DUMP: mapping (Pass II) [directories] DUMP: estimated 8487220 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: 16.36% done, finished in 0:25 at Fri Oct 25 01:16:02 2013 DUMP: 36.55% done, finished in 0:17 at Fri Oct 25 01:12:50 2013 DUMP: 59.63% done, finished in 0:10 at Fri Oct 25 01:10:38 2013 DUMP: 91.21% done, finished in 0:01 at Fri Oct 25 01:07:24 2013 DUMP: DUMP: 8492396 tape blocks on 1 volume DUMP: finished in 1289 seconds, throughput 6588 KBytes/sec DUMP: level 0 dump on the epoch DUMP: Closing /usr2/backups/zool-root.tdump DUMP: DUMP IS DONE The first line is from the date command. Dumpdates always show a 1969 = (the epoch) date.= From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 12:59:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5882A4D8 for ; Fri, 25 Oct 2013 12:59:59 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 110882489 for ; Fri, 25 Oct 2013 12:59:58 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r9PCxvTF068126; Fri, 25 Oct 2013 06:59:57 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r9PCxuhd068123; Fri, 25 Oct 2013 06:59:57 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 25 Oct 2013 06:59:56 -0600 (MDT) From: Warren Block To: Matthias Apitz Subject: Re: tool for checking integrity of a file system DUMP In-Reply-To: <20131025082352.GA15369@sh4-5.1blu.de> Message-ID: References: <20131025082352.GA15369@sh4-5.1blu.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 25 Oct 2013 06:59:57 -0600 (MDT) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 12:59:59 -0000 On Fri, 25 Oct 2013, Matthias Apitz wrote: > I'm using dump(8) for backups. Is there some tool to check the integrity > of the produced dump? A 'restore -t -f ....' seems to look only into the > header of the dump and not reading the full file... > > Ideally would be a binary comparisation of the files in the dump with > the original files on disk, ofc directly after the dump done in single > user mode. It may be possible to use mtree(8)'s cksum to compare the original files with those in the backup. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 13:04:34 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3944E79F for ; Fri, 25 Oct 2013 13:04:34 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id ECC412505 for ; Fri, 25 Oct 2013 13:04:33 +0000 (UTC) Received: from [89.204.135.78] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1VZh3w-0008FS-1I; Fri, 25 Oct 2013 15:04:24 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id r9PD4Lwi001977; Fri, 25 Oct 2013 15:04:22 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id r9PD4KSd001976; Fri, 25 Oct 2013 15:04:20 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Fri, 25 Oct 2013 15:04:20 +0200 From: Matthias Apitz To: Warren Block Subject: Re: tool for checking integrity of a file system DUMP Message-ID: <20131025130419.GA1969@tiny.Sisis.de> References: <20131025082352.GA15369@sh4-5.1blu.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 10.0-CURRENT r235646 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.135.78 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 13:04:34 -0000 El día Friday, October 25, 2013 a las 06:59:56AM -0600, Warren Block escribió: > On Fri, 25 Oct 2013, Matthias Apitz wrote: > > > I'm using dump(8) for backups. Is there some tool to check the integrity > > of the produced dump? A 'restore -t -f ....' seems to look only into the > > header of the dump and not reading the full file... > > > > Ideally would be a binary comparisation of the files in the dump with > > the original files on disk, ofc directly after the dump done in single > > user mode. > > It may be possible to use mtree(8)'s cksum to compare the original files > with those in the backup. Sorry for not beeing precise enough: I did not want to restore the files to disk, just reading the dump and comparing with the original. Would be nice if restore would have an option for this; -N is not strong enough I think. matthias -- Sent from my FreeBSD netbook Matthias Apitz, , http://www.unixarea.de/ f: +49-170-4527211 UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 13:18:57 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id AE575D2A for ; Fri, 25 Oct 2013 13:18:57 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6F7FE260C for ; Fri, 25 Oct 2013 13:18:57 +0000 (UTC) Received: from [89.204.135.78] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1VZhHz-0000bD-9g for freebsd-questions@freebsd.org; Fri, 25 Oct 2013 15:18:55 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id r9PDIrSH002010 for ; Fri, 25 Oct 2013 15:18:53 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id r9PDIq4D002009 for freebsd-questions@freebsd.org; Fri, 25 Oct 2013 15:18:52 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Fri, 25 Oct 2013 15:18:52 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: something in ports for presenting a DB schema Message-ID: <20131025131851.GA1999@tiny.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 10.0-CURRENT r235646 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.135.78 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 13:18:57 -0000 Hello, I have a relational DB (Sybase) of around 50 tables and would like to draw some graphic of the relation between various table / columns; it is not so important that the tool itself has a graphical editor (I'm used to work with ASCII files, vim and groff), but the output must be somehow a graphic, PNG or PDF. Do we have something for this in our ports? Thx matthias -- Sent from my FreeBSD netbook Matthias Apitz, , http://www.unixarea.de/ f: +49-170-4527211 UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 14:07:43 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 42ABB7F0 for ; Fri, 25 Oct 2013 14:07:43 +0000 (UTC) (envelope-from freebsd@lidstrom.eu) Received: from ch-smtp04.sth.basefarm.net (ch-smtp04.sth.basefarm.net [80.76.153.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BF617291D for ; Fri, 25 Oct 2013 14:07:42 +0000 (UTC) Received: from c83-251-32-230.bredband.comhem.se ([83.251.32.230]:52896 helo=zimbra01.henriklidstrom.se) by ch-smtp04.sth.basefarm.net with esmtp (Exim 4.80.1) (envelope-from ) id 1VZi34-0003qC-Dg; Fri, 25 Oct 2013 16:07:37 +0200 Received: from localhost (localhost [127.0.0.1]) by zimbra01.henriklidstrom.se (Postfix) with ESMTP id 06DA212359D; Fri, 25 Oct 2013 16:07:27 +0200 (CEST) Received: from zimbra01.henriklidstrom.se ([127.0.0.1]) by localhost (zimbra01.henriklidstrom.se [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id TZBuOpPwB3Qn; Fri, 25 Oct 2013 16:07:26 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra01.henriklidstrom.se (Postfix) with ESMTP id 5AE451235B6; Fri, 25 Oct 2013 16:07:26 +0200 (CEST) X-Virus-Scanned: amavisd-new at zimbra01.henriklidstrom.se Received: from zimbra01.henriklidstrom.se ([127.0.0.1]) by localhost (zimbra01.henriklidstrom.se [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id yf3tit4dJgBB; Fri, 25 Oct 2013 16:07:26 +0200 (CEST) Received: from [10.102.2.153] (mgt01.telecomputing.se [84.17.194.80]) by zimbra01.henriklidstrom.se (Postfix) with ESMTPSA id 18A5912359D; Fri, 25 Oct 2013 16:07:26 +0200 (CEST) Message-ID: <526A7B1D.8090108@lidstrom.eu> Date: Fri, 25 Oct 2013 16:07:25 +0200 From: =?ISO-8859-1?Q?Henrik_Lidstr=F6m?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: Matthias Apitz , freebsd-questions@freebsd.org Subject: Re: something in ports for presenting a DB schema References: <20131025131851.GA1999@tiny.Sisis.de> In-Reply-To: <20131025131851.GA1999@tiny.Sisis.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 83.251.32.230 X-Scan-Result: No virus found in message 1VZi34-0003qC-Dg. X-Scan-Signature: ch-smtp04.sth.basefarm.net 1VZi34-0003qC-Dg d68c4ec3424c5b83c283bba55d93848e X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: freebsd@lidstrom.eu List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 14:07:43 -0000 On 10/25/13 15:18, Matthias Apitz wrote: > Hello, > > I have a relational DB (Sybase) of around 50 tables and would like to > draw some graphic of the relation between various table / columns; > it is not so important that the tool itself has a graphical editor (I'm > used to work with ASCII files, vim and groff), but the output must be > somehow a graphic, PNG or PDF. > > Do we have something for this in our ports? > > Thx > > matthias DIa maybe? https://projects.gnome.org/dia/ /Henrik From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 15:23:35 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D7B3670D for ; Fri, 25 Oct 2013 15:23:35 +0000 (UTC) (envelope-from david.i.noel@gmail.com) Received: from mail-wg0-x232.google.com (mail-wg0-x232.google.com [IPv6:2a00:1450:400c:c00::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 771152D65 for ; Fri, 25 Oct 2013 15:23:35 +0000 (UTC) Received: by mail-wg0-f50.google.com with SMTP id n12so3990679wgh.17 for ; Fri, 25 Oct 2013 08:23:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=dKcsaXlRkN5GCaJ8/iOuvOg7W/PTDFGJfwSsEOX9ZJU=; b=aDhgsKHDV7RyYvu9kzpLLaPPh4UI4RL77CcKjseBs1KnfX+YCG3jylivwzZEQKytu/ +kCorlb6HtPPkofI3mjOc4dHhn9DtIE8kzkVl8xesvO032Tsixwr5p/sh3K5iGT7ovJA 7kA2wI91ITZJsSYbXZBNsaIqbthXAAqzzO9Yjow90xOoiBCWvUI4SiGCw1FzA6ijYt2M m0sbGMR0QCDc/pR5htzCr+VrbYUc0wfQG1+7Rhno6JRenBSwHshbB/c5dHFQV4MnOfXj xnHfAuPE2u9RKUsZz2EM75ZwPhx5CYIfROWXLAADeAaC1zgfz6LaSINKKf1ZBuPAzat8 MPsQ== MIME-Version: 1.0 X-Received: by 10.180.219.8 with SMTP id pk8mr2986279wic.58.1382714613763; Fri, 25 Oct 2013 08:23:33 -0700 (PDT) Received: by 10.216.166.68 with HTTP; Fri, 25 Oct 2013 08:23:33 -0700 (PDT) In-Reply-To: <1382692375.92947.9.camel@mailsb> References: <1382692375.92947.9.camel@mailsb> Date: Fri, 25 Oct 2013 10:23:33 -0500 Message-ID: Subject: Re: MAC issue on FBSD 9.1-RELEASE From: David Noel To: ASV Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: David.I.Noel@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 15:23:35 -0000 > I'm wondering if something have been changed regarding MAC on FreeBSD > 9.1-RELEASE. Since I've executed freebsd-update basically updating from > the first release to the p7, I cannot longer login with my restricted > accounts. > I always get: > >> _secure_path: cannot stat /home/macuser/.login_conf: Permission denied >> login: LOGIN macuser REFUSED (HOMEDIR) ON TTY ttyv1 > > and on the login screen (user tty) I get: > >> login: Could not determine audit condition > > no matter if the file is there or not, neither which DAC/MAC permissions > are there, no matter if I disable the ":requirehome:" and the > ":ttys.allow:" directives on login.conf. Not even relabling the entire > FS helped. > > I've spent several hours now to figure out but at this point seems to me > that the update screwed everything up somehow. > Does anyone have any idea of what's going on? Any input would be REALLY > appreciated. I've had my fair share of troubles with FreeBSD's MAC and unfortunately wound up just disabling it entirely. While I don't have a solution to your specific problem I would suggest cc'ing trustedbsd-discuss@freebsd.org. You *may* find someone there who could help, though the last time I tried to hail anyone on it it was all but dead. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 17:38:26 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9E9439BA for ; Fri, 25 Oct 2013 17:38:26 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 51A9025FA for ; Fri, 25 Oct 2013 17:38:26 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r9PHcOTl070456; Fri, 25 Oct 2013 11:38:24 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r9PHcO0s070453; Fri, 25 Oct 2013 11:38:24 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 25 Oct 2013 11:38:24 -0600 (MDT) From: Warren Block To: Matthias Apitz Subject: Re: tool for checking integrity of a file system DUMP In-Reply-To: <20131025130419.GA1969@tiny.Sisis.de> Message-ID: References: <20131025082352.GA15369@sh4-5.1blu.de> <20131025130419.GA1969@tiny.Sisis.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="3512871622-1514343918-1382722704=:70337" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 25 Oct 2013 11:38:24 -0600 (MDT) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 17:38:26 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --3512871622-1514343918-1382722704=:70337 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT On Fri, 25 Oct 2013, Matthias Apitz wrote: > El día Friday, October 25, 2013 a las 06:59:56AM -0600, Warren Block escribió: > >> On Fri, 25 Oct 2013, Matthias Apitz wrote: >> >>> I'm using dump(8) for backups. Is there some tool to check the integrity >>> of the produced dump? A 'restore -t -f ....' seems to look only into the >>> header of the dump and not reading the full file... >>> >>> Ideally would be a binary comparisation of the files in the dump with >>> the original files on disk, ofc directly after the dump done in single >>> user mode. >> >> It may be possible to use mtree(8)'s cksum to compare the original files >> with those in the backup. > > Sorry for not beeing precise enough: I did not want to restore the files > to disk, just reading the dump and comparing with the original. Would be > nice if restore would have an option for this; -N is not strong enough I > think. I was thinking the output of restore could be piped into mtree, and that could be compared to the mtree output on the actual filesystem. --3512871622-1514343918-1382722704=:70337-- From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 18:26:58 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 38976809 for ; Fri, 25 Oct 2013 18:26:58 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F104928A2 for ; Fri, 25 Oct 2013 18:26:57 +0000 (UTC) Received: from r56.edvax.de (port-92-195-117-74.dynamic.qsc.de [92.195.117.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 8136027661; Fri, 25 Oct 2013 20:26:50 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r9PIQh3B002013; Fri, 25 Oct 2013 20:26:43 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 25 Oct 2013 20:26:43 +0200 From: Polytropon To: Matthias Apitz Subject: Re: something in ports for presenting a DB schema Message-Id: <20131025202643.7114af25.freebsd@edvax.de> In-Reply-To: <20131025131851.GA1999@tiny.Sisis.de> References: <20131025131851.GA1999@tiny.Sisis.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 18:26:58 -0000 On Fri, 25 Oct 2013 15:18:52 +0200, Matthias Apitz wrote: > > Hello, > > I have a relational DB (Sybase) of around 50 tables and would like to > draw some graphic of the relation between various table / columns; > it is not so important that the tool itself has a graphical editor (I'm > used to work with ASCII files, vim and groff), but the output must be > somehow a graphic, PNG or PDF. > > Do we have something for this in our ports? Even though it's not primarily intended for that specific purpose, you could use xfig. Also possible: LibreOffice's drawing components, then export to PDF. I know there is some toolkit that can be used in combination with LaTeX, its output is typically EPS (use "convert" from ImageMagick to turn that into PNG if required), but sadly I just can't remember the name... It's a typical tool used by "science people" and "documentation people" to draw such diagrams to be included in documents... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 18:32:57 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8F799904 for ; Fri, 25 Oct 2013 18:32:57 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pa0-x22e.google.com (mail-pa0-x22e.google.com [IPv6:2607:f8b0:400e:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 68454290F for ; Fri, 25 Oct 2013 18:32:57 +0000 (UTC) Received: by mail-pa0-f46.google.com with SMTP id rd3so4089636pab.19 for ; Fri, 25 Oct 2013 11:32:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=szXcDxUSY59Pm6lddrx1bdwmePjyYSxCg+tGC+/BVpk=; b=zB/A4o3p293CX4ZPDlA64RBeq5GtuZjj6jH7tR/7fSOJoZe5hiOrArRxfXTz7J4Qwt 2bkQcSh57bTom1RhvFpmoHTf4xaaFn43BIT94QGs4KGJExM1KQ/aT7EHYNJWCHavLFcm W0mPd9rrl2aDqNo2mJBN8i/xot3znFZUj8q7WC6LfLvrjWuP6Nj3L949eFxtnPeDUERB Kg1bro0D5bV90gdp6jCWG85vfvTcTC4i65tsMfRDOdMut9zFDcyKHvckrr9n3evT223R yXUFuhlk07zRo+c6mDBRa+62qWVeOHYKBhwRdoFUONaygsv00o9oJo1j39AZ/BixSCK0 QvFA== MIME-Version: 1.0 X-Received: by 10.66.26.212 with SMTP id n20mr11813174pag.146.1382725977071; Fri, 25 Oct 2013 11:32:57 -0700 (PDT) Received: by 10.70.92.79 with HTTP; Fri, 25 Oct 2013 11:32:57 -0700 (PDT) In-Reply-To: <20131025131851.GA1999@tiny.Sisis.de> References: <20131025131851.GA1999@tiny.Sisis.de> Date: Fri, 25 Oct 2013 13:32:57 -0500 Message-ID: Subject: Re: something in ports for presenting a DB schema From: Adam Vande More To: Matthias Apitz Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 18:32:57 -0000 On Fri, Oct 25, 2013 at 8:18 AM, Matthias Apitz wrote: > > Hello, > > I have a relational DB (Sybase) of around 50 tables and would like to > draw some graphic of the relation between various table / columns; > it is not so important that the tool itself has a graphical editor (I'm > used to work with ASCII files, vim and groff), but the output must be > somehow a graphic, PNG or PDF. > > Do we have something for this in our ports? > I think I remember using this years ago: java/dbviz -- Adam From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 18:42:00 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E0739FEF for ; Fri, 25 Oct 2013 18:42:00 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A3358299F for ; Fri, 25 Oct 2013 18:42:00 +0000 (UTC) Received: from r56.edvax.de (port-92-195-117-74.dynamic.qsc.de [92.195.117.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 01FDD3CC3F; Fri, 25 Oct 2013 20:41:52 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r9PIfjRb002088; Fri, 25 Oct 2013 20:41:45 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 25 Oct 2013 20:41:45 +0200 From: Polytropon To: andrew clarke Subject: Re: Remove duplicate images Message-Id: <20131025204145.0aae1165.freebsd@edvax.de> In-Reply-To: <20131025061612.GA18130@ozzmosis.com> References: <20131025061612.GA18130@ozzmosis.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Olivier Nicole , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 18:42:00 -0000 On Fri, 25 Oct 2013 17:16:12 +1100, andrew clarke wrote: > On Fri 2013-10-25 10:29:02 UTC+0700, Olivier Nicole (Olivier.Nicole@cs.ait.ac.th) wrote: > > > Does it exist a tool in the ports that can help removing the duplicate > > images in a directory? > > sysutils/fdupes should work for you if the checksums of the duplicate > images are identical. In this context, it's worth mentioning dupemap and filedup. Still I can't imagine they work reliably for comparison of image _content_... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 18:44:48 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8E1B526F for ; Fri, 25 Oct 2013 18:44:48 +0000 (UTC) (envelope-from kline@thought.org) Received: from p3plsmtpa06-02.prod.phx3.secureserver.net (p3plsmtpa06-02.prod.phx3.secureserver.net [173.201.192.103]) by mx1.freebsd.org (Postfix) with ESMTP id 68E2E29E0 for ; Fri, 25 Oct 2013 18:44:48 +0000 (UTC) Received: from ethic.thought.org ([209.180.213.209]) by p3plsmtpa06-02.prod.phx3.secureserver.net with id hWjA1m00G4XeM0101WjAmQ; Fri, 25 Oct 2013 11:43:12 -0700 Date: Fri, 25 Oct 2013 11:42:33 +0000 From: Gary Kline To: Polytropon Subject: Re: howto recognize the Shift and Alt keys when /pressed\ Message-ID: <20131025114233.GA28606@ethic.thought.org> References: <20131021161200.GA18556@ethic.thought.org> <20131022012804.98a017fa.freebsd@edvax.de> <20131021164926.GA19974@ethic.thought.org> <20131022125901.6f3366fd.freebsd@edvax.de> <20131022121555.GA24386@ethic.thought.org> <20131022221027.30108304.freebsd@edvax.de> <20131023163805.GA7143@ethic.thought.org> <20131024021132.44324417.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131024021132.44324417.freebsd@edvax.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 18:44:48 -0000 Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 27 years of service to the Unix community. my shoulder went out, sorry!! On Thu, Oct 24, 2013 at 02:11:32AM +0200, Polytropon wrote: > On Wed, 23 Oct 2013 16:38:05 +0000, Gary Kline wrote: > Linux, you should make sure you rely on a sound output system > that is present on all of them (requires 3rd party library). > The same will probably be true for accessing the keyboard in > a "low level" manner, but I'm almost sure this works very > different in Linux and the BSDs... > > > you need to get your hands dirty in hardware-related system > source code, for example the keyboard input driver (one level > above atkbd and ukbd, one level below terminal I/O). > > > > > my c = getch() isnt doing anything with the modifier keys. > > Of course not. It simply reads from the keyboard input buffer > (which is a _character buffer_), and the modifier keys don't > add anything to that buffer. > > > > > *this* may be why xset fails. there may have been no generic > > way of getting xset working as broadly as it had to, ?, so > > the keyclick stuff wasnt touched. > > What are you using xset for? I know there's "xset c 100", but > I never saw that working... > > > > > FWIW: I've got the arrow keys working. page up/down, home, > > end too. > > Those have equivalents in ncurses and also send data to the > keyboard buffer (usually a two byte sequence or escape codes). > > > > > wrote was for the PDP-8! IF I can use the 64bit intel > > assembler to grab the keys I want and return to the rest > > of my C/ncurses prog, that might work. > > > > anybody know if this makes any sense? > > No need to re-invent the wheel here. Just "attach to" the > responsible components of the OS mentioned above. In C. :-) > > I wonder if I could take the src of xev.c and then, seeing what it does when I click on CTRL, ATL, CAPS LOCK, anf SHIFT. MAke any sense? > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Twenty-seven years of service to the Unix community. http://www.thought.org/HOPE From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 18:51:07 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 197863B8 for ; Fri, 25 Oct 2013 18:51:07 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E3EE92A6D for ; Fri, 25 Oct 2013 18:51:06 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id fa1so2594268pad.41 for ; Fri, 25 Oct 2013 11:51:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=b1bBxKkIY1YhdN5KvRhd0WUCCR1ZEQqQ9+nNL+B2fv8=; b=c8EQU6ptWJVwZr1Ge95m8WrwZkby9WV5pRv9lygSy6IVFTPPQ3wIOIU+4RX94v3f7F /ueBNSw+2WK4gah7pUtiU6wJ6bjoGyGg+9/Z0juRe37TZclNJZ8jP+ucwH7bF4tGHWV8 43qYwjLv7Ay1p4WO8tAxFDKYTd55GvPcsx+3yOEhtjBR8Cjh2XHFKtWjWGkJBzxyY7QW y5iWbjclHbvufG1ob7GwbzXAmDuknqyV22LYIkLBZiv9lM5lFUQMHRNeley3cvha4a4p DkhErhyrPCcmJipQaJyGViXLQcK6j2/jqDqaIq276rdROjuNvWvyv0IpwilQe8s9MFqg 9ydg== X-Gm-Message-State: ALoCoQn1jPL0mKWF7qLRSE5rVx0WC5qPriWUO/CtfsSJH+XroQ+yRsYCeSDN/LSBQPIwDzQ/7Hij MIME-Version: 1.0 X-Received: by 10.66.100.227 with SMTP id fb3mr12346954pab.26.1382727066065; Fri, 25 Oct 2013 11:51:06 -0700 (PDT) Received: by 10.66.231.42 with HTTP; Fri, 25 Oct 2013 11:51:05 -0700 (PDT) In-Reply-To: <526A7B1D.8090108@lidstrom.eu> References: <20131025131851.GA1999@tiny.Sisis.de> <526A7B1D.8090108@lidstrom.eu> Date: Fri, 25 Oct 2013 14:51:05 -0400 Message-ID: Subject: Re: something in ports for presenting a DB schema From: Alejandro Imass To: freebsd@lidstrom.eu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Matthias Apitz , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 18:51:07 -0000 On Fri, Oct 25, 2013 at 10:07 AM, Henrik Lidstr=F6m w= rote: > On 10/25/13 15:18, Matthias Apitz wrote: >> >> Hello, >> [...] >> Do we have something for this in our ports? >> >> Thx >> >> matthias > > > DIa maybe? > https://projects.gnome.org/dia/ > Two hands down. We use DIA for DB modelling using UML Class diagrams and then dia2code to create the DDL. It even supports Foreign Keys and the surrogate model by using class associations.. I should know I patched dia2code for that purpose ;-) Best, --=20 Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 19:26:39 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5D235E8 for ; Fri, 25 Oct 2013 19:26:39 +0000 (UTC) (envelope-from dnewman@networktest.com) Received: from mail5.networktest.com (mail5.networktest.com [204.109.60.142]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 37F462C24 for ; Fri, 25 Oct 2013 19:26:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail5.networktest.com (Postfix) with ESMTP id 529472FCCA0 for ; Fri, 25 Oct 2013 12:26:32 -0700 (PDT) Received: from mail5.networktest.com ([127.0.0.1]) by localhost (mail5.networktest.com [127.0.0.1]) (maiad, port 10024) with ESMTP id 16082-02 for ; Fri, 25 Oct 2013 12:26:32 -0700 (PDT) Received: from dhcp130.eng.networktest.com (ns.networktest.com [205.147.16.129]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: dnewman@networktest.com) by mail5.networktest.com (Postfix) with ESMTPSA id 121112FCC96 for ; Fri, 25 Oct 2013 12:26:32 -0700 (PDT) Message-ID: <526AC5E7.3080900@networktest.com> Date: Fri, 25 Oct 2013 12:26:31 -0700 From: David Newman Organization: Network Test Inc. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: viewing major and minor device numbers X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 19:26:39 -0000 FreeBSD 9.2-RELEASE, amd64 To create some character special devices in a chroot environment, I've previously used mknod, but now can't find the major and minor device numbers. The ls manpage says these numbers should be displayed in the size field. However, I'm seeing only one hex value, e.g.: $ ls -l /dev/null crw-rw-rw- 1 root wheel 0x13 Oct 25 12:22 /dev/null So I don't know what major and minor values to feed mknod. Or is there another way to do this? thanks dn From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 19:32:26 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 442721C3 for ; Fri, 25 Oct 2013 19:32:26 +0000 (UTC) (envelope-from dnewman@networktest.com) Received: from mail5.networktest.com (mail5.networktest.com [204.109.60.142]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1EEBE2C7C for ; Fri, 25 Oct 2013 19:32:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail5.networktest.com (Postfix) with ESMTP id 5270B2FCCA0 for ; Fri, 25 Oct 2013 12:32:25 -0700 (PDT) Received: from mail5.networktest.com ([127.0.0.1]) by localhost (mail5.networktest.com [127.0.0.1]) (maiad, port 10024) with ESMTP id 16082-04 for ; Fri, 25 Oct 2013 12:32:25 -0700 (PDT) Received: from dhcp130.eng.networktest.com (ns.networktest.com [205.147.16.129]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: dnewman@networktest.com) by mail5.networktest.com (Postfix) with ESMTPSA id 115A12FCC96 for ; Fri, 25 Oct 2013 12:32:25 -0700 (PDT) Message-ID: <526AC748.6010805@networktest.com> Date: Fri, 25 Oct 2013 12:32:24 -0700 From: David Newman Organization: Network Test Inc. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: (de)centralized ports management with portsnap X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 19:32:26 -0000 I'm setting up a group of FreeBSD servers that use 'portsnap fetch' and then 'portsnap update' to refresh their ports trees. Can I set up a local master to avoid pulling updates multiple times? If portsnap isn't the right tool for this, what is? Apologies if this has been asked before; this seems like a standard problem, but I didn't see an answer in a web search, the portsnap manpage, or in the Michael W. Lucas FreeBSD book. thanks dn From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 19:35:07 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2D4BC276 for ; Fri, 25 Oct 2013 19:35:07 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E54B22C98 for ; Fri, 25 Oct 2013 19:35:06 +0000 (UTC) Received: from r56.edvax.de (port-92-195-117-74.dynamic.qsc.de [92.195.117.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 278503CC83; Fri, 25 Oct 2013 21:35:04 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r9PJYue2002268; Fri, 25 Oct 2013 21:34:56 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 25 Oct 2013 21:34:56 +0200 From: Polytropon To: David Newman Subject: Re: viewing major and minor device numbers Message-Id: <20131025213456.13153587.freebsd@edvax.de> In-Reply-To: <526AC5E7.3080900@networktest.com> References: <526AC5E7.3080900@networktest.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 19:35:07 -0000 On Fri, 25 Oct 2013 12:26:31 -0700, David Newman wrote: > FreeBSD 9.2-RELEASE, amd64 > > To create some character special devices in a chroot environment, I've > previously used mknod, but now can't find the major and minor device > numbers. > > The ls manpage says these numbers should be displayed in the size field. > However, I'm seeing only one hex value, e.g.: > > $ ls -l /dev/null > crw-rw-rw- 1 root wheel 0x13 Oct 25 12:22 /dev/null > > So I don't know what major and minor values to feed mknod. Or is there > another way to do this? Do you have any "suspicious" ls alias or options preconfigured? That output looks a bit strange, it should be something like this (example from a host system, not from inside a jail): % /bin/ls -laFG /dev/null crw-rw-rw- 1 root wheel 0, 17 Oct 25 21:33 /dev/null ^ ^^ This is the binary /bin/ls, no "shell builtin" or the like, called from the C shell; OS is FreeBSD 8, x86. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 20:40:58 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 56DCD933 for ; Fri, 25 Oct 2013 20:40:58 +0000 (UTC) (envelope-from dnewman@networktest.com) Received: from mail5.networktest.com (mail5.networktest.com [204.109.60.142]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2E7D42FC5 for ; Fri, 25 Oct 2013 20:40:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail5.networktest.com (Postfix) with ESMTP id D79172FCCA0 for ; Fri, 25 Oct 2013 13:40:56 -0700 (PDT) Received: from mail5.networktest.com ([127.0.0.1]) by localhost (mail5.networktest.com [127.0.0.1]) (maiad, port 10024) with ESMTP id 16543-07 for ; Fri, 25 Oct 2013 13:40:56 -0700 (PDT) Received: from dhcp130.eng.networktest.com (ns.networktest.com [205.147.16.129]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: dnewman@networktest.com) by mail5.networktest.com (Postfix) with ESMTPSA id 92C1C2FCC96 for ; Fri, 25 Oct 2013 13:40:56 -0700 (PDT) Message-ID: <526AD757.7010704@networktest.com> Date: Fri, 25 Oct 2013 13:40:55 -0700 From: David Newman Organization: Network Test Inc. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: viewing major and minor device numbers References: <526AC5E7.3080900@networktest.com> <20131025213456.13153587.freebsd@edvax.de> In-Reply-To: <20131025213456.13153587.freebsd@edvax.de> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 20:40:58 -0000 On 10/25/13 12:34 PM, Polytropon wrote: > On Fri, 25 Oct 2013 12:26:31 -0700, David Newman wrote: >> FreeBSD 9.2-RELEASE, amd64 >> >> To create some character special devices in a chroot environment, I've >> previously used mknod, but now can't find the major and minor device >> numbers. >> >> The ls manpage says these numbers should be displayed in the size field. >> However, I'm seeing only one hex value, e.g.: >> >> $ ls -l /dev/null >> crw-rw-rw- 1 root wheel 0x13 Oct 25 12:22 /dev/null >> >> So I don't know what major and minor values to feed mknod. Or is there >> another way to do this? > > Do you have any "suspicious" ls alias or options preconfigured? > That output looks a bit strange, it should be something like > this (example from a host system, not from inside a jail): > > % /bin/ls -laFG /dev/null > crw-rw-rw- 1 root wheel 0, 17 Oct 25 21:33 /dev/null > ^ ^^ > > This is the binary /bin/ls, no "shell builtin" or the like, > called from the C shell; OS is FreeBSD 8, x86. Even with /bin/ls, the system still returns the hex code: # /bin/ls -laFG /dev/null crw-rw-rw- 1 root wheel 0x13 Oct 25 13:22 /dev/null Two machines, both running 9.2/amd64, both return these hex codes. One machine runs on bare metal and the other is a VM I just built. Both machines have no aliases for ls. This URL: http://fanf.livejournal.com/123376.html gives instructions for how to create devices in chroot environments using devfs: # $T is the chroot directory mount -t devfs devfs $T/dev # the default ruleset is immutable, so create a new one devfs -m $T/dev ruleset 1 # only a small selection of devices should be visible devfs -m $T/dev rule add path random unhide devfs -m $T/dev rule add path urandom unhide # make it so devfs -m $T/dev rule applyset This worked for me, and the chroot'd devices have the same hex IDs as those in /dev. But I'm still curious why ls displays those hex values instead of major and minor device numbers. thanks dn From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 21:18:53 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 093704F1 for ; Fri, 25 Oct 2013 21:18:53 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-pb0-x231.google.com (mail-pb0-x231.google.com [IPv6:2607:f8b0:400e:c01::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D6F95220B for ; Fri, 25 Oct 2013 21:18:52 +0000 (UTC) Received: by mail-pb0-f49.google.com with SMTP id xb4so1153603pbc.8 for ; Fri, 25 Oct 2013 14:18:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=bJrwUF9672yLkwuKFVoTUyknCI8eJQm6vRy0hO74NhE=; b=qH1IoK0AofQsMi/sACTedKT+Z0rPfBZFhCU5mgL2wSmQzDukW76B42NqDlHp1HJJjP 9IYEx8wdNU2GEzVJomuKHsEGxApCYy4mKgAlMxCtgNG6qpuLKNxyO4smTnlEA4VPilpy oTAkkXaw7HyX1QVb1a4QHyTo8iJmCXBMo5M+bxAggS2t7QiBz++dVu21o33S90fZmrEf j4fmL16jEZ53NVXydxz9QQDVKNb4jEqHKwO/c33FNJd/F8cPE1sE2EM3R8EPOLOP3y3Z O8UDoSzZjueNldMYwEnfLbDugGZEZlxaAfp9vPqFJrjouldyl6zYo95ZobCfnLQT0mTs oaBQ== MIME-Version: 1.0 X-Received: by 10.68.111.33 with SMTP id if1mr8787347pbb.31.1382735932443; Fri, 25 Oct 2013 14:18:52 -0700 (PDT) Received: by 10.68.218.136 with HTTP; Fri, 25 Oct 2013 14:18:52 -0700 (PDT) In-Reply-To: <526AC748.6010805@networktest.com> References: <526AC748.6010805@networktest.com> Date: Fri, 25 Oct 2013 17:18:52 -0400 Message-ID: Subject: Re: (de)centralized ports management with portsnap From: "illoai@gmail.com" To: David Newman Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 21:18:53 -0000 On 25 October 2013 15:32, David Newman wrote: > I'm setting up a group of FreeBSD servers that use 'portsnap fetch' and > then 'portsnap update' to refresh their ports trees. > > Can I set up a local master to avoid pulling updates multiple times? If > portsnap isn't the right tool for this, what is? > > Apologies if this has been asked before; this seems like a standard > problem, but I didn't see an answer in a web search, the portsnap > manpage, or in the Michael W. Lucas FreeBSD book. It's probably simplest to simply pull with one machine & then use rsync or some such to push the updates out to the client machines which would then run "portsnap update" as needed. -- -- From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 21:22:26 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8CA22611 for ; Fri, 25 Oct 2013 21:22:26 +0000 (UTC) (envelope-from dnewman@networktest.com) Received: from mail5.networktest.com (mail5.networktest.com [204.109.60.142]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 650AF2259 for ; Fri, 25 Oct 2013 21:22:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail5.networktest.com (Postfix) with ESMTP id 821682FCCAA for ; Fri, 25 Oct 2013 14:22:25 -0700 (PDT) Received: from mail5.networktest.com ([127.0.0.1]) by localhost (mail5.networktest.com [127.0.0.1]) (maiad, port 10024) with ESMTP id 16967-06 for ; Fri, 25 Oct 2013 14:22:25 -0700 (PDT) Received: from dhcp130.eng.networktest.com (ns.networktest.com [205.147.16.129]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: dnewman@networktest.com) by mail5.networktest.com (Postfix) with ESMTPSA id 431702FCCA0 for ; Fri, 25 Oct 2013 14:22:25 -0700 (PDT) Message-ID: <526AE110.9030105@networktest.com> Date: Fri, 25 Oct 2013 14:22:24 -0700 From: David Newman Organization: Network Test Inc. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: (de)centralized ports management with portsnap References: <526AC748.6010805@networktest.com> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 21:22:26 -0000 On 10/25/13 2:18 PM, illoai@gmail.com wrote: > On 25 October 2013 15:32, David Newman wrote: >> I'm setting up a group of FreeBSD servers that use 'portsnap fetch' and >> then 'portsnap update' to refresh their ports trees. >> >> Can I set up a local master to avoid pulling updates multiple times? If >> portsnap isn't the right tool for this, what is? >> >> Apologies if this has been asked before; this seems like a standard >> problem, but I didn't see an answer in a web search, the portsnap >> manpage, or in the Michael W. Lucas FreeBSD book. > > It's probably simplest to simply pull with one machine & then use > rsync or some such to push the updates out to the client machines > which would then run "portsnap update" as needed. Thanks. What directories would get rsync'd over for the updates? Is it really as simple as just copying over /usr/ports to each machine? thanks again dn From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 22:24:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DB859767 for ; Fri, 25 Oct 2013 22:24:37 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.org [108.92.93.123]) by mx1.freebsd.org (Postfix) with ESMTP id 981FF26D9 for ; Fri, 25 Oct 2013 22:24:37 +0000 (UTC) Received: from [10.0.1.4] (static-71-177-216-148.lsanca.fios.verizon.net [71.177.216.148]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id r9PMOZ7h051711 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 25 Oct 2013 15:24:36 -0700 (PDT) (envelope-from bc979@lafn.org) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: viewing major and minor device numbers From: Doug Hardie In-Reply-To: <526AD757.7010704@networktest.com> Date: Fri, 25 Oct 2013 15:24:35 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <025FA68F-57BF-4B6E-8898-5BD3EAF96372@lafn.org> References: <526AC5E7.3080900@networktest.com> <20131025213456.13153587.freebsd@edvax.de> <526AD757.7010704@networktest.com> To: David Newman X-Mailer: Apple Mail (2.1510) X-Virus-Scanned: clamav-milter 0.97 at zoom.lafn.org X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 22:24:37 -0000 On 25 October 2013, at 13:40, David Newman = wrote: > On 10/25/13 12:34 PM, Polytropon wrote: >> On Fri, 25 Oct 2013 12:26:31 -0700, David Newman wrote: >>> FreeBSD 9.2-RELEASE, amd64 >>>=20 >>> To create some character special devices in a chroot environment, = I've >>> previously used mknod, but now can't find the major and minor device >>> numbers. >>>=20 >>> The ls manpage says these numbers should be displayed in the size = field. >>> However, I'm seeing only one hex value, e.g.: >>>=20 >>> $ ls -l /dev/null >>> crw-rw-rw- 1 root wheel 0x13 Oct 25 12:22 /dev/null >>>=20 >>> So I don't know what major and minor values to feed mknod. Or is = there >>> another way to do this? >>=20 >> Do you have any "suspicious" ls alias or options preconfigured? >> That output looks a bit strange, it should be something like >> this (example from a host system, not from inside a jail): >>=20 >> % /bin/ls -laFG /dev/null=20 >> crw-rw-rw- 1 root wheel 0, 17 Oct 25 21:33 /dev/null >> ^ ^^ >>=20 >> This is the binary /bin/ls, no "shell builtin" or the like, >> called from the C shell; OS is FreeBSD 8, x86. >=20 > Even with /bin/ls, the system still returns the hex code: >=20 > # /bin/ls -laFG /dev/null > crw-rw-rw- 1 root wheel 0x13 Oct 25 13:22 /dev/null >=20 > Two machines, both running 9.2/amd64, both return these hex codes. One > machine runs on bare metal and the other is a VM I just built. Both > machines have no aliases for ls. >=20 The ls source module print.c has been changed in the printdev module to = print differently: Here is the module from 8.x (I don't recall which exact version this is) printdev(size_t width, dev_t dev) { char buf[DEVSTR_HEX_LEN + 1]; =20 if (minor(dev) > 255 || minor(dev) < 0) (void)snprintf(buf, sizeof(buf), "%3d, 0x%08x", major(dev), (u_int)minor(dev)); else (void)snprintf(buf, sizeof(buf), "%3d, %3d", major(dev), minor(dev)); =20 (void)printf("%*s ", (u_int)width, buf); } =20 Note that it splits the dev number into the two fields we are all used = to. Now here is the same code from 9.2 Release: printdev(size_t width, dev_t dev) { (void)printf("%#*jx ", (u_int)width, (uintmax_t)dev); } Note its a lot simpler because it does not bother to split out the major = and minor numbers. You might be able to replace just this module and rebuild ls. major and = minor are still in the libs. It looks like it should work, but I = haven't tried it. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 25 22:31:22 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6709DB3E for ; Fri, 25 Oct 2013 22:31:22 +0000 (UTC) (envelope-from dnewman@networktest.com) Received: from mail5.networktest.com (mail5.networktest.com [204.109.60.142]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2CC692753 for ; Fri, 25 Oct 2013 22:31:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail5.networktest.com (Postfix) with ESMTP id BD4202FCCA0 for ; Fri, 25 Oct 2013 15:31:20 -0700 (PDT) Received: from mail5.networktest.com ([127.0.0.1]) by localhost (mail5.networktest.com [127.0.0.1]) (maiad, port 10024) with ESMTP id 17836-01 for ; Fri, 25 Oct 2013 15:31:20 -0700 (PDT) Received: from dhcp130.eng.networktest.com (ns.networktest.com [205.147.16.129]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: dnewman@networktest.com) by mail5.networktest.com (Postfix) with ESMTPSA id 6F6C82FCC96 for ; Fri, 25 Oct 2013 15:31:20 -0700 (PDT) Message-ID: <526AF138.9000200@networktest.com> Date: Fri, 25 Oct 2013 15:31:20 -0700 From: David Newman Organization: Network Test Inc. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: viewing major and minor device numbers References: <526AC5E7.3080900@networktest.com> <20131025213456.13153587.freebsd@edvax.de> <526AD757.7010704@networktest.com> <025FA68F-57BF-4B6E-8898-5BD3EAF96372@lafn.org> In-Reply-To: <025FA68F-57BF-4B6E-8898-5BD3EAF96372@lafn.org> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 22:31:22 -0000 On 10/25/13 3:24 PM, Doug Hardie wrote: > > On 25 October 2013, at 13:40, David Newman wrote: > >> On 10/25/13 12:34 PM, Polytropon wrote: >>> On Fri, 25 Oct 2013 12:26:31 -0700, David Newman wrote: >>>> FreeBSD 9.2-RELEASE, amd64 >>>> >>>> To create some character special devices in a chroot environment, I've >>>> previously used mknod, but now can't find the major and minor device >>>> numbers. >>>> >>>> The ls manpage says these numbers should be displayed in the size field. >>>> However, I'm seeing only one hex value, e.g.: >>>> >>>> $ ls -l /dev/null >>>> crw-rw-rw- 1 root wheel 0x13 Oct 25 12:22 /dev/null >>>> >>>> So I don't know what major and minor values to feed mknod. Or is there >>>> another way to do this? >>> >>> Do you have any "suspicious" ls alias or options preconfigured? >>> That output looks a bit strange, it should be something like >>> this (example from a host system, not from inside a jail): >>> >>> % /bin/ls -laFG /dev/null >>> crw-rw-rw- 1 root wheel 0, 17 Oct 25 21:33 /dev/null >>> ^ ^^ >>> >>> This is the binary /bin/ls, no "shell builtin" or the like, >>> called from the C shell; OS is FreeBSD 8, x86. >> >> Even with /bin/ls, the system still returns the hex code: >> >> # /bin/ls -laFG /dev/null >> crw-rw-rw- 1 root wheel 0x13 Oct 25 13:22 /dev/null >> >> Two machines, both running 9.2/amd64, both return these hex codes. One >> machine runs on bare metal and the other is a VM I just built. Both >> machines have no aliases for ls. >> > > The ls source module print.c has been changed in the printdev module to print differently: > > Here is the module from 8.x (I don't recall which exact version this is) > > printdev(size_t width, dev_t dev) > { > char buf[DEVSTR_HEX_LEN + 1]; > > if (minor(dev) > 255 || minor(dev) < 0) > (void)snprintf(buf, sizeof(buf), "%3d, 0x%08x", > major(dev), (u_int)minor(dev)); > else > (void)snprintf(buf, sizeof(buf), "%3d, %3d", > major(dev), minor(dev)); > > (void)printf("%*s ", (u_int)width, buf); > } > > > > Note that it splits the dev number into the two fields we are all used to. > > Now here is the same code from 9.2 Release: > > printdev(size_t width, dev_t dev) > { > > (void)printf("%#*jx ", (u_int)width, (uintmax_t)dev); > } > > > > Note its a lot simpler because it does not bother to split out the major and minor numbers. Ahhh, got it. Many thanks. In this case I'm OK going with devfs, but thanks for clearing up why the output is different in 9.x. I suppose one could say this "breaks" mknod, or at least makes it much harder to use. But since the same thing is available from devfs, and it doesn't require messing with device numbers, I guess it's OK. Thanks again dn > > You might be able to replace just this module and rebuild ls. major and minor are still in the libs. It looks like it should work, but I haven't tried it. > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Sat Oct 26 00:44:42 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 26DEF61F for ; Sat, 26 Oct 2013 00:44:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D9A242D3E for ; Sat, 26 Oct 2013 00:44:41 +0000 (UTC) Received: from r56.edvax.de (port-92-195-117-74.dynamic.qsc.de [92.195.117.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id D37203CCD7; Sat, 26 Oct 2013 02:44:37 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r9Q0iT1X009926; Sat, 26 Oct 2013 02:44:30 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 26 Oct 2013 02:44:29 +0200 From: Polytropon To: Gary Kline Subject: Re: howto recognize the Shift and Alt keys when /pressed\ Message-Id: <20131026024429.920d6e7e.freebsd@edvax.de> In-Reply-To: <20131025114233.GA28606@ethic.thought.org> References: <20131021161200.GA18556@ethic.thought.org> <20131022012804.98a017fa.freebsd@edvax.de> <20131021164926.GA19974@ethic.thought.org> <20131022125901.6f3366fd.freebsd@edvax.de> <20131022121555.GA24386@ethic.thought.org> <20131022221027.30108304.freebsd@edvax.de> <20131023163805.GA7143@ethic.thought.org> <20131024021132.44324417.freebsd@edvax.de> <20131025114233.GA28606@ethic.thought.org> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Oct 2013 00:44:42 -0000 On Fri, 25 Oct 2013 11:42:33 +0000, Gary Kline wrote: > On Thu, Oct 24, 2013 at 02:11:32AM +0200, Polytropon wrote: > > On Wed, 23 Oct 2013 16:38:05 +0000, Gary Kline wrote: > > No need to re-invent the wheel here. Just "attach to" the > > responsible components of the OS mentioned above. In C. :-) > > > > > > > I wonder if I could take the src of xev.c and then, > seeing what it does when I click on CTRL, ATL, CAPS LOCK, > anf SHIFT. MAke any sense? Yes, makes _perfectly_ sense as long as you're running X. The X event viewer is a very good example on how to find out the key codes. You simply need to get that "in between" in the input chain so the keys keep working (instead of "making them disappear" by reading them _from_ the input buffer). I'd imagine that this is possible. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Oct 26 03:21:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1BB8DA4F for ; Sat, 26 Oct 2013 03:21:37 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:2:7]) by mx1.freebsd.org (Postfix) with ESMTP id AB427238C for ; Sat, 26 Oct 2013 03:21:36 +0000 (UTC) Received: from ppp118-210-126-13.lns20.adl2.internode.on.net (HELO leader.local) ([118.210.126.13]) by ipmail07.adl2.internode.on.net with ESMTP; 26 Oct 2013 13:51:35 +1030 Message-ID: <526B353C.6010708@ShaneWare.Biz> Date: Sat, 26 Oct 2013 13:51:32 +1030 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: viewing major and minor device numbers References: <526AC5E7.3080900@networktest.com> <20131025213456.13153587.freebsd@edvax.de> <526AD757.7010704@networktest.com> <025FA68F-57BF-4B6E-8898-5BD3EAF96372@lafn.org> <526AF138.9000200@networktest.com> In-Reply-To: <526AF138.9000200@networktest.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Oct 2013 03:21:37 -0000 On 26/10/2013 09:01, David Newman wrote: > In this case I'm OK going with devfs, but thanks for clearing up why the > output is different in 9.x. > > I suppose one could say this "breaks" mknod, or at least makes it much > harder to use. But since the same thing is available from devfs, and it > doesn't require messing with device numbers, I guess it's OK. > Sounds to me like the old way is beginning to break, and may be ready for removal. >From man mknod under compatibility - As of FreeBSD 5.0, device nodes are managed by the device file system devfs(5), making the mknod utility superfluous. From owner-freebsd-questions@FreeBSD.ORG Sat Oct 26 06:04:40 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id ADD9DAD6 for ; Sat, 26 Oct 2013 06:04:40 +0000 (UTC) (envelope-from kline@thought.org) Received: from p3plsmtpa08-05.prod.phx3.secureserver.net (p3plsmtpa08-05.prod.phx3.secureserver.net [173.201.193.106]) by mx1.freebsd.org (Postfix) with ESMTP id 895B52A51 for ; Sat, 26 Oct 2013 06:04:40 +0000 (UTC) Received: from ethic.thought.org ([209.180.213.209]) by p3plsmtpa08-05.prod.phx3.secureserver.net with id hi321m0024XeM0101i33Lw; Fri, 25 Oct 2013 23:03:03 -0700 Date: Wed, 23 Oct 2013 23:02:26 +0000 From: Gary Kline To: Polytropon Subject: Re: howto recognize the Shift and Alt keys when /pressed\ Message-ID: <20131023230226.GA2828@ethic.thought.org> References: <20131021161200.GA18556@ethic.thought.org> <20131022012804.98a017fa.freebsd@edvax.de> <20131021164926.GA19974@ethic.thought.org> <20131022125901.6f3366fd.freebsd@edvax.de> <20131022121555.GA24386@ethic.thought.org> <20131022221027.30108304.freebsd@edvax.de> <20131023163805.GA7143@ethic.thought.org> <20131024021132.44324417.freebsd@edvax.de> <20131025114233.GA28606@ethic.thought.org> <20131026024429.920d6e7e.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131026024429.920d6e7e.freebsd@edvax.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Oct 2013 06:04:40 -0000 Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 27 years of service to the Unix community. On Sat, Oct 26, 2013 at 02:44:29AM +0200, Polytropon wrote: > On Fri, 25 Oct 2013 11:42:33 +0000, Gary Kline wrote: > > On Thu, Oct 24, 2013 at 02:11:32AM +0200, Polytropon wrote: > > > On Wed, 23 Oct 2013 16:38:05 +0000, Gary Kline wrote: > > > No need to re-invent the wheel here. Just "attach to" the > > > responsible components of the OS mentioned above. In C. :-) > > > > > > > > > > > > I wonder if I could take the src of xev.c and then, > > seeing what it does when I click on CTRL, ATL, CAPS LOCK, > > anf SHIFT. MAke any sense? > > Yes, makes _perfectly_ sense as long as you're running X. > The X event viewer is a very good example on how to find > out the key codes. You simply need to get that "in between" > in the input chain so the keys keep working (instead of > "making them disappear" by reading them _from_ the input > buffer). I'd imagine that this is possible. > > I havent searched that far, but cant find xev.c; can you dig it out of the src and send it my way? --the shi*t has hit the fan here. my wife's mother is in the hospital [???], my w'chair seem to be on the verge of breaking down. wife is downtown and/or in ambulance with her mother. meanwhile, my daughter is home with her boyfriend I dont like. _--whatelse? oh yeah, I am running out of meds and the federal govt is crapping its pants about not the Severe drugs as much as the pain meds I take. Ah, *Life*. well, I cant go to bed until the kid leaves. just hope the chair doesnt Kwit until im near my bed. lastly, I will answer the note where we were discussiing . > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Twenty-seven years of service to the Unix community. http://www.thought.org/HOPE From owner-freebsd-questions@FreeBSD.ORG Sat Oct 26 06:57:52 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5E37D79 for ; Sat, 26 Oct 2013 06:57:52 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-pb0-x22f.google.com (mail-pb0-x22f.google.com [IPv6:2607:f8b0:400e:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 376CC2C02 for ; Sat, 26 Oct 2013 06:57:52 +0000 (UTC) Received: by mail-pb0-f47.google.com with SMTP id rq2so4314931pbb.20 for ; Fri, 25 Oct 2013 23:57:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/f7DUdG+MgPOU5ODnAghAV8hZfM+ApZu7E5gdt7OO/A=; b=uCVsz9f1OAEmW/S7yeTmJnhpRJlHbckR1Sma0f6PG4nmdnPh2oq/y3rCiCPm4JQEKH k2WZdCJRcZleq/YRhc8DqoRC26TN12Pq+ze09NDXlyMaiDCZgYSc2cEFFxnrIs9sFb/D xhNg7BobsFeJYQc4BS7IankIIMFRQo/kwQEKDNLjFg+DUYrnG9cxXGroFJkVQIgAWwiN ZaU76poUGZAUXkAGVpnxvqyHJUrBquXDb+E0NDSCP69HXvOUpUwUDwccf3KARoAI3SJt J8bkRwbQSr/2IDOWtbrKJzDQvG5plummXUqRI8fuPH9tZ3/7pCGcaDS681+lphfVmf6f Wqaw== MIME-Version: 1.0 X-Received: by 10.68.143.196 with SMTP id sg4mr16544pbb.155.1382770670503; Fri, 25 Oct 2013 23:57:50 -0700 (PDT) Received: by 10.68.218.136 with HTTP; Fri, 25 Oct 2013 23:57:50 -0700 (PDT) In-Reply-To: <526AE110.9030105@networktest.com> References: <526AC748.6010805@networktest.com> <526AE110.9030105@networktest.com> Date: Sat, 26 Oct 2013 02:57:50 -0400 Message-ID: Subject: Re: (de)centralized ports management with portsnap From: "illoai@gmail.com" To: David Newman Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Oct 2013 06:57:52 -0000 On 25 October 2013 17:22, David Newman wrote: > On 10/25/13 2:18 PM, illoai@gmail.com wrote: >> On 25 October 2013 15:32, David Newman wrote: >>> I'm setting up a group of FreeBSD servers that use 'portsnap fetch' and >>> then 'portsnap update' to refresh their ports trees. >>> >>> Can I set up a local master to avoid pulling updates multiple times? If >>> portsnap isn't the right tool for this, what is? >>> >>> Apologies if this has been asked before; this seems like a standard >>> problem, but I didn't see an answer in a web search, the portsnap >>> manpage, or in the Michael W. Lucas FreeBSD book. >> >> It's probably simplest to simply pull with one machine & then use >> rsync or some such to push the updates out to the client machines >> which would then run "portsnap update" as needed. > > Thanks. What directories would get rsync'd over for the updates? Is it > really as simple as just copying over /usr/ports to each machine? > Distfiles become unwieldy after a while, but, yes, copying /usr/ports would work fine, as would copying /var/db/portsnap. I'm not sure which would have a lower headache factor. Using rsync to copy the whole ports tree will involve a lot of checking. Copying the portsnap directory, while much lighter/simpler, will involve running 'portsnap update' on each of the machines, though. -- -- From owner-freebsd-questions@FreeBSD.ORG Sat Oct 26 07:26:04 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 60D07466 for ; Sat, 26 Oct 2013 07:26:04 +0000 (UTC) (envelope-from steve@sohara.org) Received: from uk1rly2283.eechost.net (uk1rly2283-a.eechost.net [217.69.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id 211D32CFA for ; Sat, 26 Oct 2013 07:26:03 +0000 (UTC) Received: from [31.186.37.179] (helo=smtp.marelmo.com) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from ) id 1VZy9n-0007GW-GR; Sat, 26 Oct 2013 08:19:35 +0100 Received: from [192.168.63.1] (helo=steve.marelmo.com) by smtp.marelmo.com with smtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1VZyFr-0002Vc-TN; Sat, 26 Oct 2013 07:25:52 +0000 Date: Sat, 26 Oct 2013 08:25:53 +0100 From: Steve O'Hara-Smith To: Gary Kline Subject: Re: howto recognize the Shift and Alt keys when /pressed\ Message-Id: <20131026082553.359a5b5a4f41755616425d6e@sohara.org> In-Reply-To: <20131023230226.GA2828@ethic.thought.org> References: <20131021161200.GA18556@ethic.thought.org> <20131022012804.98a017fa.freebsd@edvax.de> <20131021164926.GA19974@ethic.thought.org> <20131022125901.6f3366fd.freebsd@edvax.de> <20131022121555.GA24386@ethic.thought.org> <20131022221027.30108304.freebsd@edvax.de> <20131023163805.GA7143@ethic.thought.org> <20131024021132.44324417.freebsd@edvax.de> <20131025114233.GA28606@ethic.thought.org> <20131026024429.920d6e7e.freebsd@edvax.de> <20131023230226.GA2828@ethic.thought.org> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.19; amd64-portbld-freebsd9.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Auth-Info: 15567@permanet.ie (plain) Cc: Polytropon , FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Oct 2013 07:26:04 -0000 On Wed, 23 Oct 2013 23:02:26 +0000 Gary Kline wrote: > I havent searched that far, but cant find xev.c; can you dig it > out of the src and send it my way? /usr/ports/x11/xev -- Steve O'Hara-Smith From owner-freebsd-questions@FreeBSD.ORG Sat Oct 26 07:27:51 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DF965503 for ; Sat, 26 Oct 2013 07:27:51 +0000 (UTC) (envelope-from steve@sohara.org) Received: from uk1rly2283.eechost.net (uk1rly2283-a.eechost.net [217.69.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id A75212D0A for ; Sat, 26 Oct 2013 07:27:51 +0000 (UTC) Received: from [31.186.37.179] (helo=smtp.marelmo.com) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from ) id 1VZyBg-0007SG-5h for freebsd-questions@freebsd.org; Sat, 26 Oct 2013 08:21:32 +0100 Received: from [192.168.63.1] (helo=steve.marelmo.com) by smtp.marelmo.com with smtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1VZyHk-0002WA-NI for freebsd-questions@freebsd.org; Sat, 26 Oct 2013 07:27:48 +0000 Date: Sat, 26 Oct 2013 08:27:51 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: (de)centralized ports management with portsnap Message-Id: <20131026082751.7630de7fe57024d6331a2974@sohara.org> In-Reply-To: <526AC748.6010805@networktest.com> References: <526AC748.6010805@networktest.com> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.19; amd64-portbld-freebsd9.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Auth-Info: 15567@permanet.ie (plain) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Oct 2013 07:27:51 -0000 On Fri, 25 Oct 2013 12:32:24 -0700 David Newman wrote: > I'm setting up a group of FreeBSD servers that use 'portsnap fetch' and > then 'portsnap update' to refresh their ports trees. Why not just NFS mount the ports directory from a designated ports box ? -- Steve O'Hara-Smith From owner-freebsd-questions@FreeBSD.ORG Sat Oct 26 09:56:14 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 019A1B4F for ; Sat, 26 Oct 2013 09:56:14 +0000 (UTC) (envelope-from asv@inhio.eu) Received: from cz-prg-mx-01.inhio.eu (mail.inhio.eu [178.238.36.226]) by mx1.freebsd.org (Postfix) with ESMTP id B967E23B1 for ; Sat, 26 Oct 2013 09:56:13 +0000 (UTC) Received: from [10.0.0.52] (unknown [10.0.0.52]) by cz-prg-mx-01.inhio.eu (Postfix) with ESMTPSA id 9A9E25B9B6; Sat, 26 Oct 2013 09:56:05 +0000 (UTC) Subject: Re: MAC issue on FBSD 9.1-RELEASE From: ASV To: David.I.Noel@gmail.com In-Reply-To: References: <1382692375.92947.9.camel@mailsb> Content-Type: text/plain; charset="us-ascii" Date: Sat, 26 Oct 2013 11:56:04 +0200 Message-ID: <1382781365.92947.21.camel@mailsb> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Oct 2013 09:56:14 -0000 Hi David, thanks for the reply. Unfortunately in the past I've written to trustedbsd-discuss@freebsd.org and they told me that that's supposed to be just a "playground" and due to the fact that the trustedbsd framework has been officially ported into FreeBSD, questions must go to freebsd-questions. Now, I'm very disappointed because there's no way to get info about MAC. Not only almost nobody seems to be knowing anything about how it works which lead to the fact that for any issue you're pretty much on your own. But the main problem here is to know more about the status of the development. If I've an issue I cannot figure out if it's caused by my mistake or it's just a bug. And configurations that worked for a while (like in my specific case) suddenly cease to work because I've patched the kernel (and not in a custom way but via freebsd-update)! My point is: why the heck this functionality is built-in if is abandoned (is it?)? If they don't keep maintaining/fixing/improving it and it's also considered "experimental" according to the man pages, why is in the main branch? Wouldn't be better to get rid of something which is kind of a 'blackhole' instead of keeping it in such a state just to say that "we have it"? I really hope to spark a little discussion about it. Thanks a lot to whoever would like to reply to me in any way. On Fri, 2013-10-25 at 10:23 -0500, David Noel wrote: > > I'm wondering if something have been changed regarding MAC on FreeBSD > > 9.1-RELEASE. Since I've executed freebsd-update basically updating from > > the first release to the p7, I cannot longer login with my restricted > > accounts. > > I always get: > > > >> _secure_path: cannot stat /home/macuser/.login_conf: Permission denied > >> login: LOGIN macuser REFUSED (HOMEDIR) ON TTY ttyv1 > > > > and on the login screen (user tty) I get: > > > >> login: Could not determine audit condition > > > > no matter if the file is there or not, neither which DAC/MAC permissions > > are there, no matter if I disable the ":requirehome:" and the > > ":ttys.allow:" directives on login.conf. Not even relabling the entire > > FS helped. > > > > I've spent several hours now to figure out but at this point seems to me > > that the update screwed everything up somehow. > > Does anyone have any idea of what's going on? Any input would be REALLY > > appreciated. > > I've had my fair share of troubles with FreeBSD's MAC and > unfortunately wound up just disabling it entirely. While I don't have > a solution to your specific problem I would suggest cc'ing > trustedbsd-discuss@freebsd.org. You *may* find someone there who could > help, though the last time I tried to hail anyone on it it was all but > dead. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sat Oct 26 11:17:39 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 248A2B3C for ; Sat, 26 Oct 2013 11:17:39 +0000 (UTC) (envelope-from jbirch@jbirch.net) Received: from mail-oa0-f44.google.com (mail-oa0-f44.google.com [209.85.219.44]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E5AC32722 for ; Sat, 26 Oct 2013 11:17:38 +0000 (UTC) Received: by mail-oa0-f44.google.com with SMTP id l20so1962296oag.17 for ; Sat, 26 Oct 2013 04:17:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=/1X4DmsSRlN4tqS9V1dPotI+g3blsQG7s+WkPBb7dNw=; b=LW1TbItAJZXjbARgMcojte7qsojLxUqgZ+iCXdUlVeChH+NGoVyfTEwW4b9bpyHEU3 x3j3lf98ow58xY4MWIJULtvant/ESrcG9w3kzGb+j7ICuT7x33YdArNeWoUCvwscCV7i ZxwGv+HaqZYJ1/VJgPyw/AU30Z/ECZjt9g8SoHPm/T5jE/Cmf96IhpCiGebNPJDtwBoH GOmUNZwu5ZrmWS+d0ziGsYU2qqNV3tPeF6qTAyMTRSnyFSdSk4w09IqsKZ0jNsZprV0X iWSnuUD430ldfj9cEBgEgovtS9bqVSi8dkzAYTkfKX7RmNKyvzq6UxHJoZizCeBkVrun 03tw== X-Gm-Message-State: ALoCoQnrwciYoq2FdlQFEqngcF/aBccPWVXYJTDbb2PWlIR6J2knJCoLTeNbqfkNNeNluLSL5J6m MIME-Version: 1.0 X-Received: by 10.182.88.129 with SMTP id bg1mr6718004obb.36.1382784806399; Sat, 26 Oct 2013 03:53:26 -0700 (PDT) Received: by 10.182.185.71 with HTTP; Sat, 26 Oct 2013 03:53:26 -0700 (PDT) X-Originating-IP: [101.175.7.11] Date: Sat, 26 Oct 2013 21:53:26 +1100 Message-ID: Subject: Kernel/World/Ports compilation within jails; targeting many platforms. From: Jason Birch To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Oct 2013 11:17:39 -0000 Is it considered 'good form' to do compilation for other machines, architectures, and FreeBSD versions within jails? As a concrete example, my 'main' system is a FreeBSD 9.1-RELEASE amd64 system, and I would like to compile FreeBSD 11-CURRENT for my BeagleBone Black (ARMv7). Does it make more sense to create a jail environment on my 9.1-RELEASE machine to do all compilation and 'staging' for the BeagleBlack? Originally I had just compiled gcc targeting arm and checked out sources into a location that wasn't /usr/src/. This is simple enough for one different target, but I'm wondering if I'll be a little bit more sane if I've got a jail for each individual target I'm compiling for. Each jail can then be set up with one, consistent compiler and source tree in the same location -- even if the compiler (GCC/Clang) and source (X-RELEASE vs Y-STABLE vs CURRENT) differ between targets? Are this a sane thing to be doing? For those of you that have several FreeBSD targets but do most of your set up on a single machine, how do you logically separate your 'worlds'? Regards, JB From owner-freebsd-questions@FreeBSD.ORG Sat Oct 26 12:55:50 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C40B5305 for ; Sat, 26 Oct 2013 12:55:50 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6156F2C12 for ; Sat, 26 Oct 2013 12:55:50 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id h11so2207999wiv.10 for ; Sat, 26 Oct 2013 05:55:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=yN2FKbCQoS2djzWvqi+xnrKR6V/XLuIECI/UYiwa0hc=; b=YSFX2knTou6+6duQBpxVoYGwZuuW8iRPsqNVY7Q8+65zyd2GeEPE2J3ZrqlxSIk8yr whJQ2boYCuB5ErTW2JPL+yc/seiT8X1uu2aMby/t5wjeLGPs24XdFIuFTiXkyaG43osI wnlkjrCnI9txJrR+jz2pX9Vj5cTnDC026cJYQNFqu2xMY2NzX4OAMNrC531uvDITn8+O AbC3mWk0N1Tlf0Ki2ku7ID9x86CxHw6QDhCCx33zS4KD7/SllHQ2JEudWNUWuEN/LS2Q LEfP6nK8eHtsSmfaep5wlfz9QcW5Rky/BK37xM/fOmUzSpLSssQV1bIcz9T40Q+nQjca 55cQ== X-Received: by 10.180.208.45 with SMTP id mb13mr2324009wic.27.1382792148760; Sat, 26 Oct 2013 05:55:48 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPSA id iz19sm15995745wic.9.2013.10.26.05.55.48 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sat, 26 Oct 2013 05:55:48 -0700 (PDT) Date: Sat, 26 Oct 2013 13:55:47 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: (de)centralized ports management with portsnap Message-ID: <20131026135547.4f8e7eb4@gumby.homeunix.com> In-Reply-To: <526AC748.6010805@networktest.com> References: <526AC748.6010805@networktest.com> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Oct 2013 12:55:50 -0000 On Fri, 25 Oct 2013 12:32:24 -0700 David Newman wrote: > I'm setting up a group of FreeBSD servers that use 'portsnap fetch' > and then 'portsnap update' to refresh their ports trees. > > Can I set up a local master to avoid pulling updates multiple times? > If portsnap isn't the right tool for this, what is? > > Apologies if this has been asked before; this seems like a standard > problem, but I didn't see an answer in a web search, the portsnap > manpage, or in the Michael W. Lucas FreeBSD book. The easiest way to do it is just to point them all to the same local http cache. If you set http_proxy and/or HTTP_PROXY in the the environment portsnap will use them to seed it's random choice of mirror so that all your servers will use consistent urls. On Sat, 26 Oct 2013 08:27:51 +0100 Steve O'Hara-Smith wrote: > Why not just NFS mount the ports directory from a designated > ports box ? Note that it's possible to use the same /var/db/portsnap/ to manage multiple trees. From owner-freebsd-questions@FreeBSD.ORG Sat Oct 26 13:51:54 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 16D9B378 for ; Sat, 26 Oct 2013 13:51:54 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CC3B42E8F for ; Sat, 26 Oct 2013 13:51:53 +0000 (UTC) Received: from r56.edvax.de (port-92-195-117-74.dynamic.qsc.de [92.195.117.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 4C7543C7A2; Sat, 26 Oct 2013 15:51:51 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r9QDphT3001930; Sat, 26 Oct 2013 15:51:43 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 26 Oct 2013 15:51:43 +0200 From: Polytropon To: Gary Kline Subject: Re: howto recognize the Shift and Alt keys when /pressed\ Message-Id: <20131026155143.12b15afb.freebsd@edvax.de> In-Reply-To: <20131023230226.GA2828@ethic.thought.org> References: <20131021161200.GA18556@ethic.thought.org> <20131022012804.98a017fa.freebsd@edvax.de> <20131021164926.GA19974@ethic.thought.org> <20131022125901.6f3366fd.freebsd@edvax.de> <20131022121555.GA24386@ethic.thought.org> <20131022221027.30108304.freebsd@edvax.de> <20131023163805.GA7143@ethic.thought.org> <20131024021132.44324417.freebsd@edvax.de> <20131025114233.GA28606@ethic.thought.org> <20131026024429.920d6e7e.freebsd@edvax.de> <20131023230226.GA2828@ethic.thought.org> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Oct 2013 13:51:54 -0000 On Wed, 23 Oct 2013 23:02:26 +0000, Gary Kline wrote: > Organization: Thought Unlimited. Public service Unix since 1986. > Of_Interest: With 27 years of service to the Unix community. > > On Sat, Oct 26, 2013 at 02:44:29AM +0200, Polytropon wrote: > > On Fri, 25 Oct 2013 11:42:33 +0000, Gary Kline wrote: > > > On Thu, Oct 24, 2013 at 02:11:32AM +0200, Polytropon wrote: > > > > On Wed, 23 Oct 2013 16:38:05 +0000, Gary Kline wrote: > > > > No need to re-invent the wheel here. Just "attach to" the > > > > responsible components of the OS mentioned above. In C. :-) > > > > > > > > > > > > > > > > > I wonder if I could take the src of xev.c and then, > > > seeing what it does when I click on CTRL, ATL, CAPS LOCK, > > > anf SHIFT. MAke any sense? > > > > Yes, makes _perfectly_ sense as long as you're running X. > > The X event viewer is a very good example on how to find > > out the key codes. You simply need to get that "in between" > > in the input chain so the keys keep working (instead of > > "making them disappear" by reading them _from_ the input > > buffer). I'd imagine that this is possible. > > > > > > > I havent searched that far, but cant find xev.c; can you dig it out > of the src and send it my way? It's in the ports collection. Simply do the following: # cd /usr/ports/x11/xev/ # make fetch # make extract # make patch # cd work/xev-1.1.0 and you'll find xev.c and all other files belonging to that program. Note that my installation here is quite old (8-STABLE as of summer 2011) so there might be a newer version of xev in the ports collection already. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Oct 26 13:55:11 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E8256449 for ; Sat, 26 Oct 2013 13:55:11 +0000 (UTC) (envelope-from iamatt@gmail.com) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 723F22EB9 for ; Sat, 26 Oct 2013 13:55:11 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id l12so2247678wiv.14 for ; Sat, 26 Oct 2013 06:55:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MNI4t1HugZJ6SRozxJilflEgrLVLbJVl2NQ1+Wf+Yzo=; b=LjPAJj8UCsP6cBNAtQNoPbaj5N2wfbIZnCPcSgywuGp0SsYvETv3ry7dj2Xo2gCtyp 1jIhIl8HPhfftJjmzJ2W5Jrb38kOC/fFh5ZViCfCdQ0D6aClw70qc3d9hnbv5IqSWK7v CJ5TB8Nyo1UPDzhqOWQpx4eGXxr8ieRKUEEcCGTb2I3RfwxBMH+uvEEz7HYwN9hdXstH SpW5AFRZp90t2HG02vc8ByQp6VqCe2epgQhb86rLL6StiJnAzrzSjH7f4sWbh06YNhSF UQYTvWKaPViYoOvkbXpK4SPX2JjJhTMSFxeCcOut5F9gvOxYryQgyO1pc937Wcd4zVW0 22jQ== MIME-Version: 1.0 X-Received: by 10.194.239.40 with SMTP id vp8mr11636184wjc.45.1382795709665; Sat, 26 Oct 2013 06:55:09 -0700 (PDT) Received: by 10.216.63.11 with HTTP; Sat, 26 Oct 2013 06:55:09 -0700 (PDT) Received: by 10.216.63.11 with HTTP; Sat, 26 Oct 2013 06:55:09 -0700 (PDT) In-Reply-To: <20131023230226.GA2828@ethic.thought.org> References: <20131021161200.GA18556@ethic.thought.org> <20131022012804.98a017fa.freebsd@edvax.de> <20131021164926.GA19974@ethic.thought.org> <20131022125901.6f3366fd.freebsd@edvax.de> <20131022121555.GA24386@ethic.thought.org> <20131022221027.30108304.freebsd@edvax.de> <20131023163805.GA7143@ethic.thought.org> <20131024021132.44324417.freebsd@edvax.de> <20131025114233.GA28606@ethic.thought.org> <20131026024429.920d6e7e.freebsd@edvax.de> <20131023230226.GA2828@ethic.thought.org> Date: Sat, 26 Oct 2013 08:55:09 -0500 Message-ID: Subject: Re: howto recognize the Shift and Alt keys when /pressed\ From: iamatt To: Gary Kline Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Polytropon , FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Oct 2013 13:55:12 -0000 And through all of this you are worrying about keys on a keyboard? Thanks for using the list like your own personal blog. On Oct 26, 2013 1:04 AM, "Gary Kline" wrote: > Organization: Thought Unlimited. Public service Unix since 1986. > Of_Interest: With 27 years of service to the Unix community. > > On Sat, Oct 26, 2013 at 02:44:29AM +0200, Polytropon wrote: > > On Fri, 25 Oct 2013 11:42:33 +0000, Gary Kline wrote: > > > On Thu, Oct 24, 2013 at 02:11:32AM +0200, Polytropon wrote: > > > > On Wed, 23 Oct 2013 16:38:05 +0000, Gary Kline wrote: > > > > No need to re-invent the wheel here. Just "attach to" the > > > > responsible components of the OS mentioned above. In C. :-) > > > > > > > > > > > > > > > > > I wonder if I could take the src of xev.c and then, > > > seeing what it does when I click on CTRL, ATL, CAPS LOCK, > > > anf SHIFT. MAke any sense? > > > > Yes, makes _perfectly_ sense as long as you're running X. > > The X event viewer is a very good example on how to find > > out the key codes. You simply need to get that "in between" > > in the input chain so the keys keep working (instead of > > "making them disappear" by reading them _from_ the input > > buffer). I'd imagine that this is possible. > > > > > > > I havent searched that far, but cant find xev.c; can you dig it out > of the src and send it my way? > > --the shi*t has hit the fan here. my wife's mother is in the > hospital [???], my w'chair seem to be on the verge of breaking > down. wife is downtown and/or in ambulance with her mother. > meanwhile, my daughter is home with her boyfriend I dont like. > _--whatelse? oh yeah, I am running out of meds and the federal > govt is crapping its pants about not the Severe drugs as much > as the pain meds I take. > > Ah, *Life*. well, I cant go to bed until the kid leaves. > just hope the chair doesnt Kwit until im near my bed. > lastly, I will answer the note where we were discussiing > . > > > > -- > > Polytropon > > Magdeburg, Germany > > Happy FreeBSD user since 4.0 > > Andra moi ennepe, Mousa, ... > > -- > Gary Kline kline@thought.org http://www.thought.org Public Service > Unix > Twenty-seven years of service to the Unix community. > http://www.thought.org/HOPE > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Sat Oct 26 20:45:56 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 990939E4 for ; Sat, 26 Oct 2013 20:45:56 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com [IPv6:2607:f8b0:400e:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 749512307 for ; Sat, 26 Oct 2013 20:45:56 +0000 (UTC) Received: by mail-pa0-f52.google.com with SMTP id kl14so7003768pab.11 for ; Sat, 26 Oct 2013 13:45:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=DWqU1silXlq2DLOzCNzNmt9lbitwxAnhWSMl8ndGFXE=; b=Dgd6DiWSs5MHczz9p9YHowTwRFiiePCdPBKgLzYlTJr5jKQDUNQ4gcYDfzgwEyFf5I jR2A4EdNxvRw0xYjRKXkXr634zrM6X+Z5HB0Xz1hH/WpQujfcl3vxw0ZfhTucrtwLbL4 iUNUEjHnryltjs6zzfGHAxraATRuTL2MGyrH/JDUxVDju8ESGjNSfjg9aq6KAF66f0hp rRxupklegCl0AJTYHnN1EyLBSbBUgL1EsvLiRmtoV88Kd93vhPhCQwRMLousiz7lkXLh 4PmGC0oIBpjOQ3HKzLWIw62EQCo3LzM/Ab2VkvNiNcYaaDsQqsKpoJ+gLFGiSi+1TCfg ueng== MIME-Version: 1.0 X-Received: by 10.66.27.50 with SMTP id q18mr16929286pag.97.1382820356131; Sat, 26 Oct 2013 13:45:56 -0700 (PDT) Received: by 10.68.218.136 with HTTP; Sat, 26 Oct 2013 13:45:56 -0700 (PDT) In-Reply-To: References: Date: Sat, 26 Oct 2013 16:45:56 -0400 Message-ID: Subject: Re: Kernel/World/Ports compilation within jails; targeting many platforms. From: "illoai@gmail.com" To: Jason Birch Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Oct 2013 20:45:56 -0000 On 26 October 2013 06:53, Jason Birch wrote: > Is it considered 'good form' to do compilation for other machines, > architectures, and FreeBSD versions within jails? > > As a concrete example, my 'main' system is a FreeBSD 9.1-RELEASE amd64 > system, and I would like to compile FreeBSD 11-CURRENT for my BeagleBone > Black (ARMv7). Does it make more sense to create a jail environment on my > 9.1-RELEASE machine to do all compilation and 'staging' for the BeagleBlack? > > Originally I had just compiled gcc targeting arm and checked out sources > into a location that wasn't /usr/src/. This is simple enough for one > different target, but I'm wondering if I'll be a little bit more sane if > I've got a jail for each individual target I'm compiling for. Each jail can > then be set up with one, consistent compiler and source tree in the same > location -- even if the compiler (GCC/Clang) and source (X-RELEASE vs > Y-STABLE vs CURRENT) differ between targets? > > Are this a sane thing to be doing? For those of you that have several > FreeBSD targets but do most of your set up on a single machine, how do you > logically separate your 'worlds'? Your system sounds a bit involved. FreeBSD is designed to be cross compiled fairly easily. For building wine on amd64, I just created an i386 chroot. A jail is targeted at running services within a chroot-like environment, I suppose it could be used to cross compile. You can cross build with: # make buildworld TARGET=arm (you may need to specify TARGET_ARCH= as well with ARM, I don't know) You might have to specify CC= CXX= & CPP= In the case of TARGET=i386 it places the object files under /usr/obj/i386.i386/, I'd assume something similar for ARM. You'll also have to build a kernel. You'll have to do other stuff, too. There's stuff here: https://wiki.freebsd.org/A_Brief_Guide_To_Cross_Compiling_FreeBSD -- -- From owner-freebsd-questions@FreeBSD.ORG Sat Oct 26 21:41:48 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 00BCABBA for ; Sat, 26 Oct 2013 21:41:47 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 972CC258E for ; Sat, 26 Oct 2013 21:41:47 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id r9QLfhZe001238 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 26 Oct 2013 22:41:43 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk r9QLfhZe001238 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1382823703; bh=yigYwq2v2MnmSTWbeBj1uDJY7HuO/T47qWPiogEqt+I=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Sat,=2026=20Oct=202013=2022:41:42=20+0100|From:=20Matthew =20Seaman=20|To:=20Jason=20Birch= 20,=20=0D=0A=20"freebsd-questions@freebsd.org"= 20|Subject:=20Re:=20Kernel/World/Po rts=20compilation=20within=20jails=3B=20targeting=20many=20platfor ms.|References:=20|In-Reply-To:=20; b=rsOKMSKsOkukuNkG2TaZiWrbRns/5AwCrfXpAA49Cl9pp3qU/qYkFAOHwcDYchEJN y8/yk35Ay4/P7OKbWRKLCGLLj9fJbCad63eGgU6vhboKH1nFqikHinQFViRVBQhU75 Bd1iWuCyt2FTGHCctvhNIWMkrM0vyuveA7oBkm2M= Message-ID: <526C3716.4000802@infracaninophile.co.uk> Date: Sat, 26 Oct 2013 22:41:42 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: Jason Birch , "freebsd-questions@freebsd.org" Subject: Re: Kernel/World/Ports compilation within jails; targeting many platforms. References: In-Reply-To: X-Enigmail-Version: 1.5.2 OpenPGP: id=E7F39EBF Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Ka16ghPuv6LOC99RPjNlfw4vlMCuMhFv8" X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Oct 2013 21:41:48 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Ka16ghPuv6LOC99RPjNlfw4vlMCuMhFv8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 26/10/2013 11:53, Jason Birch wrote: > As a concrete example, my 'main' system is a FreeBSD 9.1-RELEASE amd64 > system, and I would like to compile FreeBSD 11-CURRENT for my BeagleBon= e > Black (ARMv7). Does it make more sense to create a jail environment on = my > 9.1-RELEASE machine to do all compilation and 'staging' for the BeagleB= lack? I don't know about 'good form' but using jails to compile for different FreeBSD versions is a well established practice. It's how the official pkg_tools and now pkgng packages are generated, for example. However, be aware there are some pretty major limitations to using jails this way. * You can have an older jail on a newer host system, but not the converse. So building in an 11-CURRENT jail on a 9.1-RELEASE system won't work. * You don't get cross-architecture builds -- jails generally have to be the same architecture as the host system. With one possible exception. It may be possible to use an i386 jail on an amd64 host. Dunno if that actually works for building serious quantities of ports. For your case, 11-CURRENT/armv7 isn't going to work on 9.1-RELEASE/amd64. Your best bet would be some sort of VM where you could emulate an armv7 CPU, if such a thing exists and is usable for your intended purpose. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --Ka16ghPuv6LOC99RPjNlfw4vlMCuMhFv8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJSbDcWXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkAT28gP/05N1bYQF+CmaHdpKwdkB8Ic r8BKlCIEvfwmFr0xxCXPMtusUB3zcLaMHvE8IxaB2xiey2TLyur+6ZqxcZe+EPD+ 8Ee0ob4qmOB8HTPngqPGzxe51dg7dI7MHV3H16JOvneHWDTqXpU3QeFgvpKvizIA 3YXLbo3PDsbZAYynprRGTm9RcVL+eVtEtEQairhZxoK7T1fYgpcGD1k67JxGoT9U FVB7HuTMkGy5GED9mgkCdFbez725o7nLH7GiYklQKpL8RMv8178ptr2rwXsFwHE8 rYtnn+dDntEJ4jAHBHN8ZwgANfHLijTM69+bwOEvYhKA9eeH5b8yAntlnCFF/x2H P3jgknTdvKAVghWjSToUAYOZjJC40GfbzciJp2eFJ8lSvzmIPK7ux2heX7C6VzMJ 8oG7vQJbd3mQPdOy4E71yaF/Q6Wud09DOTlb80JheFvwdtEV7RBGyS0O+2DwnRjH esOi8iQOwNT4QJMUqq04XKfUbaK4xGPYEinei/W0zgwFdB+2GATlbzr4vRI2euP/ 2BHF1tN49HkoXj6tnoGNmwzjXW7IQx2Y0JMNlDrehktPA3nC36npOqo+BXsCY3BT c23a9dyzAkJOyPMe+i+iRuTEVbePQTCX0HnG3LEP7o0qk7+AB+qqHYZeY2WuEGb/ jOHLfafyeJzW2F4SZBZw =76Ok -----END PGP SIGNATURE----- --Ka16ghPuv6LOC99RPjNlfw4vlMCuMhFv8--