From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 2 17:47:08 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 03802B8F; Mon, 2 Feb 2015 17:47:08 +0000 (UTC) Received: from mail-qc0-x22c.google.com (mail-qc0-x22c.google.com [IPv6:2607:f8b0:400d:c01::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AF926911; Mon, 2 Feb 2015 17:47:07 +0000 (UTC) Received: by mail-qc0-f172.google.com with SMTP id x3so7402150qcv.3; Mon, 02 Feb 2015 09:47:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=5xro8hAGH9S3LoZ1TilueYRq9ZltsUZFh09f4mf7pkQ=; b=aAmG37y13jKYMkBaz3eQ1QhI60aj3kXdfE/4r0Ng+01ndFVWt0l9HxDpo7gQ9HUD+8 AIVGYO/YpfdYfiIrCqCVCE4Ce7LteM3qUNhhi++TWJTfoR8dcYLKOAEJNW6Susy4wGYu O+j/4icvJH8B2Ku/gqZqS78jnugKAjWGr7EO620daBDyVcjdpAEV2g7eEOTtOaHgyvGc 3e+8x3jTpBmGGLG/7YzxEOl9PVK9d1HK+Up+2ypxt+l1TAyhy+knmAG9usGyvPXniXIm NvnUgSJWiHSfDhZ7ZE6/BZBS3t3+AO9Zs6eeT6pZvV6b55j/hxEgEvtyCS3Ws0HHwWo+ yG3w== X-Received: by 10.224.103.129 with SMTP id k1mr43794946qao.93.1422899226897; Mon, 02 Feb 2015 09:47:06 -0800 (PST) Received: from rama-hkr.org (c-71-226-13-107.hsd1.ga.comcast.net. [71.226.13.107]) by mx.google.com with ESMTPSA id m74sm18864883qgd.17.2015.02.02.09.47.06 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Feb 2015 09:47:06 -0800 (PST) Message-ID: <54CFB83A.9080106@gmail.com> Date: Mon, 02 Feb 2015 12:47:38 -0500 From: R0B_ROD User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org, freebsd-mobile@freebsd.org Subject: Introduction Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2015 17:47:08 -0000 Hello! I am merging from Arch Linux, which seems that they copied BSD a lot. :P I am excited to be here. I have never been on a mailing list. My goal is to be a developer of any kind some day. I am always on my laptop since life has dealt me a bad hand. Maybe I haven't been very responsible. Who knows? Trying to do better each day. Looking to make life-long friends. My spirit is still in the 70's although I am only 30 y/o. I do feel like I was living in the time and still carry the 'loving-curious-rebel' attitude. Thanks for reading my ramble. r0b-r0d@rama-hkr:~ % uname -a FreeBSD 10.1-RELEASE #0 r274401 Tue Nov 11 21:0249 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC HP 2B19WM : 4GB RAM : AMD64 E-300 1.4GHz : ATI Radeon 6310HD -Roberto Rodriguez Jr. From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 2 23:09:45 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 737E2D0; Mon, 2 Feb 2015 23:09:45 +0000 (UTC) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gold.funkthat.com", Issuer "gold.funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 39A41269; Mon, 2 Feb 2015 23:09:44 +0000 (UTC) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.14.5/8.14.5) with ESMTP id t12N9bwX014712 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 2 Feb 2015 15:09:37 -0800 (PST) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.14.5/8.14.5/Submit) id t12N9bk3014711; Mon, 2 Feb 2015 15:09:37 -0800 (PST) (envelope-from jmg) Date: Mon, 2 Feb 2015 15:09:37 -0800 From: John-Mark Gurney To: R0B_ROD Subject: Re: Introduction Message-ID: <20150202230937.GE27103@funkthat.com> References: <54CFB83A.9080106@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54CFB83A.9080106@gmail.com> X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (gold.funkthat.com [127.0.0.1]); Mon, 02 Feb 2015 15:09:38 -0800 (PST) Cc: freebsd-hackers@freebsd.org, freebsd-mobile@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2015 23:09:45 -0000 R0B_ROD wrote this message on Mon, Feb 02, 2015 at 12:47 -0500: > I am merging from Arch Linux, which seems that > they copied BSD a lot. :P > I am excited to be here. I have never been on a mailing list. > My goal is to be a developer of any kind some day. > I am always on my laptop since life has dealt me a bad hand. > Maybe I haven't been very responsible. Who knows? > Trying to do better each day. Looking to make life-long friends. > My spirit is still in the 70's although I am only 30 y/o. > I do feel like I was living in the time and still carry the > 'loving-curious-rebel' attitude. Thanks for reading my ramble. > > r0b-r0d@rama-hkr:~ % uname -a > FreeBSD 10.1-RELEASE #0 r274401 > Tue Nov 11 21:0249 UTC 2014 > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC > HP 2B19WM : 4GB RAM : AMD64 E-300 1.4GHz : ATI Radeon 6310HD Have fun here! It look like you have virtualization support on your CPU, so you could run bhyve to get virtual machines for testing/running current, but that requires you to run either 10-stable or head on it... There are plenty of little projects that need people to work on... look at both the bug database and the wiki for ideas... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 2 23:19:36 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BC50631F; Mon, 2 Feb 2015 23:19:36 +0000 (UTC) Received: from mail-qg0-x236.google.com (mail-qg0-x236.google.com [IPv6:2607:f8b0:400d:c04::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 711D837E; Mon, 2 Feb 2015 23:19:36 +0000 (UTC) Received: by mail-qg0-f54.google.com with SMTP id q108so49987964qgd.13; Mon, 02 Feb 2015 15:19:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=gKiKhhEZ+R2rVH/ijnMu+6KA0cT8SE6idD2NVgK4iCs=; b=Rl6NjQZ6WH3VO6DrSpT5tDHJspxQjWMpaCZYdpR5vp51MLoW1KseXMQuIlijzUEZwk alqiGBJku+uJaUbTtGsBpGvKO2ZgVKuZZ4CGJ4P2q5gTOTvASmArKkcd+fjlrE1DI6cE qp+YqWKo8E2SyU9Z2HfYvhfvi39asHXP65Kat1AFnR7DCDupkysrbyMrKSVgcIMXWVzi mxpT+T8DkzaBTvl6F5b1I/gcoM7kYaztAdBDkpkVMkVeDkhCW0ihxhDtTVgU1+1H0xUX LJAnJJE1KLP7ZSvWWzoISmSJw22uGtFMrj5NiGiX87GgfVOmamuqeVszxl+p4U7TZpoc Dzsg== X-Received: by 10.140.43.194 with SMTP id e60mr44651999qga.60.1422919175592; Mon, 02 Feb 2015 15:19:35 -0800 (PST) Received: from rama-hkr.org (c-71-226-13-107.hsd1.ga.comcast.net. [71.226.13.107]) by mx.google.com with ESMTPSA id y17sm19681608qaq.14.2015.02.02.15.19.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Feb 2015 15:19:35 -0800 (PST) Message-ID: <54D00627.5010000@gmail.com> Date: Mon, 02 Feb 2015 18:20:07 -0500 From: R0B_ROD User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: John-Mark Gurney Subject: Re: Introduction References: <54CFB83A.9080106@gmail.com> <20150202230937.GE27103@funkthat.com> In-Reply-To: <20150202230937.GE27103@funkthat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-hackers@freebsd.org, freebsd-mobile@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2015 23:19:36 -0000 Thanks for taking time to point me in a direction. I currently am learning how to get my machine's hardware configured. Ran into a wall. Posted to the list but got yelled at for cross-posting. Oops. Still working on getting my meta-learning skills established, organizing data, time management, problem definition, etc. I am hopeful that I will meet a mentor here. There must be someone that can see something good in me. -- > Roberto > ^ > /"\ / 33.2947° N, 82.2006° W > \ / ASCII REBEL CAMPAIGN / (1) 4044743997 > -X- AGAINST HTML EMAIL / witchdoctor.mdf at gmail.COM > / \ AND POSTINGS / http://mdf0.blogspot.com > \_/ From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 2 23:22:16 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8CB914DC for ; Mon, 2 Feb 2015 23:22:16 +0000 (UTC) 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)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 419EA626 for ; Mon, 2 Feb 2015 23:22:16 +0000 (UTC) Received: by mail-qc0-f176.google.com with SMTP id c9so32957267qcz.7 for ; Mon, 02 Feb 2015 15:22:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=WRGIPlRJlNof/nUNVd7vEVaIpVxtrXB2Xiv33BOagU0=; b=kIquDUR9clgGpiNAz/Y++ARz9fG83O5cdyiT3zok92SQ6fo5z5a9nxlW2obnXQPsrI 8Tz7MNUaYZPuh+5QFISbBwvvL4boSdSNZYdX6NqOvLPEmx5gllR7gwD8CK4H3+wIqjVt FkE7CQNkGYE3qBYwKJg+Zv35ZeofGmtZ40RBgzblZifHNrpga6QY3D+Z37kvJTQ80YqZ ZHNBUg1/QsusLkYXwwwKd4xc4sdr1g+1Tagrn+TIaNnFHSskfRnsxgsMc3tZ3CrjE/X2 6SmK+fvroOBeGTX7sUDJwFCpzsM2FiHcqkBcHmgxm5c/BIjDmLgm6I/Yx/C56mUpvQ/P VLEg== X-Received: by 10.140.81.208 with SMTP id f74mr9567728qgd.94.1422919335326; Mon, 02 Feb 2015 15:22:15 -0800 (PST) Received: from rama-hkr.org (c-71-226-13-107.hsd1.ga.comcast.net. [71.226.13.107]) by mx.google.com with ESMTPSA id l93sm19637212qgd.23.2015.02.02.15.22.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Feb 2015 15:22:14 -0800 (PST) Message-ID: <54D006C6.6070100@gmail.com> Date: Mon, 02 Feb 2015 18:22:46 -0500 From: R0B_ROD User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: David King , freebsd-hackers@freebsd.org Subject: Re: Introduction References: <54CFB83A.9080106@gmail.com> <20150202230937.GE27103@funkthat.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2015 23:22:16 -0000 Thanks a lot. I shall indeed look at those and try to learn. -- > Roberto > ^ > /"\ / 33.2947° N, 82.2006° W > \ / ASCII REBEL CAMPAIGN / (1) 4044743997 > -X- AGAINST HTML EMAIL / witchdoctor.mdf at gmail.COM > / \ AND POSTINGS / http://mdf0.blogspot.com > \_/ From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 2 23:26:40 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7DED55FC for ; Mon, 2 Feb 2015 23:26:40 +0000 (UTC) Received: from caprica.ketralnis.com (caprica.ketralnis.com [184.73.185.184]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 538C8648 for ; Mon, 2 Feb 2015 23:26:39 +0000 (UTC) Received: from [10.0.15.252] (108-60-121-46.static.wiline.com [108.60.121.46]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: dking) by caprica.ketralnis.com (Postfix) with ESMTPSA id 06734DE054; Mon, 2 Feb 2015 15:18:25 -0800 (PST) Content-Type: multipart/signed; boundary="Apple-Mail=_A340E45F-6289-497B-AA3E-C713CF557364"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Introduction From: David King In-Reply-To: <20150202230937.GE27103@funkthat.com> Date: Mon, 2 Feb 2015 15:18:23 -0800 Message-Id: References: <54CFB83A.9080106@gmail.com> <20150202230937.GE27103@funkthat.com> To: freebsd-hackers@freebsd.org X-Mailer: Apple Mail (2.1878.6) Cc: R0B_ROD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2015 23:26:40 -0000 --Apple-Mail=_A340E45F-6289-497B-AA3E-C713CF557364 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > There are plenty of little projects that need people to work on... > look at both the bug database and the wiki for ideas... https://wiki.freebsd.org/JuniorJobs is a pretty good starting point, = albeit a little barren --Apple-Mail=_A340E45F-6289-497B-AA3E-C713CF557364 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJU0AW/AAoJEFrLaEb73Smz8IwQAJQpj97q7QbRxqtYBVpU/wzn 6hCVVnl6k6lmNQiSJBJAEU6Rox9KKN3tgQScPKujBbw7l5LGkI/qyKxv6sB+n3OV 7l1hs9YDzxMA5j7ugFJFVxjPWfMRWn8+0EXLmmp57DFTNDtcsp9o8kb7RH+vSk1R g+56EhshDjMT3d6Ldx6mW55eA8cZjRrbkWuoWv4pd02Ly2cnsTCgNNjmWZWTyXO0 cQD9cIh9JTRegbr/e6eZXY7mWaq4RRLZP57Jkg3B6tnMFvIZW9pnF1gkOgcfy1M/ 4KuMUxyi5Nc9B36bGPQmwcaqU5l7G6G/xWhjYwjyStt64yZZ7lVB2WU0mIIMQRdX 69H3//qGThjRkiAzQvFMjonQtQjPxLDEwaetwf3zMr/XjVm3+8VwEjDpXMgtrKgg J+cFOnXflDVfYhsgAIafI8eTBWIeo+AdG9u7W+nAd7wU3DacxnKMsffb2yEsSd9i rTo3AtfOREGoOxg5j1Qkl7o3N/dB1CEsTvlrKnJCydNlYPGKm+8U8Sd/L92ZZFHf z/YJZmO5gw3/wGu6pliN8grJgMAQS3+TtJyxuZ0jwn6ZasfS8XWnWVPCyRqjXNNj jyGFT6P7avaFMngpxwjVW0vZrLv10kWrKvcHqJYk4jn7VVyPkk+Icfmw8lHRTGGF AzZ6DSd8VokgZ3Bib5Vn =2k1r -----END PGP SIGNATURE----- --Apple-Mail=_A340E45F-6289-497B-AA3E-C713CF557364-- From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 3 23:44:39 2015 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C1B81787 for ; Tue, 3 Feb 2015 23:44:39 +0000 (UTC) Received: from mail-yh0-x22e.google.com (mail-yh0-x22e.google.com [IPv6:2607:f8b0:4002:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 81EA6FA for ; Tue, 3 Feb 2015 23:44:39 +0000 (UTC) Received: by mail-yh0-f46.google.com with SMTP id c41so19866417yho.5 for ; Tue, 03 Feb 2015 15:44:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=wsjT8fvPPWXM5wppMhx/oufylWa6LBizNkUaBXK42SY=; b=cVE+4UektvhWmlfR4tCrNMLHZoYymxH6k3O+bZZYuOk5se2OT//QhXzmaHSxgg155U 3ii/NGtG8uf//3n1Dhp+7glAF/74jCqRQ6oAEr83Ldkd0x569fbw2nl1yfqBVVr4kANd hgKJcsH97anXKLz1ozTDAAGmFQZoAd9Hqp2PVnZDNTxoGmnJLbg1QsiN7fQTxnsR/Spd 3H2o71LxFbbucyU+UJz5VvK0ordUA9FhxdS0n4yjw1izNgGSNqPltyfZCEZBC66UL3JU 4SghohhunCRXmqeNRn+/kgdazeDT+xlroOAi3D3J53mRNK7NP87MyH3FDxH5bzJ0SWka 3VPA== MIME-Version: 1.0 X-Received: by 10.170.157.5 with SMTP id y5mr12690978ykc.123.1423007078628; Tue, 03 Feb 2015 15:44:38 -0800 (PST) Received: by 10.170.124.206 with HTTP; Tue, 3 Feb 2015 15:44:38 -0800 (PST) Date: Tue, 3 Feb 2015 19:44:38 -0400 Message-ID: Subject: OT: tail nuance From: Paul Halliday To: hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2015 23:44:39 -0000 I figured someone here would likely know the answer to this one. On freebsd if I do: ~% mkdir dirA ~% tail -n0 -F dirA/afile.txt ~% echo test > dirA/afile.txt >> test ~% mv dirA dirB ~% rm dirB/afile.txt ~% mkdir dirA ~% echo test > dirA/afile.txt >> test Which is what I would expect to happen. When I do the same test on a linux box it doesn't report the last echo (or any other redirection to the file). What am I missing? Thanks! -- Paul Halliday http://www.pintumbler.org/ From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 4 00:56:43 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 61116115; Wed, 4 Feb 2015 00:56:43 +0000 (UTC) Received: from mail-wg0-x22d.google.com (mail-wg0-x22d.google.com [IPv6:2a00:1450:400c:c00::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E8875ACA; Wed, 4 Feb 2015 00:56:42 +0000 (UTC) Received: by mail-wg0-f45.google.com with SMTP id x12so47653423wgg.4; Tue, 03 Feb 2015 16:56:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=m8P0PPKznLKLBQbZU8poOr7cYm6YF5hhp64deoSU4oY=; b=X3XNyVV2kX+VRRZ5GQu5q22F/zMowMOcZGDjZ8Vx6JZHLPBU3KVTtsRfnGoiQ2Ohi1 exCVcYZolABwzsd9RSakc1k/s6YovQOudU812awUo56R7Q6GpDXXm3+T+vaZH+Zw8Ue3 GTgB8otAalCDWkrXEQB12gpEYChb1ArXEPCiyL8WgbzEb7vYg4hAS6cqnkrH/RoeR/Ko gn18T8dUNrVHcfz7HAKdaE7YI0BlBXfM7Uwzyscn3afZE49x6AFH5hjWlTPNh9KrCeK5 yVQ2Pk+P7T6BELU13mNTaYWGp0rjir7YmV8cchQgWfbaX0woGyEtEWQT7ePZ1WzIjgAZ LRxA== MIME-Version: 1.0 X-Received: by 10.180.206.14 with SMTP id lk14mr39376212wic.71.1423011401249; Tue, 03 Feb 2015 16:56:41 -0800 (PST) Received: by 10.194.6.225 with HTTP; Tue, 3 Feb 2015 16:56:41 -0800 (PST) In-Reply-To: References: Date: Tue, 3 Feb 2015 22:56:41 -0200 Message-ID: Subject: Re: resurrecting oliver fromme's graphical bootloader From: Pedro Arthur To: Adrian Chadd X-Mailman-Approved-At: Wed, 04 Feb 2015 01:01:50 +0000 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-hackers@freebsd.org" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2015 00:56:43 -0000 Hi, I had a look at your work and I saw you had to write some Forth glue code. I don't know if it will help you but I worked in the Lua loader Google Summer of code project and I have a working Lua script interpreter into the loader with almost identical features found in the Forth scripts. I think writing whatever code you want in Lua will be much easier. Some time ago we had a discussion about integrating the Lua loader work in HEAD but yet it needs some more work. If you are interested in using Lua you can find the svn repo and instructions in [1]. Regards, Pedro [1] - https://wiki.freebsd.org/SummerOfCode2014/LuaLoader 2015-01-31 4:07 GMT-02:00 Adrian Chadd : > hi all, > > I resurrected oliver's graphical bootloader and shuffled the VGA code > away into sys/boot/i386/libi386vga/ . > > https://github.com/erikarn/freebsd/tree/adrian_loader_graphics > > The menu side of things needs updating and re-integration into how the > current beastie setup path works. > > I'd like to get this tidied up and pushed into HEAD so it can start > getting some more exposure. I'd also like to write a generic FB > graphics interface so we can use it on EFI and the raspberry pi. > > This is highly spare time, so I'd appreciate any help people can provide. > > Thanks! > > > -adrian > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 4 01:17:33 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 70F8A623 for ; Wed, 4 Feb 2015 01:17:33 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 4AE8FCCC for ; Wed, 4 Feb 2015 01:17:32 +0000 (UTC) Received: from [192.168.1.2] (Seawolf.HML3.ScaleEngine.net [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 771F192471 for ; Wed, 4 Feb 2015 01:17:31 +0000 (UTC) Message-ID: <54D17336.3070500@freebsd.org> Date: Tue, 03 Feb 2015 20:17:42 -0500 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Re: OT: tail nuance References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="taxCfKm5XirTp7fJAVed7SgHpmIWc63r0" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2015 01:17:33 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --taxCfKm5XirTp7fJAVed7SgHpmIWc63r0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015-02-03 18:44, Paul Halliday wrote: > I figured someone here would likely know the answer to this one. >=20 > On freebsd if I do: >=20 > ~% mkdir dirA > ~% tail -n0 -F dirA/afile.txt > ~% echo test > dirA/afile.txt >=20 >>> test >=20 > ~% mv dirA dirB > ~% rm dirB/afile.txt > ~% mkdir dirA > ~% echo test > dirA/afile.txt >=20 >>> test >=20 > Which is what I would expect to happen. When I do the same test on a > linux box it doesn't report the last echo (or any other redirection to > the file). >=20 > What am I missing? >=20 > Thanks! >=20 Linux's tail is not as featureful -F is just an alias for -f, whereas on FreeBSD tail -F: The -F option implies the -f option, but tail will also check to see if the file being followed has been renamed or rotated. The file is closed and reopened when tail detects that the filename being read from has a new inode number. If the file being followed does not (yet) exist or if it is removed, tail will keep looking and will display the file from the beginning if and when it is created. Some history on the tail(1) command: https://www.youtube.com/watch?feature=3Dplayer_detailpage&v=3Dvm1GJMp0QN4= #t=3D2434 --=20 Allan Jude --taxCfKm5XirTp7fJAVed7SgHpmIWc63r0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJU0XM4AAoJEJrBFpNRJZKf4NYP/R510COPZOrsk//PEGad9OxJ yKD5XgrhAl8RpfhsL9EheUbnY2BWumJorHt97ZnM9H2A9nAAXyhOHSUI3ZLzT2yv RzLF3wAk/bMqB40Zcj/2AKDRO1S7vyh90tqLTaZ4TM2b+D+arwLJGH9Te2nh76qU s9UDyyN25t8uWJ9UzH97NBTjS0GDpscgMwCtW04kJP0X7Y9VwnSAt61SIEDX02Gx IplJoW/EQGyOCAdktxZP6zR8rBEpOVYnpHj6fTSlYC5InZr8ZCudAOz9EgFJFwYb ZYily3f8UQx0Ew9oS3K/9S2LWbTjbDDKK/OzIi5X4e0cfg3NhiKSRotsyA1II/Ot rUwTuwwUTmPsXdPJdn+773p7XKe0R6lejikSHTwUhN1o6EMYWXenJ210gLBAcEdJ /MRHEPI5e86Yykl2ah9FtjoshrTeyycFDxVRkHOAGFUQa5fRcBgpTI/bMcAGHPaH yP/qxsgkGB3xLnPR191CUn7fI9ATbcssQ3u1x1bISV4Ee1cjv+oGzDc7fc4tMT/c ww/eWryGeE9qTFxgZDWdGBTToYOYy0oyXDuZK/6a1lYrJt18UD/v6kufe/NcayHS eQO4rNngOJ/qnV1rEehKRt5y98xh6QR1CDketjVgEs9IwL/GL4aRY0JYcd40Z8U6 3KrBIzFz1kQ1wEAvtTdT =WdFE -----END PGP SIGNATURE----- --taxCfKm5XirTp7fJAVed7SgHpmIWc63r0-- From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 4 13:48:14 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D965FBDE; Wed, 4 Feb 2015 13:48:14 +0000 (UTC) Received: from mail-ie0-x230.google.com (mail-ie0-x230.google.com [IPv6:2607:f8b0:4001:c03::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A9B4D86F; Wed, 4 Feb 2015 13:48:14 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id at20so1998831iec.7; Wed, 04 Feb 2015 05:48:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=tXnPiKBTtpWfmZ0H3eqUbMq3r29XcosBOuVx22Qixf4=; b=uLV1v8L1mKsVBJC9pb8sXRFkJxwP94RIiUqcbhw/EW07Qjnl2jR1e79njOE+K7fQVs CC1aDj3kecZEMoWByokmbBAW/OA0DNYujYj6GOxR90lMKc9eW9X8tOujqq+GmluWmAwR m6cMnTKuCDEkKClT0aG4QVAlMcVBdjWqNhXIGlwEcdGyzhGm55Cku/nLbzJlEuQ0yDEd +6F2F3ip6J75iN/pC+RKaVwXRSozP6GKuPTfeuNzFviUm2A7YElgIYXiUE4kmmTWJP24 Z2dTIt+R9p+qnbYj2TR1yiEPPMCMbjd7Y8hBuSG8oVPa6nLjz4PtFIMeGLPABDyfuYRc XzWQ== X-Received: by 10.107.27.76 with SMTP id b73mr20122774iob.64.1423057694121; Wed, 04 Feb 2015 05:48:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.91.193 with HTTP; Wed, 4 Feb 2015 05:47:53 -0800 (PST) In-Reply-To: References: From: Luca Pizzamiglio Date: Wed, 4 Feb 2015 14:47:53 +0100 Message-ID: Subject: Re: UEFI boot hangs with MINNOWBOARD To: Ed Maste Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Hackers , FreeBSD Current X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2015 13:48:15 -0000 Hi Ed, I've got a running MinnowBoard. All problems are not FreeBSD related, but with DVI display. Setting a fixed resolution instead of a "Auto" solved the problem. Thanks for the help Best regards, pizzamig PS I'll try to get a GetMemoryMap() / ExitBootServices() retry next week On Fri, Jan 30, 2015 at 6:35 PM, Ed Maste wrote: > On 30 January 2015 at 10:57, Luca Pizzamiglio > wrote: >> Hi, >> I'm testing CURRENT on a MINNOWBOARD >> (http://www.elinux.org/Minnowboard:MinnowMax): >> >> Dual-core atom E3825 CPU >> EFI Version: 2.4.0 >> EFI: EDK II >> >> boot1.efi starts, it can found the ufs partition with loader.efi >> loader.efi fails at BT->ExitBootServices() (elf64_exec() of >> sys/boot/amd64/efi/elf64_freebsd.c) > > Which revision are you testing, and do you have any local changes? > > I built a plain -current USB stick image a while back and had no > trouble, when using the HDMI output. I don't recall the revision at > the moment, but will try again soon. Serial console won't work because > the UARTs are not quite 16550-compatible. > > We do need a GetMemoryMap() / ExitBootServices() retry though. From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 4 17:32:53 2015 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 01E1E2C7; Wed, 4 Feb 2015 17:32:53 +0000 (UTC) Received: from dd16522.kasserver.com (dd16522.kasserver.com [85.13.137.124]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B8A3F97C; Wed, 4 Feb 2015 17:32:52 +0000 (UTC) Received: from mx12.chaot.net (62.65.196.213.cable.starman.ee [62.65.196.213]) by dd16522.kasserver.com (Postfix) with ESMTPSA id 708C545601F; Wed, 4 Feb 2015 18:32:43 +0100 (CET) Received: from localhost (1001@localhost [local]); by localhost (OpenSMTPD) with ESMTPA id bf843c8c; Wed, 4 Feb 2015 19:32:42 +0200 (EET) Date: Wed, 4 Feb 2015 19:32:42 +0200 From: Johannes Meixner To: hackers@freebsd.org, kib@freebsd.org, adrian@freebsd.org Subject: i915kms.ko regression? Message-ID: <20150204173241.GA2715@mx12.chaot.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="VS++wcV0S1rZb1Fb" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2015 17:32:53 -0000 --VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable So it seems that some change between 10 and 4 days ago to the i915kms subsy= stem introduced a regression with which loading i915kms through either console, = or Xorg, blanks the screen and makes the system unresponsive in that changing = to another tty, or from Xorg back to tty, does not yield any un-blanking. I don't currently have another machine to ssh in and read logfiles (so neit= her Xorg, messages or dmesg outputs can be had.=20 Is there any way I could go about debugging this issue? The Laptop contains both an NVIDIA GPU as well as a Sandy/IvyBridge one, sp= ecs here: https://wiki.freebsd.org/Laptops/ASUS_UX32VD Best -Johannes --=20 Johannes Meixner | FreeBSD Committer xmj@FreeBSD.org | http://people.freebsd.org/~xmj --VS++wcV0S1rZb1Fb Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCAAGBQJU0le2AAoJEPyeKTcbGw0Lf0sH/jIyOKX1JPVW0G6yZMJuzy6I s1Jy0d/JcyVVdSu1hJRpHGFlNoVz/7W7PT/XZ8ERDsJvbcspoNNnHygAp14sa07m AKSpJPDrKbv3Wyv5NfY5TTLNTcqYe5oKSLNYcl5QfVX8mMO+cbJfQUF2k0sI84LK aYONzOECPM/Cp6I0IOe+wwWEcflOWqpB9e3QArCpuwsZSWYOh+5a7CByt1+0CuWM I3cMqmGp/ba/ob0U3Hsi6/MA3O//bqy6v987HINzf1VXE/7qcCftOW1QeEh5bSMs AnUX2/W+OYH1wN5ZzVjLvIVwLj1alWFyCDRO8CN1c76wL364WMEt+khE4vwK5Wc= =5jBA -----END PGP SIGNATURE----- --VS++wcV0S1rZb1Fb-- From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 4 23:14:18 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D4A47F42 for ; Wed, 4 Feb 2015 23:14:18 +0000 (UTC) Received: from resqmta-ch2-09v.sys.comcast.net (resqmta-ch2-09v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:41]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9A3BD7C3 for ; Wed, 4 Feb 2015 23:14:18 +0000 (UTC) Received: from resomta-ch2-12v.sys.comcast.net ([69.252.207.108]) by resqmta-ch2-09v.sys.comcast.net with comcast id oPDB1p0072LrikM01PEGgv; Wed, 04 Feb 2015 23:14:16 +0000 Received: from resmail-ch2-217v.sys.comcast.net ([162.150.48.251]) by resomta-ch2-12v.sys.comcast.net with comcast id oPEG1p00K5RAVJS01PEGRs; Wed, 04 Feb 2015 23:14:16 +0000 Date: Wed, 4 Feb 2015 23:14:15 +0000 (UTC) From: rondzierwa@comcast.net To: freebsd-hackers@freebsd.org Message-ID: <1897206085.18211845.1423091655890.JavaMail.zimbra@comcast.net> In-Reply-To: <180767922.18206802.1423091179515.JavaMail.zimbra@comcast.net> Subject: SOL_SOCKET MIME-Version: 1.0 X-Originating-IP: [::ffff:50.241.136.197] X-Mailer: Zimbra 8.0.7_GA_6031 (ZimbraWebClient - FF28 (Win)/8.0.7_GA_6031) Thread-Topic: SOL_SOCKET Thread-Index: mmu4OsK+RG6C7w8AqwykBOfOKZlVaQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1423091656; bh=t1najzlzNBEsM9KTecTsqrLCQnJeQXxSJdeCcLWZ2R0=; h=Received:Received:Date:From:To:Message-ID:Subject:MIME-Version: Content-Type; b=Yyo7f1ZpT/pyMPa7qlRSoN067abQ4nCP3FQgL0+EoNOEHZp9im3RbCjsZzOcAuUog ykRx9Vj3UI7811EXEWiN8XWcfF2XTSye+DUW8kjJWcDvLifJa978lV7CmbMe7dd294 6/QOv5p5memFGA5HW3n1G+Az66E6qc+4WNByJK9GK9ElQoq/FQ7ZiBpKPJOu+uzTxI BMU/M8P/dGGNjvqpoX8TtlsyY+O8ekJ6/aQHTeYeWHcHwkLPyXRrPhvyyFp46M5Zc2 1eV/7PlBWwn9zwbqgfU7j2uy/ME8O4sk5ZMEHBSZeVz/XrWvawrMp5Dr5AxmRA5jvj ZK0HQU9YFXSuA== Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2015 23:14:19 -0000 Is SOL_SOCKET broken in 9.3-release? I have an app i'm porting from linux that consists of two programs, one is run as a command from ssh ( ssh user@host -T ./receiver ). The receiver program then passes its stdin and stdout fd's to a server program using through a unix socket in /tmp. When recompile to run on FreeBSD, the fd for stdin that i send over does not get translated - i.e. the fd i get from recvmsg in the server process is 0, which is the server's own stdin, not the stdin of the program that sent the fd. The stdout fd gets passed successfully. its only the stdin fd that isn't getting translated. I have tried doing a dup() on the fds before sending them, and the stdin fd still turns up as 0 at the other end. Is there something I have to do in order to send my stdin fd to another process? thanks, ron. From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 4 21:12:08 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2F2C443C; Wed, 4 Feb 2015 21:12:08 +0000 (UTC) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DC513828; Wed, 4 Feb 2015 21:12:07 +0000 (UTC) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id B14EC6A6056; Wed, 4 Feb 2015 22:12:05 +0100 (CET) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id t14LC5PE000263; Wed, 4 Feb 2015 22:12:05 +0100 (CET) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id t14LC433099536; Wed, 4 Feb 2015 22:12:04 +0100 (CET) (envelope-from lars) Date: Wed, 4 Feb 2015 22:12:04 +0100 From: Lars Engels To: Pedro Arthur Subject: Re: resurrecting oliver fromme's graphical bootloader Message-ID: <20150204211204.GO41565@e-new.0x20.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="T/M61er1Kkwq3bEY" Content-Disposition: inline In-Reply-To: X-Editor: VIM - Vi IMproved 7.4 X-Operation-System: FreeBSD 8.4-RELEASE-p23 User-Agent: Mutt/1.5.23 (2014-03-12) X-Mailman-Approved-At: Thu, 05 Feb 2015 02:59:35 +0000 Cc: "freebsd-hackers@freebsd.org" , Adrian Chadd X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2015 21:12:08 -0000 --T/M61er1Kkwq3bEY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 03, 2015 at 10:56:41PM -0200, Pedro Arthur wrote: > Hi, I had a look at your work and I saw you had to write some Forth glue > code. > I don't know if it will help you but I worked in the Lua loader Google > Summer of > code project and I have a working Lua script interpreter into the loader > with > almost identical features found in the Forth scripts. I think writing > whatever > code you want in Lua will be much easier. >=20 > Some time ago we had a discussion about integrating the Lua loader work in > HEAD > but yet it needs some more work. If you are interested in using Lua you c= an > find the > svn repo and instructions in [1]. >=20 Pedro, could you add your GSoC project's code to Adrian's sources? Lars --T/M61er1Kkwq3bEY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJU0oskXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1t9C8H/3yZU7+I9t3nL1luBN+Wr/73 rp2NvGs9CuwMlvjz0x6W90rBJXEQVWaA9zqv1aBF/RIUPb2Sm2pfhQ14T61IYhrs CCmrl+eRRIzOO+mTdlbUI4hzYPXvLrJ0i5/YDT4t2JRAcsv4MvYyRs/2lGF4OGVA VIIESBz1GBUyjQ4SvDkwh8abucjBygHhay0bmZQBzGPinXuNlB3RJBVom5hsjKvx r8xdIgIIDXIbxDkQ97z2mJVNlDZ58lktBuTWtHc2QZZDgCyieFZ/WWylpuUXDBpa Ee5Uo/4tD0QxSehUS9FYqK1r1MPq0NDFKXK7y1VUyFtHHSgx62+N2of5yruNKME= =icrQ -----END PGP SIGNATURE----- --T/M61er1Kkwq3bEY-- From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 4 23:30:11 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 338745AF; Wed, 4 Feb 2015 23:30:11 +0000 (UTC) Received: from mail-wg0-x232.google.com (mail-wg0-x232.google.com [IPv6:2a00:1450:400c:c00::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B9A00922; Wed, 4 Feb 2015 23:30:10 +0000 (UTC) Received: by mail-wg0-f50.google.com with SMTP id b13so4546011wgh.9; Wed, 04 Feb 2015 15:30:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=KA8+HmaFV44GzBZ6pHZP7gy3tNe26uRYx3JJv4uHDbI=; b=S9e76meNbdnLjuxuoyrF3HSKm0Q26MQe8yC8qXcM64mW3dsEcvweC9Y+ZHJZctbT1o pMfeG/OmTmSFLp7dxocOrLT95P9k+WRyH7JNtoYqdS7ppLWT7nOtNMqwpE44OPVLs9It 8MqEjqvZEpyBQufsOUkJ9m28LAInlTw5Q8yZJyKIJl7UVAoHeCv9W3DC647g0pYGqu5Y 3Lt3aSZfnKgPR6la4y8webCPNtbbuqCNfQmbzRl4J6hTHLn5TLicRL9i8UfTCMAJQ20R Jk+Z/Ndv7XIGC3ffODrNXc1wKjQYltVD9SmGDQR0tBT1ec4Jbm8X9zDErqXOIhhUposA /zPA== MIME-Version: 1.0 X-Received: by 10.194.173.161 with SMTP id bl1mr1661072wjc.102.1423092609196; Wed, 04 Feb 2015 15:30:09 -0800 (PST) Received: by 10.194.6.225 with HTTP; Wed, 4 Feb 2015 15:30:09 -0800 (PST) In-Reply-To: <20150204211204.GO41565@e-new.0x20.net> References: <20150204211204.GO41565@e-new.0x20.net> Date: Wed, 4 Feb 2015 21:30:09 -0200 Message-ID: Subject: Re: resurrecting oliver fromme's graphical bootloader From: Pedro Arthur To: Lars Engels X-Mailman-Approved-At: Thu, 05 Feb 2015 02:59:46 +0000 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-hackers@freebsd.org" , Adrian Chadd X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2015 23:30:11 -0000 Sure, I can fork his repo on github and later send a pull request. Do you think it's a good approach? 2015-02-04 19:12 GMT-02:00 Lars Engels : > On Tue, Feb 03, 2015 at 10:56:41PM -0200, Pedro Arthur wrote: > > Hi, I had a look at your work and I saw you had to write some Forth glue > > code. > > I don't know if it will help you but I worked in the Lua loader Google > > Summer of > > code project and I have a working Lua script interpreter into the loader > > with > > almost identical features found in the Forth scripts. I think writing > > whatever > > code you want in Lua will be much easier. > > > > Some time ago we had a discussion about integrating the Lua loader work > in > > HEAD > > but yet it needs some more work. If you are interested in using Lua you > can > > find the > > svn repo and instructions in [1]. > > > > Pedro, > > could you add your GSoC project's code to Adrian's sources? > > > Lars > From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 5 05:38:19 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 40602132 for ; Thu, 5 Feb 2015 05:38:19 +0000 (UTC) Received: from elvis.mu.org (elvis.mu.org [IPv6:2001:470:1f05:b76::196]) by mx1.freebsd.org (Postfix) with ESMTP id 1DA11A04 for ; Thu, 5 Feb 2015 05:38:19 +0000 (UTC) Received: from u10-2-32-011.office.norse-data.com (unknown [50.204.88.51]) by elvis.mu.org (Postfix) with ESMTPSA id 238F4341F8AD for ; Wed, 4 Feb 2015 21:38:12 -0800 (PST) Message-ID: <54D301EB.5010107@mu.org> Date: Wed, 04 Feb 2015 21:38:51 -0800 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Re: SOL_SOCKET References: <1897206085.18211845.1423091655890.JavaMail.zimbra@comcast.net> In-Reply-To: <1897206085.18211845.1423091655890.JavaMail.zimbra@comcast.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2015 05:38:19 -0000 On 2/4/15 3:14 PM, rondzierwa@comcast.net wrote: > Is SOL_SOCKET broken in 9.3-release? Not that I am aware of. > > I have an app i'm porting from linux that consists of two programs, one is run as a command from ssh ( ssh user@host -T ./receiver ). The receiver program then passes its stdin and stdout fd's to a server program using through a unix socket in /tmp. > > When recompile to run on FreeBSD, the fd for stdin that i send over does not get translated - i.e. the fd i get from recvmsg in the server process is 0, which is the server's own stdin, not the stdin of the program that sent the fd. The stdout fd gets passed successfully. its only the stdin fd that isn't getting translated. > > I have tried doing a dup() on the fds before sending them, and the stdin fd still turns up as 0 at the other end. > > Is there something I have to do in order to send my stdin fd to another process? > > thanks, > ron. > You'll need to give some example code for anyone to help. -Alfred From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 6 03:50:46 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BEA309AA for ; Fri, 6 Feb 2015 03:50:46 +0000 (UTC) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [150.101.137.129]) by mx1.freebsd.org (Postfix) with ESMTP id 53887CC8 for ; Fri, 6 Feb 2015 03:50:45 +0000 (UTC) Received: from ppp118-210-197-72.lns20.adl6.internode.on.net (HELO midget.dons.net.au) ([118.210.197.72]) by ipmail06.adl2.internode.on.net with ESMTP; 06 Feb 2015 14:20:37 +1030 Received: from auxxoconnd1m1.dons.net.au (AUXXOCONND1M1.dons.net.au [10.0.2.104]) (authenticated bits=0) by midget.dons.net.au (8.15.1/8.14.9) with ESMTPSA id t163oTIH062115 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Feb 2015 14:20:34 +1030 (CST) (envelope-from darius@dons.net.au) From: "O'Connor, Daniel" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Fri, 6 Feb 2015 14:20:29 +1030 Subject: Two drivers sharing a single PCI device To: FreeBSD Hackers Message-Id: <643918BB-810C-4FB2-AE1A-C4CDA6C8A661@dons.net.au> Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) X-Mailer: Apple Mail (2.2070.6) X-Spam-Score: -2.909 () ALL_TRUSTED,BAYES_00,T_RP_MATCHES_RCVD,URIBL_BLOCKED X-Scanned-By: MIMEDefang 2.75 on 10.0.2.1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2015 03:50:46 -0000 Hi, I am working on an EHCI debug driver and I have the basics working = (attach, probe for a debug dongle and send data back and forth) - = https://bitbucket.org/DJOConnor/dbgp However one problem remaining is that for it to work you have to detach = the EHCI driver (obviously rather suboptimal :) so I am wondering what = the best way would be to allow both ehci and dbgp to attach to the same = PCI device. The dbgp driver doesn't touch the EHCI registers once it's running but = it does have some code to start the EHCI controller and reset the port = during attach. I can modify echi so it uses RF_SHAREABLE which should allow them to get = newbus handles to the same area but the problem is that only one probe = routine gets called. Any help appreciated, thanks. -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 6 11:43:47 2015 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DADABA8E for ; Fri, 6 Feb 2015 11:43:47 +0000 (UTC) Received: from mail-oi0-x22e.google.com (mail-oi0-x22e.google.com [IPv6:2607:f8b0:4003:c06::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9792926C for ; Fri, 6 Feb 2015 11:43:47 +0000 (UTC) Received: by mail-oi0-f46.google.com with SMTP id a141so11466684oig.5 for ; Fri, 06 Feb 2015 03:43:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=6VaLhJQ4WHRa/A88OC9d1zAY40cazWCaX5Cads53tps=; b=xCVflH+7rfB6WpEAcH2Xo9vHqD8LPo7Mmw9l4HWEhJ1WNkc93lb0nuAGHdkBHGE8g2 WjERqFU10daJBh+JyrMu49DV9MHYBXgu2ZONaiN48Abt6Zos7Lvga5l7MpshCW3Wjai2 SWcaPd+c6ZCcf65jbWySA4LcfpVTs+e6oaleBKE7cer+kDsD86lWOM0A36Xzap1WDSWW deFLYZzxrMQ4eDJ22ld0RCLDhuK47uQ+h3TnR4Yg4FurSAV8RaJE2tKBldWBmQsDQ98p 3liDrFAtXTX102tVwAj8DNI09kZVKT62vqTl+72almHIpgGe8E2x5pNsy2OzAXa29/7H aoMg== MIME-Version: 1.0 X-Received: by 10.182.251.138 with SMTP id zk10mr2192836obc.72.1423223026926; Fri, 06 Feb 2015 03:43:46 -0800 (PST) Received: by 10.76.153.166 with HTTP; Fri, 6 Feb 2015 03:43:46 -0800 (PST) Date: Fri, 6 Feb 2015 22:43:46 +1100 Message-ID: Subject: Raspberry Pi 2 & FreeBSD? From: Stephen Hocking To: hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2015 11:43:47 -0000 Hi, Has anyone got this version of the raspberry pi on their radar? Quad core, 1GB RAM etc.... From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 6 11:54:38 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F3FFAC87 for ; Fri, 6 Feb 2015 11:54:37 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B2BD73B7 for ; Fri, 6 Feb 2015 11:54:37 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id C3E451FE023; Fri, 6 Feb 2015 12:54:33 +0100 (CET) Message-ID: <54D4ABA6.805@selasky.org> Date: Fri, 06 Feb 2015 12:55:18 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: "O'Connor, Daniel" , FreeBSD Hackers Subject: Re: Two drivers sharing a single PCI device References: <643918BB-810C-4FB2-AE1A-C4CDA6C8A661@dons.net.au> In-Reply-To: <643918BB-810C-4FB2-AE1A-C4CDA6C8A661@dons.net.au> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2015 11:54:38 -0000 On 02/06/15 04:50, O'Connor, Daniel wrote: > Hi, > I am working on an EHCI debug driver and I have the basics working (attach, probe for a debug dongle and send data back and forth) - https://bitbucket.org/DJOConnor/dbgp > > However one problem remaining is that for it to work you have to detach the EHCI driver (obviously rather suboptimal :) so I am wondering what the best way would be to allow both ehci and dbgp to attach to the same PCI device. > > The dbgp driver doesn't touch the EHCI registers once it's running but it does have some code to start the EHCI controller and reset the port during attach. > > I can modify echi so it uses RF_SHAREABLE which should allow them to get newbus handles to the same area but the problem is that only one probe routine gets called. > > Any help appreciated, thanks. Hi, You possibly want "D_TRACKCLOSE" in d_flags in your cdevsw. What's the advantage of using the debug port over the regular EHCI USB interface? --HPS From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 6 11:57:44 2015 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5554078D for ; Fri, 6 Feb 2015 11:57:44 +0000 (UTC) Received: from mx.waitman.net (mx.waitman.net [136.0.16.173]) by mx1.freebsd.org (Postfix) with ESMTP id 3E2CA3F5 for ; Fri, 6 Feb 2015 11:57:43 +0000 (UTC) Received: by mx.waitman.net (Postfix, from userid 2) id 2B627435A6; Fri, 6 Feb 2015 03:58:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=waitman.net; s=default; t=1423223892; bh=N6XelmSePZXdtaLa8eMBWCycxqBP1V9dFE3pEWvZxC8=; h=In-Reply-To:References:Date:Subject:From:To:Cc:Reply-To; b=U6SpcXhKP+T8H3e7WBoZ9FldOOKhQOx+j05PBmszNR2yxyf7t8HLX7E9Xk/6WbMud nbZjpb7Uv8t++1t8aGj1pK+jIf7r4Y20GhjL7kvC6d+F7zdH/5D5IjlOysILkLuxJH 1IrxEO3H+TPd8q6xWZlmC8qkSuXlvOx3n7O2W7os= Received: from 70.90.171.37 by mx.waitman.net with HTTP; Fri, 6 Feb 2015 03:58:12 -0800 Message-ID: <548992a32c34c0ce7d44c6a89522e224.squirrel@mx.waitman.net> In-Reply-To: References: Date: Fri, 6 Feb 2015 03:58:12 -0800 Subject: Re: Raspberry Pi 2 & FreeBSD? From: "Waitman Gobble" To: "Stephen Hocking" Reply-To: waitman@waitman.net User-Agent: SquirrelMail/1.5.2 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2015 11:57:44 -0000 On Fri, February 6, 2015 3:43 am, Stephen Hocking wrote: > Hi, > > > Has anyone got this version of the raspberry pi on their radar? Quad > core, 1GB RAM etc.... > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > > i have a couple of them due to arrive feb 11. -- Waitman Gobble Los Altos California USA +1.510-830-7975 From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 6 11:58:36 2015 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2A34945B for ; Fri, 6 Feb 2015 11:58:36 +0000 (UTC) Received: from mail-oi0-x230.google.com (mail-oi0-x230.google.com [IPv6:2607:f8b0:4003:c06::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DEEB95E6 for ; Fri, 6 Feb 2015 11:58:35 +0000 (UTC) Received: by mail-oi0-f48.google.com with SMTP id g201so767108oib.7 for ; Fri, 06 Feb 2015 03:58:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=JarS2PewXrjz+8hnPriRREf6sSUn11p5sheEqQwdXAA=; b=i8JDx5D+pyKP9tcGyP1wQlg+OXH6PkAncEH6Skqgg+AmPF5Nk3dEUr45AILbQ6Imf/ xPZKg86ensuKkTMbs5rm6JuwJVQThYyL3q3X+UtWJtDLwU0x25YFXOp/c1k+7Y1BRjjL 8e5bpripZiaNb6fTPzwI+gJqAzIs+hPDoPFQrlyCCFHcptPAS5F+/uecbPktiyT/GJWN Dl2aPPtr3XrT8AMquNgelDpb6sVXdhAvOVZ1JxSAz4vlrRzOszuxrtwiXWg5NJ+YC1JS sIFBC0Pc2EkTi2kOJrQhy0V2fk8+F8swVnHqyWK05QIqGGAH/X9keHnZam8AuD7kAT3P VcJg== MIME-Version: 1.0 X-Received: by 10.202.201.194 with SMTP id z185mr2114133oif.32.1423223914976; Fri, 06 Feb 2015 03:58:34 -0800 (PST) Received: by 10.76.153.166 with HTTP; Fri, 6 Feb 2015 03:58:34 -0800 (PST) In-Reply-To: <548992a32c34c0ce7d44c6a89522e224.squirrel@mx.waitman.net> References: <548992a32c34c0ce7d44c6a89522e224.squirrel@mx.waitman.net> Date: Fri, 6 Feb 2015 22:58:34 +1100 Message-ID: Subject: Re: Raspberry Pi 2 & FreeBSD? From: Stephen Hocking To: waitman@waitman.net Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2015 11:58:36 -0000 I ask, because mine just turned up! On Fri, Feb 6, 2015 at 10:58 PM, Waitman Gobble wrote: > > On Fri, February 6, 2015 3:43 am, Stephen Hocking wrote: > > Hi, > > > > > > Has anyone got this version of the raspberry pi on their radar? Quad > > core, 1GB RAM etc.... > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to " > freebsd-hackers-unsubscribe@freebsd.org" > > > > > > i have a couple of them due to arrive feb 11. > > -- > Waitman Gobble > Los Altos California USA > +1.510-830-7975 > > From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 6 12:00:35 2015 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D12A1F49 for ; Fri, 6 Feb 2015 12:00:35 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B578636 for ; Fri, 6 Feb 2015 12:00:35 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id B521E1FE023; Fri, 6 Feb 2015 13:00:32 +0100 (CET) Message-ID: <54D4AD12.1080400@selasky.org> Date: Fri, 06 Feb 2015 13:01:22 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Stephen Hocking , waitman@waitman.net Subject: Re: Raspberry Pi 2 & FreeBSD? References: <548992a32c34c0ce7d44c6a89522e224.squirrel@mx.waitman.net> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2015 12:00:35 -0000 On 02/06/15 12:58, Stephen Hocking wrote: > I ask, because mine just turned up! > When you get it running I would like to see some USB performance numbers ... --HPS From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 6 12:06:52 2015 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 20D05400 for ; Fri, 6 Feb 2015 12:06:52 +0000 (UTC) Received: from mx.waitman.net (mx.waitman.net [136.0.16.173]) by mx1.freebsd.org (Postfix) with ESMTP id ED1177A0 for ; Fri, 6 Feb 2015 12:06:51 +0000 (UTC) Received: by mx.waitman.net (Postfix, from userid 2) id 7B008435A6; Fri, 6 Feb 2015 04:07:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=waitman.net; s=default; t=1423224441; bh=zfAiQX7/NOLFQudq4iAltB+aW2ei0wuexyYSPqlF9vw=; h=In-Reply-To:References:Date:Subject:From:To:Cc:Reply-To; b=K0e9JbjVeY8YX7zf7Wm26YkiBokNPip9KSSfPO59KaV7u+85Y0+29hQKHBIfdKnJv CYVkU0ecEwS7QDrLP5uKG2VZ5+c67dKSmn2sCsQFLa9DjogkHV8fBKpWnCnwywScs/ E2Y/6M9x9kj1VmR/LMS8CNnQED7yHiF86s2qFL9w= Received: from 70.90.171.37 by mx.waitman.net with HTTP; Fri, 6 Feb 2015 04:07:21 -0800 Message-ID: <2b6426e5fe4c7335d4714a195df87cce.squirrel@mx.waitman.net> In-Reply-To: References: <548992a32c34c0ce7d44c6a89522e224.squirrel@mx.waitman.net> Date: Fri, 6 Feb 2015 04:07:21 -0800 Subject: Re: Raspberry Pi 2 & FreeBSD? From: "Waitman Gobble" To: "Stephen Hocking" Reply-To: waitman@waitman.net User-Agent: SquirrelMail/1.5.2 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: hackers@freebsd.org, waitman@waitman.net X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2015 12:06:52 -0000 On Fri, February 6, 2015 3:58 am, Stephen Hocking wrote: > I ask, because mine just turned up! > > > On Fri, Feb 6, 2015 at 10:58 PM, Waitman Gobble > wrote: > > >> >> On Fri, February 6, 2015 3:43 am, Stephen Hocking wrote: >> >>> Hi, >>> >>> >>> >>> Has anyone got this version of the raspberry pi on their radar? Quad >>> core, 1GB RAM etc.... _______________________________________________ >>> freebsd-hackers@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >>> To unsubscribe, send any mail to " >>> >> freebsd-hackers-unsubscribe@freebsd.org" >>> >>> >> >> i have a couple of them due to arrive feb 11. >> >> -- >> Waitman Gobble >> Los Altos California USA >> +1.510-830-7975 >> >> >> > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > > I guess you're the Guinea Pig. Congratulations. I presume you've seen this thread? https://lists.freebsd.org/pipermail/freebsd-arm/2015-February/010137.html -- Waitman Gobble Los Altos California USA +1.510-830-7975 From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 6 12:09:54 2015 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6DC18D21 for ; Fri, 6 Feb 2015 12:09:54 +0000 (UTC) Received: from mail-lb0-x230.google.com (mail-lb0-x230.google.com [IPv6:2a00:1450:4010:c04::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E5E8A7FA for ; Fri, 6 Feb 2015 12:09:53 +0000 (UTC) Received: by mail-lb0-f176.google.com with SMTP id u10so4197401lbd.7 for ; Fri, 06 Feb 2015 04:09:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=gx8vjj+04bmqP7llhePUUZQhKb3N3LsdYNMgYLL20cU=; b=wPcll2M377OeeJGB5ozCZ/EXwCNXCPKwLOMhA9hvsCegFVZZeFlRab6FLrqBr3eXmg 18Eg/Jf0QMDIoDLPcZC7HXK1yzIC8H75Dxp5aUPoTpmhW/p2JH5uozptM6gX74TXOklu n0GEpKylGX1jueJCHSwQAKapfmCM78j7v58YPIpsCNSLAyKyqQ9KDq59T6+GDJfpcANz sA9iXHMJ9YySdSNnTDWjgxRQPSPfVHPgVmfIPLFL4wd3cGoebGxNyk1xddYNKJvKH5e1 /DCYPgydnbFhEsmcsmFsJOVIft6MHrzqfsPdcOO7acwA/8yVZrCrgMi51zn/mAAL7HYY FR1Q== MIME-Version: 1.0 X-Received: by 10.152.29.66 with SMTP id i2mr2397739lah.64.1423224591571; Fri, 06 Feb 2015 04:09:51 -0800 (PST) Sender: aled.w.morris@googlemail.com Received: by 10.25.8.4 with HTTP; Fri, 6 Feb 2015 04:09:51 -0800 (PST) In-Reply-To: References: <548992a32c34c0ce7d44c6a89522e224.squirrel@mx.waitman.net> Date: Fri, 6 Feb 2015 12:09:51 +0000 X-Google-Sender-Auth: nApArxq746ni_wMOHPiScITpXvE Message-ID: Subject: Re: Raspberry Pi 2 & FreeBSD? From: Aled Morris To: Stephen Hocking Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: hackers@freebsd.org, waitman@waitman.net X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2015 12:09:54 -0000 I found FreeBSD a little unreliable on the old Pi (B), but I too have a Pi 2 now so I may give it another go. Aled On 6 February 2015 at 11:58, Stephen Hocking wrote: > I ask, because mine just turned up! > > On Fri, Feb 6, 2015 at 10:58 PM, Waitman Gobble > wrote: > > > > > On Fri, February 6, 2015 3:43 am, Stephen Hocking wrote: > > > Hi, > > > > > > > > > Has anyone got this version of the raspberry pi on their radar? Quad > > > core, 1GB RAM etc.... > > > _______________________________________________ > > > freebsd-hackers@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > > To unsubscribe, send any mail to " > > freebsd-hackers-unsubscribe@freebsd.org" > > > > > > > > > > i have a couple of them due to arrive feb 11. > > > > -- > > Waitman Gobble > > Los Altos California USA > > +1.510-830-7975 > > > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 6 12:34:09 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 27D889E7 for ; Fri, 6 Feb 2015 12:34:09 +0000 (UTC) Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by mx1.freebsd.org (Postfix) with ESMTP id A2191B4F for ; Fri, 6 Feb 2015 12:34:07 +0000 (UTC) Received: from ppp118-210-197-72.lns20.adl6.internode.on.net (HELO midget.dons.net.au) ([118.210.197.72]) by ipmail06.adl6.internode.on.net with ESMTP; 06 Feb 2015 23:04:04 +1030 Received: from auxxoconnd1m1.dons.net.au (AUXXOCONND1M1.dons.net.au [10.0.2.104]) (authenticated bits=0) by midget.dons.net.au (8.15.1/8.14.9) with ESMTPSA id t16CXw8B000536 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Feb 2015 23:04:01 +1030 (CST) (envelope-from darius@dons.net.au) Subject: Re: Two drivers sharing a single PCI device Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: text/plain; charset=windows-1252 From: "O'Connor, Daniel" In-Reply-To: <54D4ABA6.805@selasky.org> Date: Fri, 6 Feb 2015 23:03:58 +1030 Content-Transfer-Encoding: quoted-printable Message-Id: References: <643918BB-810C-4FB2-AE1A-C4CDA6C8A661@dons.net.au> <54D4ABA6.805@selasky.org> To: Hans Petter Selasky X-Mailer: Apple Mail (2.2070.6) X-Spam-Score: -2.909 () ALL_TRUSTED,BAYES_00,T_RP_MATCHES_RCVD,URIBL_BLOCKED X-Scanned-By: MIMEDefang 2.75 on 10.0.2.1 Cc: FreeBSD Hackers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2015 12:34:09 -0000 > On 6 Feb 2015, at 22:25, Hans Petter Selasky wrote: > On 02/06/15 04:50, O'Connor, Daniel wrote: >> Hi, >> I am working on an EHCI debug driver and I have the basics working = (attach, probe for a debug dongle and send data back and forth) - = https://bitbucket.org/DJOConnor/dbgp >>=20 >> However one problem remaining is that for it to work you have to = detach the EHCI driver (obviously rather suboptimal :) so I am wondering = what the best way would be to allow both ehci and dbgp to attach to the = same PCI device. >>=20 >> The dbgp driver doesn't touch the EHCI registers once it's running = but it does have some code to start the EHCI controller and reset the = port during attach. >>=20 >> I can modify echi so it uses RF_SHAREABLE which should allow them to = get newbus handles to the same area but the problem is that only one = probe routine gets called. >=20 > You possibly want "D_TRACKCLOSE" in d_flags in your cdevsw. > What's the advantage of using the debug port over the regular EHCI USB = interface? I don't think that would help. It is supposed to be (largely) separate = from the regular EHCI controller - it has it's own register set and it = can steal the debug port from the regular controller so it doesn't = appear occupied (although there is a bit of messing around on port = reset). The advantage is that it runs separately to the EHCI interface and it is = quite simple to talk to, there is more information in appendix C of the = USB 2 spec (usb_20.pdf). -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 6 12:37:36 2015 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 49CCFB2A for ; Fri, 6 Feb 2015 12:37:36 +0000 (UTC) Received: from mx.waitman.net (mx.waitman.net [136.0.16.173]) by mx1.freebsd.org (Postfix) with ESMTP id 2A25FBB0 for ; Fri, 6 Feb 2015 12:37:35 +0000 (UTC) Received: by mx.waitman.net (Postfix, from userid 2) id 42E4A435A6; Fri, 6 Feb 2015 04:38:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=waitman.net; s=default; t=1423226285; bh=8s+wrl501AbL++k8D/0/9rVVbb00bso/IdgReBkN9yw=; h=In-Reply-To:References:Date:Subject:From:To:Cc:Reply-To; b=Zrro7JAlU+YXHtNi8pvW0Fajlcue6klfJAyHewT4FDmE+UuCeySljH4EVya1E9yvd dwanfsD/ABYHReD+ld/C6JMrqgZ20OHAJQJF9Bd7SjxCUkRWK2KIT/pq7mzYZaB3cF IhuIjwONEwHf9qIMsyN61sq7KPoYYk2faLFTzwkc= Received: from 70.90.171.37 by mx.waitman.net with HTTP; Fri, 6 Feb 2015 04:38:05 -0800 Message-ID: <8c322d05f9bca01fd42ff752ad333eba.squirrel@mx.waitman.net> In-Reply-To: References: <548992a32c34c0ce7d44c6a89522e224.squirrel@mx.waitman.net> Date: Fri, 6 Feb 2015 04:38:05 -0800 Subject: Re: Raspberry Pi 2 & FreeBSD? From: "Waitman Gobble" To: "Aled Morris" Reply-To: waitman@waitman.net User-Agent: SquirrelMail/1.5.2 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Stephen Hocking , hackers@freebsd.org, waitman@waitman.net X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2015 12:37:36 -0000 On Fri, February 6, 2015 4:09 am, Aled Morris wrote: > I found FreeBSD a little unreliable on the old Pi (B), but I too have a > Pi > 2 now so I may give it another go. > > > Aled > > > On 6 February 2015 at 11:58, Stephen Hocking > wrote: > > >> I ask, because mine just turned up! >> >> >> On Fri, Feb 6, 2015 at 10:58 PM, Waitman Gobble >> wrote: >> >> >>> >>> On Fri, February 6, 2015 3:43 am, Stephen Hocking wrote: >>> >>>> Hi, >>>> >>>> >>>> >>>> Has anyone got this version of the raspberry pi on their radar? >>>> Quad >>>> core, 1GB RAM etc.... _______________________________________________ >>>> freebsd-hackers@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >>>> To unsubscribe, send any mail to " >>>> >>> freebsd-hackers-unsubscribe@freebsd.org" >>>> >>>> >>> >>> i have a couple of them due to arrive feb 11. >>> >>> -- >>> Waitman Gobble >>> Los Altos California USA >>> +1.510-830-7975 >>> >>> >>> >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to >> "freebsd-hackers-unsubscribe@freebsd.org" >> >> > B+ running FreeBSD 11.0-CURRENT has seemed to be pretty solid. For a minute I did see an issue with some stuck duplicating processes that took down the system but I implemented pid file control and max execution time limits to solve that problem. A couple of other issues I need to work out, are repeated abrupt system shutdowns (power off) going to be an fsck nightmare, and it seems there is an issue with some things I need to start on boot not starting probably because of a lag in initial wireless connection. I just need to rethink those programs a bit, while avoiding the use of cron. here's disk info with USB connected thumb drive on B+, when I get a #2 up and running next week I can post that info as well. # diskinfo -tv /dev/da0 /dev/da0 512 # sectorsize 15504900096 # mediasize in bytes (14G) 30283008 # mediasize in sectors 0 # stripesize 0 # stripeoffset 1885 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. 070145E2E7B25A46 # Disk ident. Seek times: Full stroke: 250 iter in 2.537767 sec = 10.151 msec Half stroke: 250 iter in 2.500066 sec = 10.000 msec Quarter stroke: 500 iter in 4.959595 sec = 9.919 msec Short forward: 400 iter in 3.943411 sec = 9.859 msec Short backward: 400 iter in 3.923324 sec = 9.808 msec Seq outer: 2048 iter in 1.912856 sec = 0.934 msec Seq inner: 2048 iter in 2.183054 sec = 1.066 msec Transfer rates: outside: 102400 kbytes in 8.565650 sec = 11955 kbytes/sec middle: 102400 kbytes in 8.553911 sec = 11971 kbytes/sec inside: 102400 kbytes in 8.524088 sec = 12013 kbytes/sec -- Waitman Gobble Los Altos California USA +1.510-830-7975 From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 7 02:42:27 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C1A46A3B for ; Sat, 7 Feb 2015 02:42:27 +0000 (UTC) Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0090.outbound.protection.outlook.com [65.55.169.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5F4C63C9 for ; Sat, 7 Feb 2015 02:42:26 +0000 (UTC) Received: from DM2PR0801MB0944.namprd08.prod.outlook.com (25.160.131.27) by DM2PR0801MB0942.namprd08.prod.outlook.com (25.160.131.25) with Microsoft SMTP Server (TLS) id 15.1.75.20; Sat, 7 Feb 2015 02:42:24 +0000 Received: from DM2PR0801MB0944.namprd08.prod.outlook.com ([25.160.131.27]) by DM2PR0801MB0944.namprd08.prod.outlook.com ([25.160.131.27]) with mapi id 15.01.0075.002; Sat, 7 Feb 2015 02:42:24 +0000 From: "Pokala, Ravi" To: "freebsd-hackers@freebsd.org" Subject: Changing the MTU on a lagg device Thread-Topic: Changing the MTU on a lagg device Thread-Index: AQHQQn+0qPs6AFh2xkSO1q7r/b61ug== Date: Sat, 7 Feb 2015 02:42:24 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.7.141117 x-originating-ip: [64.80.217.3] authentication-results: freebsd.org; dkim=none (message not signed) header.d=none; x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:DM2PR0801MB0942; x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:; SRVR:DM2PR0801MB0942; x-forefront-prvs: 0480A51D4A x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(164054003)(229853001)(107886001)(2900100001)(102836002)(87936001)(46102003)(86362001)(106116001)(99286002)(83506001)(110136001)(2351001)(40100003)(92566002)(122556002)(77156002)(62966003)(66066001)(450100001)(50986999)(2656002)(54356999)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0801MB0942; H:DM2PR0801MB0944.namprd08.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; Content-Type: text/plain; charset="us-ascii" Content-ID: <69EB68B571C326499A1ED92316BE961F@namprd08.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: panasas.com X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Feb 2015 02:42:24.5312 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: acf01c9d-c699-42af-bdbb-44bf582e60b0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0801MB0942 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2015 02:42:27 -0000 Hi folks, Let's say you have lagg0, consisting of if0 and if1. If you want to change the MTU, you have to remove if0 and if1 from the lagg, change their MTUs, and add them back; that is: 1) ifconfig lagg0 -laggport if0 2) ifconfig lagg0 -laggport if1 3) ifconfig if0 mtu 9000 4) ifconfig if1 mtu 9000 5) ifconfig lagg0 laggport if0 6) ifconfig lagg0 laggport if1 It would be nice if this could be done with a single command: 1) ifconfig lagg0 mtu 9000 Panasas implemented that functionality for our older base FreeBSD, and we're looking to port it forward and push it upstream. However, it looks like someone thought about this case and explicitly decided not to do it; if_lagg.c has: case SIOCSIFMTU: /* Do not allow the MTU to be changed once joined */ error =3D EINVAL; break; Does anyone know why that is? Would anyone object to a patch that lets you change the MTU on the lagg device, and having the lagg driver change it on all the component interfaces for you? Thanks, Ravi From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 7 02:47:53 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 83BD8B3D for ; Sat, 7 Feb 2015 02:47:53 +0000 (UTC) Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0092.outbound.protection.outlook.com [65.55.169.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 222823E9 for ; Sat, 7 Feb 2015 02:47:52 +0000 (UTC) Received: from DM2PR0801MB0943.namprd08.prod.outlook.com (25.160.131.26) by DM2PR0801MB1134.namprd08.prod.outlook.com (25.160.134.155) with Microsoft SMTP Server (TLS) id 15.1.75.20; Sat, 7 Feb 2015 02:47:49 +0000 Received: from DM2PR0801MB0944.namprd08.prod.outlook.com (25.160.131.27) by DM2PR0801MB0943.namprd08.prod.outlook.com (25.160.131.26) with Microsoft SMTP Server (TLS) id 15.1.75.20; Sat, 7 Feb 2015 02:47:47 +0000 Received: from DM2PR0801MB0944.namprd08.prod.outlook.com ([25.160.131.27]) by DM2PR0801MB0944.namprd08.prod.outlook.com ([25.160.131.27]) with mapi id 15.01.0075.002; Sat, 7 Feb 2015 02:47:47 +0000 From: "Pokala, Ravi" To: "freebsd-hackers@freebsd.org" Subject: PATCH: Bug 197379 - Add an option to run `syslogd' in the foreground Thread-Topic: PATCH: Bug 197379 - Add an option to run `syslogd' in the foreground Thread-Index: AQHQQoB0F8Pg+t+Gb0+EsuBTW1Q3pQ== Date: Sat, 7 Feb 2015 02:47:47 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.7.141117 x-originating-ip: [64.80.217.3] authentication-results: freebsd.org; dkim=none (message not signed) header.d=none; x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:DM2PR0801MB0943;UriScan:; x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:; SRVR:DM2PR0801MB0943; x-forefront-prvs: 0480A51D4A x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(76104003)(164054003)(110136001)(107886001)(2656002)(122556002)(50986999)(99286002)(40100003)(87936001)(2351001)(106116001)(229853001)(54356999)(86362001)(19580395003)(62966003)(83506001)(36756003)(102836002)(15975445007)(66066001)(77156002)(2900100001)(46102003)(450100001)(92566002)(81973001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0801MB0943; H:DM2PR0801MB0944.namprd08.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; Content-Type: text/plain; charset="us-ascii" Content-ID: <678236C20F3A24448D1E7CC2F4FB2FB5@namprd08.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Feb 2015 02:47:47.1913 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: acf01c9d-c699-42af-bdbb-44bf582e60b0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0801MB0943 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:DM2PR0801MB1134; X-OriginatorOrg: panasas.com X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2015 02:47:53 -0000 Hi folks, Earlier this week on efnet.net:#bsdcode, I mentioned the idea of a foreground mode for `syslogd'. I filed a PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D197379 and attached a patch https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D152635&action=3Ddiff Please take a look and tell me what you think. Thanks, Ravi From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 7 05:03:40 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 112E51BA for ; Sat, 7 Feb 2015 05:03:40 +0000 (UTC) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gold.funkthat.com", Issuer "gold.funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D907F664 for ; Sat, 7 Feb 2015 05:03:39 +0000 (UTC) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.14.5/8.14.5) with ESMTP id t1753O7E060254 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Feb 2015 21:03:24 -0800 (PST) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.14.5/8.14.5/Submit) id t1753Mr3060253; Fri, 6 Feb 2015 21:03:22 -0800 (PST) (envelope-from jmg) Date: Fri, 6 Feb 2015 21:03:22 -0800 From: John-Mark Gurney To: "O'Connor, Daniel" Subject: Re: Two drivers sharing a single PCI device Message-ID: <20150207050322.GG58410@funkthat.com> References: <643918BB-810C-4FB2-AE1A-C4CDA6C8A661@dons.net.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <643918BB-810C-4FB2-AE1A-C4CDA6C8A661@dons.net.au> X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (gold.funkthat.com [127.0.0.1]); Fri, 06 Feb 2015 21:03:24 -0800 (PST) Cc: FreeBSD Hackers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2015 05:03:40 -0000 O'Connor, Daniel wrote this message on Fri, Feb 06, 2015 at 14:20 +1030: > I am working on an EHCI debug driver and I have the basics working (attach, probe for a debug dongle and send data back and forth) - https://bitbucket.org/DJOConnor/dbgp > > However one problem remaining is that for it to work you have to detach the EHCI driver (obviously rather suboptimal :) so I am wondering what the best way would be to allow both ehci and dbgp to attach to the same PCI device. > > The dbgp driver doesn't touch the EHCI registers once it's running but it does have some code to start the EHCI controller and reset the port during attach. > > I can modify echi so it uses RF_SHAREABLE which should allow them to get newbus handles to the same area but the problem is that only one probe routine gets called. > > Any help appreciated, thanks. You could treat EHCI as a bridge, similar to the pcib... Your debug driver hangs off EHCI and allocates the necessary resources through EHCI... I'm not sure if it'd be easier to pass the requested resource through the normal driver frame work, of if adding a special interface to get it would be easier/cleaner... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 7 05:10:15 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 46CF12D4 for ; Sat, 7 Feb 2015 05:10:15 +0000 (UTC) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gold.funkthat.com", Issuer "gold.funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 011BF697 for ; Sat, 7 Feb 2015 05:10:14 +0000 (UTC) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.14.5/8.14.5) with ESMTP id t175AD1q060287 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Feb 2015 21:10:13 -0800 (PST) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.14.5/8.14.5/Submit) id t175ACJ0060286; Fri, 6 Feb 2015 21:10:12 -0800 (PST) (envelope-from jmg) Date: Fri, 6 Feb 2015 21:10:12 -0800 From: John-Mark Gurney To: "Pokala, Ravi" Subject: Re: Changing the MTU on a lagg device Message-ID: <20150207051012.GH58410@funkthat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (gold.funkthat.com [127.0.0.1]); Fri, 06 Feb 2015 21:10:13 -0800 (PST) Cc: "freebsd-hackers@freebsd.org" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2015 05:10:15 -0000 Ravi Pokala wrote this message on Sat, Feb 07, 2015 at 02:42 +0000: > Hi folks, > > Let's say you have lagg0, consisting of if0 and if1. If you want to change > the MTU, you have to remove if0 and if1 from the lagg, change their MTUs, > and add them back; that is: > > 1) ifconfig lagg0 -laggport if0 > 2) ifconfig lagg0 -laggport if1 > 3) ifconfig if0 mtu 9000 > 4) ifconfig if1 mtu 9000 > 5) ifconfig lagg0 laggport if0 > 6) ifconfig lagg0 laggport if1 > > It would be nice if this could be done with a single command: > > 1) ifconfig lagg0 mtu 9000 > > Panasas implemented that functionality for our older base FreeBSD, and > we're looking to port it forward and push it upstream. However, it looks > like someone thought about this case and explicitly decided not to do it; > if_lagg.c has: > > case SIOCSIFMTU: > /* Do not allow the MTU to be changed once joined */ > error = EINVAL; > break; > > > Does anyone know why that is? Would anyone object to a patch that lets you > change the MTU on the lagg device, and having the lagg driver change it on > all the component interfaces for you? If could be trying to deal w/ the issue if you ask for 16000 but one can do it, but the other can only handle 9000, how do you handle it? Just for fun, I just tried something similar.. lagg won't allow you to add a port that has a different (smaller or bigger) MTU than the first one added.. So, to do it, you'd need to try to change all the ports mtu, and if any of them fail, you need to revert all of them back to the original mtu... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 7 05:42:16 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1F045EE5 for ; Sat, 7 Feb 2015 05:42:16 +0000 (UTC) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0058.outbound.protection.outlook.com [157.56.110.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B3FD89E0 for ; Sat, 7 Feb 2015 05:42:14 +0000 (UTC) Received: from DM2PR0801MB0943.namprd08.prod.outlook.com (25.160.131.26) by DM2PR0801MB667.namprd08.prod.outlook.com (10.242.173.25) with Microsoft SMTP Server (TLS) id 15.1.75.20; Sat, 7 Feb 2015 05:26:39 +0000 Received: from DM2PR0801MB0944.namprd08.prod.outlook.com (25.160.131.27) by DM2PR0801MB0943.namprd08.prod.outlook.com (25.160.131.26) with Microsoft SMTP Server (TLS) id 15.1.75.20; Sat, 7 Feb 2015 05:26:37 +0000 Received: from DM2PR0801MB0944.namprd08.prod.outlook.com ([25.160.131.27]) by DM2PR0801MB0944.namprd08.prod.outlook.com ([25.160.131.27]) with mapi id 15.01.0075.002; Sat, 7 Feb 2015 05:26:38 +0000 From: "Pokala, Ravi" To: John-Mark Gurney Subject: Re: Changing the MTU on a lagg device Thread-Topic: Changing the MTU on a lagg device Thread-Index: AQHQQn+0qPs6AFh2xkSO1q7r/b61upzko7MA//9+dwA= Date: Sat, 7 Feb 2015 05:26:36 +0000 Message-ID: References: <20150207051012.GH58410@funkthat.com> In-Reply-To: <20150207051012.GH58410@funkthat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.7.141117 x-originating-ip: [64.80.217.3] authentication-results: funkthat.com; dkim=none (message not signed) header.d=none; x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:DM2PR0801MB0943;UriScan:; x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:; SRVR:DM2PR0801MB0943; x-forefront-prvs: 0480A51D4A x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(51704005)(46034005)(377424004)(110136001)(50986999)(122556002)(2656002)(99286002)(40100003)(87936001)(76176999)(19580405001)(106116001)(54356999)(86362001)(19580395003)(62966003)(83506001)(36756003)(102836002)(66066001)(77156002)(2900100001)(2950100001)(46102003)(92566002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0801MB0943; H:DM2PR0801MB0944.namprd08.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; Content-Type: text/plain; charset="us-ascii" Content-ID: <7CB82C719097DA48BFA4B0C1CD4E4686@namprd08.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Feb 2015 05:26:36.9929 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: acf01c9d-c699-42af-bdbb-44bf582e60b0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0801MB0943 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:DM2PR0801MB667; X-OriginatorOrg: panasas.com Cc: "freebsd-hackers@freebsd.org" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2015 05:42:16 -0000 > So, to do it, you'd need to try to change all the ports mtu, and if any of them fail, you need to revert all of them back to the original mtu... Which is exactly what our code does. :-) Right now, I only have the change against our older base FreeBSD; I'll port it to -CURRENT and send out a patch when I have a few minutes sometime this weekend. -Ravi -----Original Message----- From: John-Mark Gurney Date: 2015-02-06, Friday at 21:10 To: Ravi Pokala Cc: "freebsd-hackers@freebsd.org" Subject: Re: Changing the MTU on a lagg device >Ravi Pokala wrote this message on Sat, Feb 07, 2015 at 02:42 +0000: >> Hi folks, >>=20 >> Let's say you have lagg0, consisting of if0 and if1. If you want to >>change >> the MTU, you have to remove if0 and if1 from the lagg, change their >>MTUs, >> and add them back; that is: >>=20 >> 1) ifconfig lagg0 -laggport if0 >> 2) ifconfig lagg0 -laggport if1 >> 3) ifconfig if0 mtu 9000 >> 4) ifconfig if1 mtu 9000 >> 5) ifconfig lagg0 laggport if0 >> 6) ifconfig lagg0 laggport if1 >>=20 >> It would be nice if this could be done with a single command: >>=20 >> 1) ifconfig lagg0 mtu 9000 >>=20 >> Panasas implemented that functionality for our older base FreeBSD, and >> we're looking to port it forward and push it upstream. However, it looks >> like someone thought about this case and explicitly decided not to do >>it; >> if_lagg.c has: >>=20 >> case SIOCSIFMTU: >> /* Do not allow the MTU to be changed once joined */ >> error =3D EINVAL; >> break; >>=20 >>=20 >> Does anyone know why that is? Would anyone object to a patch that lets >>you >> change the MTU on the lagg device, and having the lagg driver change it >>on >> all the component interfaces for you? > >If could be trying to deal w/ the issue if you ask for 16000 but one >can do it, but the other can only handle 9000, how do you handle it? > >Just for fun, I just tried something similar.. lagg won't allow you >to add a port that has a different (smaller or bigger) MTU than the >first one added.. > >So, to do it, you'd need to try to change all the ports mtu, and if >any of them fail, you need to revert all of them back to the original >mtu... > >--=20 > John-Mark Gurney Voice: +1 415 225 5579 > > "All that I will do, has been done, All that I have, has not." From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 7 06:06:17 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 389A0107 for ; Sat, 7 Feb 2015 06:06:17 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E89C0BBA for ; Sat, 7 Feb 2015 06:06:16 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id A004A1FE023; Sat, 7 Feb 2015 07:06:12 +0100 (CET) Message-ID: <54D5AB87.9050309@selasky.org> Date: Sat, 07 Feb 2015 07:07:03 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: "O'Connor, Daniel" Subject: Re: Two drivers sharing a single PCI device References: <643918BB-810C-4FB2-AE1A-C4CDA6C8A661@dons.net.au> <54D4ABA6.805@selasky.org> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Hackers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2015 06:06:17 -0000 On 02/06/15 13:33, O'Connor, Daniel wrote: > >> On 6 Feb 2015, at 22:25, Hans Petter Selasky wrote: >> On 02/06/15 04:50, O'Connor, Daniel wrote: >>> Hi, >>> I am working on an EHCI debug driver and I have the basics working (attach, probe for a debug dongle and send data back and forth) - https://bitbucket.org/DJOConnor/dbgp >>> >>> However one problem remaining is that for it to work you have to detach the EHCI driver (obviously rather suboptimal :) so I am wondering what the best way would be to allow both ehci and dbgp to attach to the same PCI device. >>> >>> The dbgp driver doesn't touch the EHCI registers once it's running but it does have some code to start the EHCI controller and reset the port during attach. >>> >>> I can modify echi so it uses RF_SHAREABLE which should allow them to get newbus handles to the same area but the problem is that only one probe routine gets called. >> >> You possibly want "D_TRACKCLOSE" in d_flags in your cdevsw. > >> What's the advantage of using the debug port over the regular EHCI USB interface? > > I don't think that would help. It is supposed to be (largely) separate from the regular EHCI controller - it has it's own register set and it can steal the debug port from the regular controller so it doesn't appear occupied (although there is a bit of messing around on port reset). > > The advantage is that it runs separately to the EHCI interface and it is quite simple to talk to, there is more information in appendix C of the USB 2 spec (usb_20.pdf). > Hi, You know about "sys/boot/usb" ? If you could integrate the USB debug port to use the kernel USB stack HOST API, only limited to BULK, CONTROL and INTERRUPT, then we could easily use it there aswell. The EHCI debug port functions very much resemble those found in "sys/dev/usb/controller/dwc_otg*" for example. --HPS From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 7 07:38:51 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E9C0797B for ; Sat, 7 Feb 2015 07:38:51 +0000 (UTC) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7772F35F for ; Sat, 7 Feb 2015 07:38:50 +0000 (UTC) Received: by labgd6 with SMTP id gd6so5215902lab.4 for ; Fri, 06 Feb 2015 23:38:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UFv6RljvXOlanRLttpFN6QNMjCHHIyyGPMOPsVrotxY=; b=gBT4js4Zq8oodL33TUMjak256acVPLomka6P4zH/StBjQWMQ4dWhO4Pcw2RC5apLnl T/TKQrq6twc9DqFdjDaUXLFuHXQkd1OHo+egVd374PIkOa9ci3sxI5rKHJ5S6dNnZcRv 7g3uLkxWxG2Y9FWwBkGBRaXK4NB+zkOBypsJr8+XvPrul2oLA8la0xWZMYv6k/CYlin9 pRT0ZRTNTTrpJ5qtVqgYEOzpBn1lGnGf5jRqAdB2KN+Eaxnb5Dl395tJmY4vTZaxZkN2 Smmup/tMvLZ+eFLQhKXlED3EoGr2LggrxINBw6GwJRjLkzLQEqpeDxbFtBDgM3Jx53oN jEpg== MIME-Version: 1.0 X-Received: by 10.152.27.41 with SMTP id q9mr6042458lag.118.1423294728933; Fri, 06 Feb 2015 23:38:48 -0800 (PST) Received: by 10.114.78.131 with HTTP; Fri, 6 Feb 2015 23:38:48 -0800 (PST) In-Reply-To: References: Date: Sat, 7 Feb 2015 02:38:48 -0500 Message-ID: Subject: Re: Changing the MTU on a lagg device From: Ryan Stone To: "Pokala, Ravi" Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-hackers@freebsd.org" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2015 07:38:52 -0000 I have a similar patch internally. As best that I can tell, the author of the code didn't want to go to the effort of implementing the error cases on the MTU change, and thought that it was better to explicitly error out if somebody tried to change the MTU rather than causing random unexpected behaviour. You can put me (rstone@) as a reviewer in phabricator if you need your patch reviewed. From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 7 16:30:37 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 05FE1969 for ; Sat, 7 Feb 2015 16:30:37 +0000 (UTC) Received: from mail-pd0-f173.google.com (mail-pd0-f173.google.com [209.85.192.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CC77FA66 for ; Sat, 7 Feb 2015 16:30:36 +0000 (UTC) Received: by pdbfl12 with SMTP id fl12so11289590pdb.10 for ; Sat, 07 Feb 2015 08:30:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=D3cWUaGTIje3FSHBJJJNIIe7jvpRuarC3DwsjV8mu6s=; b=WgMdTZ/Xrt4+3XBXEIvfYdqs3tIDaY9SXqjA+Pum89IvKxcXumHsulJjWEhG5ySDPR sWAhaZ9beWDiWzaDKyaq4RsDHSyEXThCxlyF6N8vk/CcbKqyS7u5ezKRNTMHFgFZahI6 b4VSgS1A/nhFG2muuaGO8zCz44mjLYSe40ew7G1e3Ps4E3FrH3lDgOCPUwwBC1JA2Lhj ipMdIuHrhHdOBhpP3uOssIxDgGrzqLhFD06mHjo0AQ3mXw9DhACyKlbkJEG//xPzqqBn xPVbqTHT0MYt0OaFs65NMAmwPVn+O/ZZOs8JPqtMaNSh9fpafMA+PkjHaXHYn2HrqXw7 N2xw== X-Received: by 10.68.241.35 with SMTP id wf3mr15147390pbc.22.1423326635769; Sat, 07 Feb 2015 08:30:35 -0800 (PST) Received: from ox ([24.6.44.228]) by mx.google.com with ESMTPSA id u14sm11369363pbs.85.2015.02.07.08.30.33 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 07 Feb 2015 08:30:34 -0800 (PST) Sender: Navdeep Parhar Date: Sat, 7 Feb 2015 08:30:28 -0800 From: Navdeep Parhar To: "Pokala, Ravi" Subject: Re: Changing the MTU on a lagg device Message-ID: <20150207163028.GA4965@ox> Mail-Followup-To: "Pokala, Ravi" , John-Mark Gurney , "freebsd-hackers@freebsd.org" References: <20150207051012.GH58410@funkthat.com> 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-hackers@freebsd.org" , John-Mark Gurney X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2015 16:30:37 -0000 On Sat, Feb 07, 2015 at 05:26:36AM +0000, Pokala, Ravi wrote: > > So, to do it, you'd need to try to change all the ports mtu, and if > any of them fail, you need to revert all of them back to the original > mtu... > > Which is exactly what our code does. :-) And if reverting it fails then you end up with the old MTU on some interfaces and the new MTU on others. Very unlikely, but possible. if_lagg may have been written the way it is to avoid dealing with failures to revert the MTU. Regards, Navdeep > > Right now, I only have the change against our older base FreeBSD; I'll > port it to -CURRENT and send out a patch when I have a few minutes > sometime this weekend. > > -Ravi > > -----Original Message----- > From: John-Mark Gurney > Date: 2015-02-06, Friday at 21:10 > To: Ravi Pokala > Cc: "freebsd-hackers@freebsd.org" > Subject: Re: Changing the MTU on a lagg device > > >Ravi Pokala wrote this message on Sat, Feb 07, 2015 at 02:42 +0000: > >> Hi folks, > >> > >> Let's say you have lagg0, consisting of if0 and if1. If you want to > >>change > >> the MTU, you have to remove if0 and if1 from the lagg, change their > >>MTUs, > >> and add them back; that is: > >> > >> 1) ifconfig lagg0 -laggport if0 > >> 2) ifconfig lagg0 -laggport if1 > >> 3) ifconfig if0 mtu 9000 > >> 4) ifconfig if1 mtu 9000 > >> 5) ifconfig lagg0 laggport if0 > >> 6) ifconfig lagg0 laggport if1 > >> > >> It would be nice if this could be done with a single command: > >> > >> 1) ifconfig lagg0 mtu 9000 > >> > >> Panasas implemented that functionality for our older base FreeBSD, and > >> we're looking to port it forward and push it upstream. However, it looks > >> like someone thought about this case and explicitly decided not to do > >>it; > >> if_lagg.c has: > >> > >> case SIOCSIFMTU: > >> /* Do not allow the MTU to be changed once joined */ > >> error = EINVAL; > >> break; > >> > >> > >> Does anyone know why that is? Would anyone object to a patch that lets > >>you > >> change the MTU on the lagg device, and having the lagg driver change it > >>on > >> all the component interfaces for you? > > > >If could be trying to deal w/ the issue if you ask for 16000 but one > >can do it, but the other can only handle 9000, how do you handle it? > > > >Just for fun, I just tried something similar.. lagg won't allow you > >to add a port that has a different (smaller or bigger) MTU than the > >first one added.. > > > >So, to do it, you'd need to try to change all the ports mtu, and if > >any of them fail, you need to revert all of them back to the original > >mtu... > > > >-- > > John-Mark Gurney Voice: +1 415 225 5579 > > > > "All that I will do, has been done, All that I have, has not." > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 7 17:42:08 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 22713D0 for ; Sat, 7 Feb 2015 17:42:08 +0000 (UTC) Received: from smtp77.iad3a.emailsrvr.com (smtp77.iad3a.emailsrvr.com [173.203.187.77]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EADE81F8 for ; Sat, 7 Feb 2015 17:42:07 +0000 (UTC) Received: from smtp18.relay.iad3a.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp18.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id 8B3AA2801B6 for ; Sat, 7 Feb 2015 12:36:08 -0500 (EST) X-SMTPDoctor-Processed: csmtpprox beta Received: from smtp18.relay.iad3a.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp18.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id 8682A2801B7 for ; Sat, 7 Feb 2015 12:36:08 -0500 (EST) Received: by smtp18.relay.iad3a.emailsrvr.com (Authenticated sender: ben-AT-acustat.org) with ESMTPSA id 683BC2801B6 for ; Sat, 7 Feb 2015 12:36:08 -0500 (EST) X-Sender-Id: ben@acustat.org Received: from [192.168.1.99] (cpe-72-225-8-217.rochester.res.rr.com [72.225.8.217]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA) by 0.0.0.0:465 (trex/5.4.2); Sat, 07 Feb 2015 17:36:08 GMT Message-ID: <54D64D07.5080509@acustat.org> Date: Sat, 07 Feb 2015 12:36:07 -0500 From: Benjamin Adams User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: "freebsd-hackers@freebsd.org" Subject: Coding Structure and Documentation Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2015 17:42:08 -0000 Hello Hackers, I'm going to be starting a new coding project that will be built on FreeBSD. Before starting, I would like to review any coding documentation on structure and layout of comments, spacing vs tabs, etc. Or just go by the structure set by the language. (http://legacy.python.org/dev/peps/pep-0008/) Language I will be coding in is Python. I will be building the project on FreeBSD 11 with the idea of releasing it shortly after FreeBSD 11 is moved to STABLE. Lastly what version of Python will be the primary version on 11? Googling I only found: https://www.freebsd.org/doc/en/articles/building-products/article.html Thanks for any help on this. From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 7 18:00:41 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 769EC6A9 for ; Sat, 7 Feb 2015 18:00:41 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 5129D656 for ; Sat, 7 Feb 2015 18:00:40 +0000 (UTC) Received: from [192.168.1.2] (Seawolf.HML3.ScaleEngine.net [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 2D944933F9 for ; Sat, 7 Feb 2015 18:00:40 +0000 (UTC) Message-ID: <54D652E5.5000601@freebsd.org> Date: Sat, 07 Feb 2015 13:01:09 -0500 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Re: Coding Structure and Documentation References: <54D64D07.5080509@acustat.org> In-Reply-To: <54D64D07.5080509@acustat.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EvaOC7PqsSO9pFwj4R29AjWmtt5D6TXeA" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2015 18:00:41 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --EvaOC7PqsSO9pFwj4R29AjWmtt5D6TXeA Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015-02-07 12:36, Benjamin Adams wrote: > Hello Hackers, >=20 > I'm going to be starting a new coding project that will be built on > FreeBSD. Before starting, I would like to review any coding > documentation on structure and layout of comments, spacing vs tabs, etc= =2E > Or just go by the structure set by the language. > (http://legacy.python.org/dev/peps/pep-0008/) >=20 The FreeBSD 'style guide', has the conventions on spacing/tabs, where to put braces etc: https://www.freebsd.org/cgi/man.cgi?query=3Dstyle&sektion=3D9 > Language I will be coding in is Python. I will be building the project= > on FreeBSD 11 with the idea of releasing it shortly after FreeBSD 11 is= > moved to STABLE. >=20 > Lastly what version of Python will be the primary version on 11? Python is not in the base system, so it will come from ports. It is hard to predict what version of python will be the main one nearly a year from now. >=20 > Googling I only found: > https://www.freebsd.org/doc/en/articles/building-products/article.html >=20 > Thanks for any help on this. > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.o= rg" --=20 Allan Jude --EvaOC7PqsSO9pFwj4R29AjWmtt5D6TXeA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJU1lLoAAoJEJrBFpNRJZKfR4oQAKb+bXhkNheCssjtFqsgBq6H sSgweWG10lIaWc41+7YcpvQ60AEE9QebaS8qm4jYXjY1mGxMm1BRs0QMfSyJ8BK4 PbYV/vp0k/et4U6uwC7KPupQNFDb2tAMrNGpc0Y9/uYl+XNbJ+4P8MGHleECftCU 6CLT0ei40dz3QPYdjQ1ognvhOJrJ/VXDXhTKuMUBQS1l0kVZGygSFPkBudV5TmIS 55UO2P8mtN90+fKopDyr5sF6UfU7R9CCRasfECPalOXhYCPybWjviQiTqf67hxGE FM853r0Cg0+w1ywIDu1FtvR9R5jICUNLhSUHKaDp+B+Vzn/mikhH7VaPVKX5O1R/ 1P59Ik5WUrRX/BqkE1P2CjeM4b5HYLm8fFvGzm2GC9dywBSAVytlj5ClaAV2fE7s tDWpkGj7U+7DilVj1I2oO3JEQHJ+USVcV/IvJPbX11sFDBTHCjKWO5BLrRo2/21i hekMgabkC0fE0KZlNN1MjAAyeqSW5+QkZ9oANwnE56vvaLKbFCrRxwS2iQHjDpXy gqq80F0Fc2SvmdEiTRvek4bWwDb9ylMpLXEFLpk3TcLmzsyA0IqEJhf+6X//5Jth 0NyrmEh2RteNuLhb24UcsgqpYD6m5lEcY1MIaPz91xKXU3p9j8OzD0G0d55QF5+A voGCLz/qL3QHuYmsri0f =0fBb -----END PGP SIGNATURE----- --EvaOC7PqsSO9pFwj4R29AjWmtt5D6TXeA-- From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 7 23:20:33 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E0F199A6 for ; Sat, 7 Feb 2015 23:20:33 +0000 (UTC) Received: from mail.strugglingcoder.info (strugglingcoder.info [65.19.130.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C8EB95E5 for ; Sat, 7 Feb 2015 23:20:33 +0000 (UTC) Received: from localhost (unknown [10.1.1.3]) (Authenticated sender: hiren@strugglingcoder.info) by mail.strugglingcoder.info (Postfix) with ESMTPSA id B73FECEADA; Sat, 7 Feb 2015 15:20:26 -0800 (PST) Date: Sat, 7 Feb 2015 15:20:26 -0800 From: hiren panchasara To: "Pokala, Ravi" , John-Mark Gurney , "freebsd-hackers@freebsd.org" Subject: Re: Changing the MTU on a lagg device Message-ID: <20150207232026.GA10438@strugglingcoder.info> References: <20150207051012.GH58410@funkthat.com> <20150207163028.GA4965@ox> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="MGYHOYXEY6WxJCY8" Content-Disposition: inline In-Reply-To: <20150207163028.GA4965@ox> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2015 23:20:34 -0000 --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 02/07/15 at 08:30P, Navdeep Parhar wrote: > On Sat, Feb 07, 2015 at 05:26:36AM +0000, Pokala, Ravi wrote: > > > So, to do it, you'd need to try to change all the ports mtu, and if > > any of them fail, you need to revert all of them back to the original > > mtu... > >=20 > > Which is exactly what our code does. :-) >=20 > And if reverting it fails then you end up with the old MTU on some > interfaces and the new MTU on others. Very unlikely, but possible. > if_lagg may have been written the way it is to avoid dealing with > failures to revert the MTU. If somehow the changes can manage atomicity of the operation without much complexity, I'd like to see this in the tree. cheers, Hiren >=20 > Regards, > Navdeep >=20 > >=20 > > Right now, I only have the change against our older base FreeBSD; I'll > > port it to -CURRENT and send out a patch when I have a few minutes > > sometime this weekend. > >=20 > > -Ravi > >=20 > > -----Original Message----- > > From: John-Mark Gurney > > Date: 2015-02-06, Friday at 21:10 > > To: Ravi Pokala > > Cc: "freebsd-hackers@freebsd.org" > > Subject: Re: Changing the MTU on a lagg device > >=20 > > >Ravi Pokala wrote this message on Sat, Feb 07, 2015 at 02:42 +0000: > > >> Hi folks, > > >>=20 > > >> Let's say you have lagg0, consisting of if0 and if1. If you want to > > >>change > > >> the MTU, you have to remove if0 and if1 from the lagg, change their > > >>MTUs, > > >> and add them back; that is: > > >>=20 > > >> 1) ifconfig lagg0 -laggport if0 > > >> 2) ifconfig lagg0 -laggport if1 > > >> 3) ifconfig if0 mtu 9000 > > >> 4) ifconfig if1 mtu 9000 > > >> 5) ifconfig lagg0 laggport if0 > > >> 6) ifconfig lagg0 laggport if1 > > >>=20 > > >> It would be nice if this could be done with a single command: > > >>=20 > > >> 1) ifconfig lagg0 mtu 9000 > > >>=20 > > >> Panasas implemented that functionality for our older base FreeBSD, a= nd > > >> we're looking to port it forward and push it upstream. However, it l= ooks > > >> like someone thought about this case and explicitly decided not to do > > >>it; > > >> if_lagg.c has: > > >>=20 > > >> case SIOCSIFMTU: > > >> /* Do not allow the MTU to be changed once joined */ > > >> error =3D EINVAL; > > >> break; > > >>=20 > > >>=20 > > >> Does anyone know why that is? Would anyone object to a patch that le= ts > > >>you > > >> change the MTU on the lagg device, and having the lagg driver change= it > > >>on > > >> all the component interfaces for you? > > > > > >If could be trying to deal w/ the issue if you ask for 16000 but one > > >can do it, but the other can only handle 9000, how do you handle it? > > > > > >Just for fun, I just tried something similar.. lagg won't allow you > > >to add a port that has a different (smaller or bigger) MTU than the > > >first one added.. > > > > > >So, to do it, you'd need to try to change all the ports mtu, and if > > >any of them fail, you need to revert all of them back to the original > > >mtu... > > > > > >--=20 > > > John-Mark Gurney Voice: +1 415 225 5579 > > > > > > "All that I will do, has been done, All that I have, has not." > >=20 > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.o= rg" > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" --MGYHOYXEY6WxJCY8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQF8BAEBCgBmBQJU1p26XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNEUyMEZBMUQ4Nzg4RjNGMTdFNjZGMDI4 QjkyNTBFMTU2M0VERkU1AAoJEIuSUOFWPt/ldCIH/2LP6dQzsORQsCqhshJQMSF9 ddtOaTlbqo8SaUQgHTGQAGiM1aS9TFNPW1Y/weoCTO+jG2c/Ulr78pzVtOO+7OQL Y/drMMl70kXMErM9SeC1S24c2OYIxXeRuphLOBaGn1PSyYxQLk/zppjvta3pfbm1 d3dkfJQA5pzQA8l6QXZfi0nkurP7rsQIUoAhFtZeojRB1/inwWgnVxULOQwW+aXu rBPVCOpLrx35od0JwzFenW/E0fk7M7Yuyej6kko+2tdNYH8f++ZWR2md7FNTwi+u QPCQWkFCk8c+IBA6swR7SzP6BstlRcQ7X0roQJJg/idjc6eOd/Mki6HA/jSolEw= =aep0 -----END PGP SIGNATURE----- --MGYHOYXEY6WxJCY8--