From owner-freebsd-testing@FreeBSD.ORG Thu Jun 11 06:53:12 2015 Return-Path: Delivered-To: freebsd-testing@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 831A963F; Thu, 11 Jun 2015 06:53:12 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-qk0-x243.google.com (mail-qk0-x243.google.com [IPv6:2607:f8b0:400d:c09::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 377C1145B; Thu, 11 Jun 2015 06:53:12 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by qkcv189 with SMTP id v189so8432996qkc.2; Wed, 10 Jun 2015 23:53:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to; bh=/4CifM9lS4btfBEJ7kqJB9gmy+nusQdw3bH51WqvAkg=; b=p4RvsrETwpMUTJrlLULX9LA40qq83wpEz4ysImLmhwUbbQEzsjJo2bqPnmk1y1YDvu 1iy8i/aqeKNcxf89r6TqhvPQV2Axl+eKNESRvYIoKIxYI/ootWaWmtor2ZiD4SZVPsKp 0GCb8tciS1OKvOg7e2XkCN5YjH6+lY17hs0RPw3mX3dfmftkE4wu5p5vXWu1QDJIBc62 EwjgFBlc+7TwiDCY0jQNdIwpQCAcmUgkFYqHOu20oqS3530+D0NZ5GfCdadEUM7P9ano 9WuoqHclLkJ3lHy1pOvcXbW6P78DDqd8voXRTROITCDF66hvtTlCKZyk5tGk1RDyTPrV wGaQ== X-Received: by 10.55.20.136 with SMTP id 8mr15514830qku.8.1434005591191; Wed, 10 Jun 2015 23:53:11 -0700 (PDT) Received: from ?IPv6:2601:8:ab80:7d6:99d4:e155:4cfb:c95a? ([2601:8:ab80:7d6:99d4:e155:4cfb:c95a]) by mx.google.com with ESMTPSA id e69sm5227997qkh.19.2015.06.10.23.53.09 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 10 Jun 2015 23:53:10 -0700 (PDT) Subject: Re: compiling parts of kernel in userland Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_EC27A3DA-3B84-4423-AF4B-E7D9B6C51F43"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b6 From: Garrett Cooper In-Reply-To: Date: Wed, 10 Jun 2015 23:53:08 -0700 Cc: Adrian Chadd , arch@freebsd.org, John-Mark Gurney , "freebsd-testing@freebsd.org" Message-Id: <5E0E3EAE-F184-478F-B2A0-D3FAB71ADB20@gmail.com> References: <20150610224654.GM86224@funkthat.com> To: "K. Macy" X-Mailer: Apple Mail (2.1878.6) X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 06:53:12 -0000 --Apple-Mail=_EC27A3DA-3B84-4423-AF4B-E7D9B6C51F43 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 (Adding -testing because this pertains to testing) On Jun 10, 2015, at 23:48, K. Macy wrote: > I started work on something I called libukern which allows you to run > essentially all non platform code in user adding a PCI passthrough = driver > so one can run unmodified drivers in user. Libuinet is great as far as = it > goes, but it's just the network stack. If you want something other = than > just networking you'll have to do something else. If I had enough time and interest I=92d look at investing my efforts in = porting RUMP from NetBSD to FreeBSD and going about it that route, but = I=92m busy with other efforts so I can=92t dedicate my time here yet. It = seems like RUMP is the direction we should be going in=85 Thanks, -NGie --Apple-Mail=_EC27A3DA-3B84-4423-AF4B-E7D9B6C51F43 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----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJVeTBVAAoJEMZr5QU6S73eG/kH/2V4jYDn3pDmF/zWVu3sUgKt /ynWHnAERPKDXDbQPu37cyFD8IwwhEx3XB4gPkSqnj7r34sy4Vaua1qK4Vc21L3Y H4Hlely7kUCJ7bknbTPCDhnsUSsCt/B81LvoeY5PaS8mz+GQQQgtRmrV3/vQP/xy tY6LD9SfoMOgE5i7+5zzp2FvcQ/0OX9dTsjffKYTQTdnOTHB79yPtEHgNth/9y37 oel4Toxzoq0W88Gbv2WI5gtW6CHmSQ2oHCU5EZIvGnsMqDGm3NUO0k2lxT0KRfIY hLXBz6J6XdIWApgtsxSQbWwwhN9QF1HHQKaAOnwvdCX+73kjDAga4hzZiEqXPmc= =WmbU -----END PGP SIGNATURE----- --Apple-Mail=_EC27A3DA-3B84-4423-AF4B-E7D9B6C51F43-- From owner-freebsd-testing@FreeBSD.ORG Thu Jun 11 06:56:31 2015 Return-Path: Delivered-To: freebsd-testing@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 677E6736; Thu, 11 Jun 2015 06:56:31 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-pa0-x243.google.com (mail-pa0-x243.google.com [IPv6:2607:f8b0:400e:c03::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 35A90148F; Thu, 11 Jun 2015 06:56:31 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: by pabli10 with SMTP id li10so14701423pab.2; Wed, 10 Jun 2015 23:56:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=U92FpxExSA+nLAV89mbK/2vOoDs+H5OlUYHYdSP4Fmc=; b=O/upn+dQq+Ma9dBPVZvIw4g957MKyuO5sxf7m2+j+CeGo4nmYnQzHP4fju9I9N/I6K QcneRHeovjtK7n7sqQOWhg3ZDdWrWb+4rEXiirDpjrPE6v3FuMyL4m5IHCbEbGvLumKU iMP44rqfe04PdK9kXYgdP4h5V6Uc3RYpCKdyz7C7wKOg8Rpte67ppRBH3WZDwijPDCFj maeXfXZiXBBRQYxS3wNySWIyu/t78EUDXsIJ21FZj6Q/U9txj/WJhQvx2J/JSiPRhwvM estEZNBt8ewkFVZuBhEW9SzAwlNDeLvng09I6Wnpkqi2q2FQPya+2yebeP/MxsUPHAb9 cgeQ== MIME-Version: 1.0 X-Received: by 10.70.128.13 with SMTP id nk13mr12233200pdb.21.1434005790804; Wed, 10 Jun 2015 23:56:30 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.66.236.36 with HTTP; Wed, 10 Jun 2015 23:56:30 -0700 (PDT) Received: by 10.66.236.36 with HTTP; Wed, 10 Jun 2015 23:56:30 -0700 (PDT) In-Reply-To: <5E0E3EAE-F184-478F-B2A0-D3FAB71ADB20@gmail.com> References: <20150610224654.GM86224@funkthat.com> <5E0E3EAE-F184-478F-B2A0-D3FAB71ADB20@gmail.com> Date: Wed, 10 Jun 2015 23:56:30 -0700 X-Google-Sender-Auth: FJcILfgGe-QHhJT4Q7gkABNR5Jc Message-ID: Subject: Re: compiling parts of kernel in userland From: "K. Macy" To: Garrett Cooper Cc: arch@freebsd.org, John-Mark Gurney , Adrian Chadd , "freebsd-testing@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 06:56:31 -0000 On Jun 10, 2015 11:53 PM, "Garrett Cooper" wrote: > > (Adding -testing because this pertains to testing) > > On Jun 10, 2015, at 23:48, K. Macy wrote: > > > I started work on something I called libukern which allows you to run > > essentially all non platform code in user adding a PCI passthrough driver > > so one can run unmodified drivers in user. Libuinet is great as far as it > > goes, but it's just the network stack. If you want something other than > > just networking you'll have to do something else. > > If I had enough time and interest I=E2=80=99d look at investing my effort= s in porting RUMP from NetBSD to FreeBSD and going about it that route, but I=E2= =80=99m busy with other efforts so I can=E2=80=99t dedicate my time here yet. It se= ems like RUMP is the direction we should be going in=E2=80=A6 I looked at that first before starting a predecessor to uinet. You'll just have to trust me: no, it's not. -K From owner-freebsd-testing@FreeBSD.ORG Thu Jun 11 06:57:25 2015 Return-Path: Delivered-To: freebsd-testing@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 87B3F7F9; Thu, 11 Jun 2015 06:57:25 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pa0-x244.google.com (mail-pa0-x244.google.com [IPv6:2607:f8b0:400e:c03::244]) (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 511AE1499; Thu, 11 Jun 2015 06:57:25 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by pablj1 with SMTP id lj1so14744238pab.3; Wed, 10 Jun 2015 23:57:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to; bh=TXT5woOfOaJVnhQsVJ6HYtb+ztnl60FMPYk3R1OKJGk=; b=qaNxME48iOX2JJBzIo+tuCibGn79kBbY4cNxwcxWDfr4ki9hrel5nPTMx7AQ7jpJZZ xaREO6LGvVbdrEEEGeZS7Q/DXnDKB3GwDULKlviHHtCNN9b6l7JgSPIpxbORhplzAAX9 CHcyLjV66HwH++322XHtGkm8oz3MB3qlZrk1voEbE9VDXeesICDHJcSPaFJZMDRUCNtA fqELOL/5nsBrCgR+RKDkYbWalAqghe002zx15SgacVEuIw29Rv54Ua+eRrMgN8+def2c W7AVe57XC/u20r4zewWrfPdqRaUXgZSyFslqXzMywGi4FTRD0asCbN6QBCA/XtUHGmtx /O4g== X-Received: by 10.66.250.131 with SMTP id zc3mr12439966pac.136.1434005844805; Wed, 10 Jun 2015 23:57:24 -0700 (PDT) Received: from ?IPv6:2601:8:ab80:7d6:99d4:e155:4cfb:c95a? ([2601:8:ab80:7d6:99d4:e155:4cfb:c95a]) by mx.google.com with ESMTPSA id ss3sm10533549pab.43.2015.06.10.23.57.22 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 10 Jun 2015 23:57:24 -0700 (PDT) Subject: Re: compiling parts of kernel in userland Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_8A383AC1-5A75-4E81-9399-00DC50B69F22"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b6 From: Garrett Cooper In-Reply-To: Date: Wed, 10 Jun 2015 23:57:22 -0700 Cc: arch@freebsd.org, John-Mark Gurney , Adrian Chadd , "freebsd-testing@freebsd.org" Message-Id: <3FE09AEA-A7C9-4406-83D7-541C823BB416@gmail.com> References: <20150610224654.GM86224@funkthat.com> <5E0E3EAE-F184-478F-B2A0-D3FAB71ADB20@gmail.com> To: "K. Macy" X-Mailer: Apple Mail (2.1878.6) X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 06:57:25 -0000 --Apple-Mail=_8A383AC1-5A75-4E81-9399-00DC50B69F22 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Jun 10, 2015, at 23:56, K. Macy wrote: > On Jun 10, 2015 11:53 PM, "Garrett Cooper" = wrote: > > > > (Adding -testing because this pertains to testing) > > > > On Jun 10, 2015, at 23:48, K. Macy wrote: > > > > > I started work on something I called libukern which allows you to = run > > > essentially all non platform code in user adding a PCI passthrough = driver > > > so one can run unmodified drivers in user. Libuinet is great as = far as it > > > goes, but it's just the network stack. If you want something other = than > > > just networking you'll have to do something else. > > > > If I had enough time and interest I=92d look at investing my efforts = in porting RUMP from NetBSD to FreeBSD and going about it that route, = but I=92m busy with other efforts so I can=92t dedicate my time here = yet. It seems like RUMP is the direction we should be going in=85 >=20 > I looked at that first before starting a predecessor to uinet. You'll = just have to trust me: no, it's not. Why/how is it deficient? --Apple-Mail=_8A383AC1-5A75-4E81-9399-00DC50B69F22 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----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJVeTFSAAoJEMZr5QU6S73ewlcH/jFSzJrI/PuV132NDD3/aCin h0zaSAoF1V1UET9gvLbgAhxXf+her9dRuuyy4HiAQ5mshRo3ABYC58VPj06uVILR GzhRoXT469J+tqZIIHHQx/aU+Sok8vr2um64Uxu2MZ37GKRhO8sHS4YYcdXku88E eC8izD4KRxud9DyOJEjUfI2RjQmLapEclJ35tRu4IqpKfXQwx1jlQZZWhn1V7hCK y3I4QGBMpTqNxQCmUURL0yTq8qAqDfQ2fSBdH7gJhWYK/0Ia93WcvpnaNDYzfl37 RGZY0N7xhGUeZtVyL2DpQ7m2DGDxipoDlu49Zlyq//NuoenpmY4SUh/ovxbBX4w= =zx+c -----END PGP SIGNATURE----- --Apple-Mail=_8A383AC1-5A75-4E81-9399-00DC50B69F22-- From owner-freebsd-testing@FreeBSD.ORG Thu Jun 11 07:10:02 2015 Return-Path: Delivered-To: freebsd-testing@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 530F8A06; Thu, 11 Jun 2015 07:10:02 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-pd0-x22e.google.com (mail-pd0-x22e.google.com [IPv6:2607:f8b0:400e:c02::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 1F9D21713; Thu, 11 Jun 2015 07:10:02 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: by pdbki1 with SMTP id ki1so52161880pdb.1; Thu, 11 Jun 2015 00:10:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=3z9ODyoDGv1Cijk5goDlDbuhEpBh2xs2winR6GQo9jA=; b=sbDwmBzJtc0QD/Vukqe0DTX3/opm6at2Ciyd/g9nHYoHB+lz+vOWAa1r7uAdEktf3j 9U6W7H8ZQrKdMmDcoHtN8CGPJ6BjXdZFKX54U+52BfehMcp5UK9cepmYzFmS6E4W4J6A 4EYZm139zDy/oiMoc5L4RDcsA5pCOyzBd+GpiejKDthjbKrBEhChSsnEN/DRtG5xRf8G NWQsrrJjdM9wGd9LDchu/48v3SpBx0zCF0wa005ytNTTRsoPjgOIM+pwWZk9+wUeR64a Sn6dDEKe0jANbjW1RZb9q6ormKUckSbUeaAjG9r6QsApKdoJiNrImdS75jQI/R8LaE7a UULA== MIME-Version: 1.0 X-Received: by 10.70.38.10 with SMTP id c10mr12457167pdk.72.1434006601587; Thu, 11 Jun 2015 00:10:01 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.66.236.36 with HTTP; Thu, 11 Jun 2015 00:10:01 -0700 (PDT) Received: by 10.66.236.36 with HTTP; Thu, 11 Jun 2015 00:10:01 -0700 (PDT) In-Reply-To: <3FE09AEA-A7C9-4406-83D7-541C823BB416@gmail.com> References: <20150610224654.GM86224@funkthat.com> <5E0E3EAE-F184-478F-B2A0-D3FAB71ADB20@gmail.com> <3FE09AEA-A7C9-4406-83D7-541C823BB416@gmail.com> Date: Thu, 11 Jun 2015 00:10:01 -0700 X-Google-Sender-Auth: 7wOF7uY4ril1pMcTk0KUkpQIIMM Message-ID: Subject: Re: compiling parts of kernel in userland From: "K. Macy" To: Garrett Cooper Cc: arch@freebsd.org, John-Mark Gurney , Adrian Chadd , "freebsd-testing@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 07:10:02 -0000 On Jun 10, 2015 11:57 PM, "Garrett Cooper" wrote: > > On Jun 10, 2015, at 23:56, K. Macy wrote: > > > On Jun 10, 2015 11:53 PM, "Garrett Cooper" wrote: > > > > > > (Adding -testing because this pertains to testing) > > > > > > On Jun 10, 2015, at 23:48, K. Macy wrote: > > > > > > > I started work on something I called libukern which allows you to run > > > > essentially all non platform code in user adding a PCI passthrough driver > > > > so one can run unmodified drivers in user. Libuinet is great as far as it > > > > goes, but it's just the network stack. If you want something other than > > > > just networking you'll have to do something else. > > > > > > If I had enough time and interest I=E2=80=99d look at investing my ef= forts in porting RUMP from NetBSD to FreeBSD and going about it that route, but I=E2= =80=99m busy with other efforts so I can=E2=80=99t dedicate my time here yet. It se= ems like RUMP is the direction we should be going in=E2=80=A6 > > > > I looked at that first before starting a predecessor to uinet. You'll just have to trust me: no, it's not. > > Why/how is it deficient? It's a horrible unmaintainable steaming pile. There are of course no objective metrics for such a statement without my wasting hours to go back and look through it to come up with a comprehensive explanation. So I imagine you'll want to debate this endlessly. Before you push this any further, download RUMP and just make it *compile* with FreeBSD sources. And at least when I was looking there was no thought given to device passthrough. At least the rubbish that is COMPAT_MACH they had the sense to put in Attic. I effectively ended up starting over again with OSFMK sources. Speaking from experience on many "science projects", one "science project" doesn't necessarily make a good foundation for another. -K From owner-freebsd-testing@FreeBSD.ORG Thu Jun 11 10:40:25 2015 Return-Path: Delivered-To: freebsd-testing@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 37730621; Thu, 11 Jun 2015 10:40:25 +0000 (UTC) (envelope-from hps@selasky.org) 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 E8DE51C86; Thu, 11 Jun 2015 10:40:24 +0000 (UTC) (envelope-from hps@selasky.org) 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 CA2FA1FE023; Thu, 11 Jun 2015 12:40:12 +0200 (CEST) Message-ID: <557965BD.5070608@selasky.org> Date: Thu, 11 Jun 2015 12:41:01 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: "K. Macy" , Garrett Cooper CC: "freebsd-testing@freebsd.org" , arch@freebsd.org, John-Mark Gurney , Adrian Chadd Subject: Re: compiling parts of kernel in userland References: <20150610224654.GM86224@funkthat.com> <5E0E3EAE-F184-478F-B2A0-D3FAB71ADB20@gmail.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 10:40:25 -0000 On 06/11/15 08:56, K. Macy wrote: > On Jun 10, 2015 11:53 PM, "Garrett Cooper" wrote: >> >> (Adding -testing because this pertains to testing) >> >> On Jun 10, 2015, at 23:48, K. Macy wrote: >> >>> I started work on something I called libukern which allows you to run >>> essentially all non platform code in user adding a PCI passthrough > driver >>> so one can run unmodified drivers in user. Libuinet is great as far as > it >>> goes, but it's just the network stack. If you want something other than >>> just networking you'll have to do something else. >> >> If I had enough time and interest I’d look at investing my efforts in > porting RUMP from NetBSD to FreeBSD and going about it that route, but I’m > busy with other efforts so I can’t dedicate my time here yet. It seems like > RUMP is the direction we should be going in… > > I looked at that first before starting a predecessor to uinet. You'll just > have to trust me: no, it's not. > FYI: We already have libcuse and cuse.ko in base for character devices in userspace. --HPS From owner-freebsd-testing@FreeBSD.ORG Thu Jun 11 20:57:26 2015 Return-Path: Delivered-To: freebsd-testing@hub.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 A8E28AB4 for ; Thu, 11 Jun 2015 20:57:26 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from nm25-vm1.bullet.mail.bf1.yahoo.com (nm25-vm1.bullet.mail.bf1.yahoo.com [98.139.212.155]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5844216FD for ; Thu, 11 Jun 2015 20:57:26 +0000 (UTC) (envelope-from pfg@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1434056238; bh=16GnH7pcicYWCGvOFrjKSRMrGIgqrZid3qbouOde9zQ=; h=Date:From:To:Subject:From:Subject; b=Izu2qVoUbxuerQP7DbobtGAJaPHBuDygzhJn820tqsxvtA+bHEhOFIxm1ddv/cFrvk+3VzCU8J0mjg2QKk4SNjdoWKYufr4F9CuClfYZ1/ytsfPOX9YACt3FjtQ81C18PPAwsFpIyFdxuXlSwgtXRgNMP0hxlsO2j1T15RwrrlS49aaoaMSiew1ZyQz6D4VoTDEilBb40WHBH+4Z0RWnzE2sq9o1CFSc+hypIlhUVsLuMM0TKhkOA+KLnWHB2Yr+qZtL1wrsWwo56ER9w7K79qEg5UCrj5A9JCiCsG7G808qI6iMep88jHa8hmiJEZGoi2VjwyaheDmiQQz+A2q0/A== Received: from [98.139.170.178] by nm25.bullet.mail.bf1.yahoo.com with NNFMP; 11 Jun 2015 20:57:18 -0000 Received: from [98.139.211.192] by tm21.bullet.mail.bf1.yahoo.com with NNFMP; 11 Jun 2015 20:57:18 -0000 Received: from [127.0.0.1] by smtp201.mail.bf1.yahoo.com with NNFMP; 11 Jun 2015 20:57:18 -0000 X-Yahoo-Newman-Id: 921532.43599.bm@smtp201.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: aMN7mrgVM1l7jeqbk2qEfQiCER._zsohI_igqhk82IVeIOL JxGACpUx.MdjTEq4XnZPgW3ouuMeJLsFTzwWExKJkDTfGGTm7I3NiYw_OQZj M8AR.3giML0jlNTjTGAHoX5iz62ShBcMxVkZjtDVKVvo2uz4PEBu9y.sLR1U 0t30mTGIEX8CYQn1_BW23r4BSRefEqPxUGKTDBD0SXlfi4SzMQLgaoYqEW20 xlwOtq7S8Zcs8S_oLeU9gzAYJQSbPvzQCNLQqsD_a1ewjN7axrljOJjsDbtH yhlU04uh.63gCTgRzZ.UAJq73foxNipLNGqzDu47sF1DBUFd9_msfF3plWQ8 Pssa.N7_E4Re8UWfVw85cLQZafIS0tJHcG2FPHqPDhBRJjZdVLZyKbiumhND zjqi0f5hVgwQRS5QnYgejZGe1Jmr_aD1DOhXzDuvPw.RVtLRjIPK464jT0g0 70FbkBmleva6p3GVAlu8qY8TmlktXbPXqsjb6rqRhco_6NXWGF02r8NB7xp3 9ShgLYIuaOuJvi0wEObM7UlDGlkWThwv5 X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Message-ID: <5579F646.7060604@FreeBSD.org> Date: Thu, 11 Jun 2015 15:57:42 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-testing Subject: Some feedback on the jenkins builds Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 20:57:26 -0000 Hi guys; Just thought some feedback would be useful: 1) It's great to have those summaries on the warnings produced by clang and gcc. Can we also have those for the different platforms? It is likely that i386 may show some warnings that don't happen in amd64. 2) Perhaps we can save some resources by concatenating the builds: If there is a failure in amd64, we should not spend time attempting to build i386 or the other platforms. 3) The clang static checker seems to not be uploading the results. The main page throws an nginx message and the last result appears to be from 2015-05-04. I guess there is some ongoing work to start using the plugin though. Again, huge thanks for this great work, it does help! Pedro. From owner-freebsd-testing@FreeBSD.ORG Thu Jun 11 21:09:23 2015 Return-Path: Delivered-To: freebsd-testing@hub.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 4D387F3A; Thu, 11 Jun 2015 21:09:23 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-qc0-x243.google.com (mail-qc0-x243.google.com [IPv6:2607:f8b0:400d:c01::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0C008199E; Thu, 11 Jun 2015 21:09:23 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by qcvp6 with SMTP id p6so2303034qcv.2; Thu, 11 Jun 2015 14:09:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=t5LHqbQBtfszVb4t9SHHdjG74TQrBfEifuCcKOuvBMc=; b=IXartAjsDRJEXdoPoKyUrZq6q1Cp0+fBsvRs3gg5wHaTnm+UwuikIYChS3XPGgo4AD Svc6kW53Ocr7w6ikbINiNzqnsmjtAv8dqz8qOzfquTe4H2pnYWQGBfx6OWv30OxW96g1 2IvQnITOoGjzJpvYRDcP3d7TBY1B9/rBJZHvdk7XMXSZOA0RYY+XEP7KSIAZEeVK/Vpq 94AG46Q/w4efAJ6Qszcrtqz0GHmBTgLce3sX/EJsUb+ZCHclYVcEj6JhThrucaiTNFKW XV85OjHzouU+JPbieJc82YwCys8QAL+thHC61ZnpoRfyRJKWn91/7SKGrvOG0mhvElcQ fNbg== MIME-Version: 1.0 X-Received: by 10.140.232.131 with SMTP id d125mr15006385qhc.80.1434056962262; Thu, 11 Jun 2015 14:09:22 -0700 (PDT) Received: by 10.140.98.73 with HTTP; Thu, 11 Jun 2015 14:09:22 -0700 (PDT) In-Reply-To: <5579F646.7060604@FreeBSD.org> References: <5579F646.7060604@FreeBSD.org> Date: Thu, 11 Jun 2015 14:09:22 -0700 Message-ID: Subject: Re: Some feedback on the jenkins builds From: NGie Cooper To: Pedro Giffuni Cc: freebsd-testing Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 21:09:23 -0000 On Thu, Jun 11, 2015 at 1:57 PM, Pedro Giffuni wrote: > Hi guys; > > Just thought some feedback would be useful: > > 1) It's great to have those summaries on the warnings produced > by clang and gcc. Can we also have those for the different > platforms? It is likely that i386 may show some warnings that > don't happen in amd64. Do you mean gcc 4.9 with i386..? > 2) Perhaps we can save some resources by concatenating the builds: > If there is a failure in amd64, we should not spend time attempting to > build i386 or the other platforms. If the builds for one architecture were sufficiently fast (amd64 or i386), then we could have it build other architectures as part of a downstream build (that way builds would trigger not off svn commits, but instead off build pass/fails). > 3) The clang static checker seems to not be uploading the results. > The main page throws an nginx message and the last result appears > to be from 2015-05-04. I guess there is some ongoing work to start > using the plugin though. > > Again, huge thanks for this great work, it does help! Indeed. A lot of thanks to jenkins-admin and all the hard work they've done here and continue to do here :). -NGie From owner-freebsd-testing@FreeBSD.ORG Thu Jun 11 21:21:02 2015 Return-Path: Delivered-To: freebsd-testing@hub.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 62A6468B for ; Thu, 11 Jun 2015 21:21:02 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from nm39-vm5.bullet.mail.bf1.yahoo.com (nm39-vm5.bullet.mail.bf1.yahoo.com [72.30.239.149]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0FEF41CB3 for ; Thu, 11 Jun 2015 21:21:01 +0000 (UTC) (envelope-from pfg@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1434057465; bh=UZvVYSGjG+b9vOP8CioTiUEQIr/zTppAG2RhPuopCWg=; h=Date:From:To:CC:Subject:References:In-Reply-To:From:Subject; b=AeROnF8CjOH1nHGfThD3nfLUybEtRxZktjMbKWYhjQtVo9KKToJF7VusmUsQ4GTXs410NxP0lV1K3yeHqFYx0YQrlzKu1f8hFpT1CXKcGQZtWA3VxyHp4LQCkJREizezngAKFhxGvRt98OO9Ssp9m13pQYi94+UUZtpM5hSbDtTcBKaAhTZgLQ7hnSH1Rkt9oBDUoBg5C88CGtaHTYRgMqpT4q7sTCQNo1Os6vdnbUaCl2XPFdyvtE2OcGwPBLk6uDpslq6t4xicEklxxDAPFWqjXESlcKjmrktEBr4TdMLhLjbVl1hiJZVSteCWRAgbP0cMjOJsJgkJK0SDbANQFQ== Received: from [98.139.170.182] by nm39.bullet.mail.bf1.yahoo.com with NNFMP; 11 Jun 2015 21:17:45 -0000 Received: from [98.139.211.200] by tm25.bullet.mail.bf1.yahoo.com with NNFMP; 11 Jun 2015 21:17:45 -0000 Received: from [127.0.0.1] by smtp209.mail.bf1.yahoo.com with NNFMP; 11 Jun 2015 21:17:45 -0000 X-Yahoo-Newman-Id: 340095.21346.bm@smtp209.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: SfVMz_AVM1mASTTIAmzQbZkIzgV3i0x4uNgJUfp_SzWDsX0 nTpghrH1adV6QkSG1MrMaQdYKoaoESLFZafzXkOOi69DyBxJkG8RLmcJ_o.7 TGLUMn0KFMbVBUhZWXsSAuKbe8f6vv8vo3QbOYtOZNld0hhdVcathtajYCys dEo3Ujkz_P5OgBgohcvY55gZv_etSEogap3uH1lcBS3AW2BeXCk2lZMwaS3B ZiYt6jsFOArISajBoDwzct.eM3cyMwkPtPU.vXG3MdXZ9Np1bWhctfZAEqNz ckx22nar6uJf825tf4FOFkP8BMu4GLUT8iKGMtLdrl7PFJDSHptO7W9I44ci rJogHRgBflVWnRv456qqWbx.Us5ohVDqMWg0Cmk5KqbnYOCVrOyhpJsI6N2G EHH7wr5zWsYupnQmDp3D.T65w3pENXrqe8i9sC3BL2hr25t2f.FlMoIQltTV fV_uCjg9uoGJChrXSYyo8o0gGO.JghLIp1.4UgrdKpgNuQPoJ2c6jHCKr0o. 14i58yAULINhHxjxYTX3V16bKkUPNBM4O X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Message-ID: <5579FB12.8000403@FreeBSD.org> Date: Thu, 11 Jun 2015 16:18:10 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: NGie Cooper CC: freebsd-testing Subject: Re: Some feedback on the jenkins builds References: <5579F646.7060604@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 21:21:02 -0000 On 06/11/15 16:09, NGie Cooper wrote: > On Thu, Jun 11, 2015 at 1:57 PM, Pedro Giffuni wrote: >> Hi guys; >> >> Just thought some feedback would be useful: >> >> 1) It's great to have those summaries on the warnings produced >> by clang and gcc. Can we also have those for the different >> platforms? It is likely that i386 may show some warnings that >> don't happen in amd64. > Do you mean gcc 4.9 with i386..? Yes, but there also clang with i386. In fact since we are running jobs for other platforms we can collect the warnings on those too. Even the gcc-4.2.1 if possible. FWIW, this year I am mentoring a project to produce even more warnings targeted for security, and it should work with both gcc and clang. Pedro. From owner-freebsd-testing@FreeBSD.ORG Fri Jun 12 02:53:44 2015 Return-Path: Delivered-To: freebsd-testing@hub.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 5D065D49; Fri, 12 Jun 2015 02:53:44 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-yk0-x230.google.com (mail-yk0-x230.google.com [IPv6:2607:f8b0:4002:c07::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 1836E1F7C; Fri, 12 Jun 2015 02:53:44 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: by ykfw62 with SMTP id w62so4108252ykf.2; Thu, 11 Jun 2015 19:53:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=o/MPxr4pOoa8KuRlkTTHr1R4Y+2xKNXUKM4S3zjM6MM=; b=Zfkglwe8JOvtPmM6ZWtrkxRwwzdBAbSv5vcqeM11s4LUtij8skRvjTbO5xx1OBQfM+ YTU13zXF2HsAF25/kvezVEdz4vpKJz0JHFJsMgLn4mf1rThM9x5SMC3qq6LVLq+39O+I OsLG78MEpg9XtlfWuAt8WIas9g9LDFaB18pFj8liEEk6ZfMRFj+v1AcgZZNtX5Y7Q66O +6phYUvvl3mFpix+vItw8E1BHfVwAJCljEWlPoYvyBe8T4J9+JJN/cPhi4dEMA7ghnzg 5zwI9YY0273j8htZMod8McmlS0I2F2vyFoUBxhfEh/E1s+WhTALK75IAXdOdZtVr3qy6 jTBw== MIME-Version: 1.0 X-Received: by 10.170.52.211 with SMTP id 202mr15896671yku.86.1434077623136; Thu, 11 Jun 2015 19:53:43 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.13.233.70 with HTTP; Thu, 11 Jun 2015 19:53:43 -0700 (PDT) In-Reply-To: References: <20150610224654.GM86224@funkthat.com> <5E0E3EAE-F184-478F-B2A0-D3FAB71ADB20@gmail.com> <3FE09AEA-A7C9-4406-83D7-541C823BB416@gmail.com> Date: Thu, 11 Jun 2015 19:53:43 -0700 X-Google-Sender-Auth: rm9KkjEH3N4cvhVmyAX8CIBL2RI Message-ID: Subject: Re: compiling parts of kernel in userland From: Craig Rodrigues To: "K. Macy" Cc: "freebsd-testing@freebsd.org" , arch@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2015 02:53:44 -0000 On Thu, Jun 11, 2015 at 12:10 AM, K. Macy wrote: > > It's a horrible unmaintainable steaming pile. There are of course no > objective metrics for such a statement without my wasting hours to go back > and look through it to come up with a comprehensive explanation. So I > imagine you'll want to debate this endlessly. > No, I'm not interested in debating endlessly. However, if you had some rough data points as to the downsides of rump kernels, it would be very useful for others to know what the problems are. You have a lot of knowledge, so it is nice to share your experiences with others. I've read the whitepapers on rump kernels, and seen some of the presentations on it. On the surface, the NetBSD developers who have worked on rump seem like reasonable and smart folks who put a lot of hard work into their project. If I didn't know any better, I would say their stuff is good. If rump is hard to compile on FreeBSD, that is one valid point. If you have other points besides, "it's a steaming pile", it would be nice to hear your thoughts. Otherwise it sounds like "not invented in FreeBSD, so it sucks". I recently asked a similar question about xhyve (bhyve for OS X), and got a simple succinct answer: https://lists.freebsd.org/pipermail/freebsd-virtualization/2015-June/003624.html That's really all that is needed. If it will take hours to gather that info, then I agree, that is a waste of your time. I'd rather see you contribute stuff to FreeBSD, possibly using this Github pull requests using this workflow: https://lists.freebsd.org/pipermail/freebsd-current/2015-April/055551.html :) -- Craig -- Craig From owner-freebsd-testing@FreeBSD.ORG Fri Jun 12 03:03:09 2015 Return-Path: Delivered-To: freebsd-testing@hub.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 5AA32129; Fri, 12 Jun 2015 03:03:09 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-pa0-x22f.google.com (mail-pa0-x22f.google.com [IPv6:2607:f8b0:400e:c03::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 25C2A1448; Fri, 12 Jun 2015 03:03:09 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: by pabqy3 with SMTP id qy3so13748063pab.3; Thu, 11 Jun 2015 20:03:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=xPi0fgn+nciaU0B6g4dUBeT9fv5pjgTvTbnViViZ6lg=; b=ScljZ8jWU+DnedEgUbvBloOgld9yCZGTQBPoiHEKL3pGIn8CkD4RKG0jVa0oeYR6zs mnPf4/5c/4pyYwCPnR5cFdH3Lx0MHbelliUYJitd+RYGH7R+8mCK5OhWYlEXASs1SMRu kyU5GOzUqKyniEmLohf2U51TAS13OcmImj9uE0ipKcuD0yqoAnFimn2LcLw++u+bvx55 HXnmnWeYSFczx6GeB/DnsA8LPl8A6XRHrrg52PhbyV6UiCtPRrKDTqx/eFCt1ZcffDxK RnbK2mIwMnATHeGsP1x2q0F+bBKZV6TBlx5poow5SZhgoj/TL8bNh+nbPPSRJTh5b2DO riig== MIME-Version: 1.0 X-Received: by 10.70.133.36 with SMTP id oz4mr19610947pdb.65.1434078188519; Thu, 11 Jun 2015 20:03:08 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.66.236.36 with HTTP; Thu, 11 Jun 2015 20:03:08 -0700 (PDT) Received: by 10.66.236.36 with HTTP; Thu, 11 Jun 2015 20:03:08 -0700 (PDT) In-Reply-To: References: <20150610224654.GM86224@funkthat.com> <5E0E3EAE-F184-478F-B2A0-D3FAB71ADB20@gmail.com> <3FE09AEA-A7C9-4406-83D7-541C823BB416@gmail.com> Date: Thu, 11 Jun 2015 20:03:08 -0700 X-Google-Sender-Auth: 63-A08C0Vrv2bBx6jCmwxr3NVtU Message-ID: Subject: Re: compiling parts of kernel in userland From: "K. Macy" To: Craig Rodrigues Cc: arch@freebsd.org, freebsd-testing@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2015 03:03:09 -0000 On Jun 11, 2015 7:53 PM, "Craig Rodrigues" wrote: > > > > On Thu, Jun 11, 2015 at 12:10 AM, K. Macy wrote: >> >> >> It's a horrible unmaintainable steaming pile. There are of course no >> objective metrics for such a statement without my wasting hours to go back >> and look through it to come up with a comprehensive explanation. So I >> imagine you'll want to debate this endlessly. > > > No, I'm not interested in debating endlessly. > > However, if you had some rough data points as to the downsides > of rump kernels, it would be very useful for others to know what the > problems are. You have a lot of knowledge, so it is nice to share > your experiences with others. > > I've read the whitepapers on rump kernels, and seen some of the > presentations on it. On the surface, the NetBSD developers who > have worked on rump seem like reasonable and smart folks who put a lot of > hard work into their project. If I didn't know any better, I would say their > stuff is good. > > If rump is hard to compile on FreeBSD, that is one valid point. > If you have other points besides, "it's a steaming pile", it would be nice > to hear your thoughts. Otherwise it sounds like "not invented in FreeBSD, so it sucks". > > I recently asked a similar question about xhyve (bhyve for OS X), > and got a simple succinct answer: > https://lists.freebsd.org/pipermail/freebsd-virtualization/2015-June/003624.html > > That's really all that is needed. If it will take hours to gather that info, > then I agree, that is a waste of your time. I'd rather see you contribute > stuff to FreeBSD, possibly using this Github pull requests > using this workflow: > > https://lists.freebsd.org/pipermail/freebsd-current/2015-April/055551.html The idea behind RUMP is of course sound and useful. And the implementation may well have improved dramatically since I last looked. However, my personal experience with much of NetBSD outside of the core kernel (xen, mach, SPARC, and perhaps RUMP) is that the code is really unpleasant to work with and not any sort of reusable framework beyond, perhaps, answering specific questions. Dillon had some sort of toy user space kernel a while back. If he he has maintained that it is very likely a better starting point. -K > :) > > -- > Craig > > > > -- > Craig > From owner-freebsd-testing@FreeBSD.ORG Fri Jun 12 11:26:30 2015 Return-Path: Delivered-To: freebsd-testing@hub.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 98D7F290; Fri, 12 Jun 2015 11:26:30 +0000 (UTC) (envelope-from lwhsu.freebsd@gmail.com) Received: from mail-vn0-x22c.google.com (mail-vn0-x22c.google.com [IPv6:2607:f8b0:400c:c0f::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 523B215C7; Fri, 12 Jun 2015 11:26:30 +0000 (UTC) (envelope-from lwhsu.freebsd@gmail.com) Received: by vnbf129 with SMTP id f129so5421254vnb.2; Fri, 12 Jun 2015 04:26:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=YzGxm8etvGikpj6SnoEMNeemu9MuWg0As37CzIEhDf0=; b=XoknxiJLSRY94nLyueyNby2w8GvBGPafwE91NMqx1klOTokPZYu6Hc707GTay+KdpK E4/C8FhHpMKLtT4Cvl2Xo1iDXNBmiNLXVpi+YU9uVno+HtzRmVp3k1LQucuOBwN2b8ti Ke87XCpJ1VAp3CNdzsq4wk0aCbksb0MUeV0rRPS6udApHMUz+YFkJytuKan2/P06p/AL 83koQZV571PFGErLPA3h3Shr6LoVY6B/U2176ziuEndGQVbZxL6ksJ/xmGw0vKjgNRiA MGWDzgiEMOBnKCDMNGOvri8c1OXHTM6zaZ/ih8h8xa2TMnRzR9PyCrUnuigpRXdIM7+P CnTw== MIME-Version: 1.0 X-Received: by 10.52.6.8 with SMTP id w8mr24625615vdw.85.1434108389260; Fri, 12 Jun 2015 04:26:29 -0700 (PDT) Sender: lwhsu.freebsd@gmail.com Received: by 10.31.193.133 with HTTP; Fri, 12 Jun 2015 04:26:29 -0700 (PDT) In-Reply-To: <5579F646.7060604@FreeBSD.org> References: <5579F646.7060604@FreeBSD.org> Date: Fri, 12 Jun 2015 07:26:29 -0400 X-Google-Sender-Auth: OsorpzJOnIpPZl4xPtEmpEAV4_U Message-ID: Subject: Re: Some feedback on the jenkins builds From: Li-Wen Hsu To: Pedro Giffuni Cc: freebsd-testing Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2015 11:26:30 -0000 On Thursday, June 11, 2015, Pedro Giffuni wrote: > Hi guys; > > Just thought some feedback would be useful: > > 1) It's great to have those summaries on the warnings produced > by clang and gcc. Can we also have those for the different > platforms? It is likely that i386 may show some warnings that > don't happen in amd64. > > 2) Perhaps we can save some resources by concatenating the builds: > If there is a failure in amd64, we should not spend time attempting to > build i386 or the other platforms. These two are absolutely doable, I need some more time on it. In fact, they are on my todo list. I am also working on making adding new jobs more easier for people without administration privilege. I am trying using Jenkins job builder from OpenStack. I'll give the details here when my experiment has some preliminary results. > 3) The clang static checker seems to not be uploading the results. > The main page throws an nginx message and the last result appears > to be from 2015-05-04. I guess there is some ongoing work to start > using the plugin though. I also found this, it seems someone changed the configuration and script, this is what I am working on right now. > Again, huge thanks for this great work, it does help! > It is great to know that people think this is useful. If anybody at BSDCan wants to know more / to help / to give suggestion. Please find me at hack lounge. Li-Wen -- Li-Wen Hsu http://lwhsu.org