From owner-freebsd-hackers@freebsd.org Wed Mar 23 15:02:28 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CDDC6ADA9FD for ; Wed, 23 Mar 2016 15:02:28 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: from mail-qg0-x22b.google.com (mail-qg0-x22b.google.com [IPv6:2607:f8b0:400d:c04::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 931471D94 for ; Wed, 23 Mar 2016 15:02:28 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: by mail-qg0-x22b.google.com with SMTP id w104so14332009qge.1 for ; Wed, 23 Mar 2016 08:02:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=XmVz7Pqc07cvWPKJohyL+RwCqxOSxckl/r7xttxQF2o=; b=Abslefouzkh2IdU/OX2t6UsgENuhqOmsNveZ4AmxNSCaNWTSrJY3p45lhUeGW7L76B NzjF3VfN7QLUw8HWZAtkpeagAP7qCU9gh63j4FjVdHB3THaEyRGQ/fBMiuhxCu3/nw6Y igQBwZ54237Vz6TKJWsfdo64hDRgr1FLVYxv0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=XmVz7Pqc07cvWPKJohyL+RwCqxOSxckl/r7xttxQF2o=; b=Lfi/A9yL7wBfbRyyyTLq5gtfzK6ImeYrNcskp/d/xzgvw7JoFRYYwPttSw+sJW66kV wnrg2D+3KSz5+jr3U8Vto1jq3AK3fLFBTC1zPeRjHlkaml0gz+dbzmQNdW4GOXhHDC54 5eTld04jDiYdw4yIjW1YMUy2axhwlkk3f1dU5FfUyYol/VS+7IhpukdrZAWIUFAfOt6O 1md86a+Bru+kuCmE1oUDD5e+xdAcCEeoomA8P3t4TxY1OC4mTo2wAi9Y1AsPp4R6p+lV XUg9xZwAZc75jzXFToLssWD0wM2jOWq27SsI9sa8pzJIQSR99PG+Pp2BOg+Di4hRDKgl lt8A== X-Gm-Message-State: AD7BkJLONLPTIPuQMMSP7n2uRXAk/DM+nX03knF0bhzR/j0cvAODb4i7Oc5eGHWB8h0XUw== X-Received: by 10.140.237.204 with SMTP id i195mr4446529qhc.55.1458745347367; Wed, 23 Mar 2016 08:02:27 -0700 (PDT) Received: from [192.168.2.84] ([200.129.79.65]) by smtp.googlemail.com with ESMTPSA id d65sm1229697qgf.30.2016.03.23.08.02.25 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 23 Mar 2016 08:02:26 -0700 (PDT) Subject: Re: looking for areas to contribute To: freebsd-hackers@freebsd.org References: <56ED75D8.1050800@tysdomain.com> From: =?UTF-8?B?T3RhY8OtbGlv?= Message-ID: <56F2AFEC.7020102@bsd.com.br> Date: Wed, 23 Mar 2016 12:02:04 -0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: <56ED75D8.1050800@tysdomain.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2016 15:02:28 -0000 Em 19/03/2016 12:52, Littlefield, Tyler escreveu: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > All, > I've asked this before, but I'm in a better position now to make this > work. > > I'm fluent with C and other languages and want to start contributing > to BSD. I'm happy to work where ever I can be of use, I love more > lower level stuff but anything that has me working on code would be > great. My questions: > > 1) How do people usually have their environments set up? I'm thinking > of running fbsd11 in BHyve where I can do testing, but if there's a > better way to test that won't require so many resources that would be > nice as well. I didn't want to break my host with testing since it's > going to run various other services. > 2) How do you prevent rebuilding world and kernel for simple patches? > 3) ideas on what to work on would be great. I haven't gotten into > really advanced BSD work for a while now, so I haven't found anything > that is incredibly broken. > > Also although this may be off topic, I'm hoping I might find someone > who uses IOCage here since this seems to be out of the realm of what > most people do. Has anyone used IOCage on FreeBSD 11? If so, how did > you manage to fetch the release? I pointed it to the snapshot FTP path > and it fetched and extracted (freebsd-update failed to get public > keys), but it doesn't show it as a release. My second thought is if > I'm working on world then I can just rebuild world under the jail. Is > this a good solution? > > Thanks, > - -- > Take care, > Ty > Twitter: @sorressean > Web: https://tysdomain.com > Pubkey: https://tysdomain.com/files/pubkey.asc > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2 > > iQEcBAEBAgAGBQJW7XXYAAoJEAdP60+BYxejT/YIAIFzhdY6Z0dEWwbqIbXx3sZu > 5Md/o4rR3Nui5x1DyM7p+g666cmJd+2TX1cl1nkbhYUt9sNiQbrHHfup+pIKGsaU > F38lkBfGZ+t7vFEgSmiTd9B71IYrLHOkOmgUZE0WMpc3zJs7Y+Stku7kL2R3ej+w > qaR+bSMpc9RQ6rgtBbKS4ubim5gyjdaOdQpp4FUt40eJGGDN+k+ecc3jgRE6S2z+ > 7F4uwck+NLUhSybH+kjB6HHqX0oRcEu+XqNveFp7kGKY2aFSPdhgPdD+MAoKFunW > ZzCwCgvY3aaGnKy/VfFP9oQ+P3gdVY4DccnQvufE3AyvNN7d+fl+b4HsZMGXXmI= > =Ybcf > -----END PGP SIGNATURE----- > Hello Tyler I'm not expert in FreeBSD but maybe I can give some hints for you. 1) For setup a enviroment for build, test and debug I'm using Virtualbox on a Windows 10 Host. Until now FreeBSD don't have a port of the Virtualbox 5, so for use Hyper-V with VT-x and nested pages I need a Windows host. My processor is a i7-3517U. After setup Virtualbox on windows I create a virtual machine, download a bootonly FreeBSD ISO from https://www.freebsd.org/where.html and install in this virtual machine. I do not install ports or src because I always do a checkout from the svn repo. So, after install I do a checkout of the most recents sources from svn repo. I use this command: # svnlite co https://svn.freebsd.org/base/head /usr/src After, I rebuild the entire system using thre procedure that you can find here on topic 23.6.1: # https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html After the rebuild you will running the version that you checkou from repositoy. So I do a checkout of ports. # svnlite co https://svn.freebsd.org/ports /usr/ports And then I install the virtualbox guest drivers: # cd /usr/ports/emulators/virtualbox-ose-additions/ && make install clean So afther this I have a system with the latest versions. For do a partial build you can use the procedure listed here on topic 23.6.6: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html Remember, this list of commands is not complete, it is only a partial list of what to do. Somo commands needs others (like install the virtualbox guest driver), but when doing, messages will tell you what to do. 2) About do a partial build of kernel modules you can read here the procedure: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html (topic 8.5) Jean Sébastien Pédron did a great job writing a article about Getting started with kernel projects. You can read here: https://wiki.freebsd.org/Graphics/Getting%20started%20with%20kernel%20projects 3) About ideas for projects, what do you think about port the latest version of virtual box host to FreeBSD :-)? []'s -Otacilio