From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 28 21:00:58 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CF1F1065676 for ; Wed, 28 Apr 2010 21:00:58 +0000 (UTC) (envelope-from webmaster@kibab.com) Received: from mx0.deglitch.com (backbone.deglitch.com [IPv6:2001:16d8:fffb:4::abba]) by mx1.freebsd.org (Postfix) with ESMTP id A429A8FC14 for ; Wed, 28 Apr 2010 21:00:57 +0000 (UTC) Received: from localhost (unknown [77.232.3.143]) by mx0.deglitch.com (Postfix) with ESMTPA id D74198FC4E for ; Thu, 29 Apr 2010 01:00:54 +0400 (MSD) Date: Thu, 29 Apr 2010 01:01:24 +0400 From: Ilya Bakulin To: freebsd-hackers@freebsd.org Message-ID: <20100429010124.3496d7ef@kibab.com> Organization: Deglitch Networks X-Mailer: Claws Mail 3.7.2 (GTK+ 2.18.7; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/kayTty+Y13aej03uLxQRIZm"; protocol="application/pgp-signature" Subject: GSoC project: Make optional kernel subsystems register themselves via sysctl X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 21:00:58 -0000 --Sig_/kayTty+Y13aej03uLxQRIZm Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi list, I participate in GSoC this summer, so I want to announce my project. Proje= ct details may be found at FreeBSD wiki, [1]. Completing this project will make it easy to get current kernel feature set= from the userland, thus simplifying writing system administration scripts,= autoconfigurating Ports, jailed packages building jobs, etc. My experience with FreeBSD includes using it as the main OS for both server= s and work PCs. This includes solving problems with buggy ACPI, helping som= e FreeBSD developers to test their code on my hardware, tuning our company'= s FreeBSD servers. I maintain several ports in FreeBSD Ports Collection. Al= so I was working with FreeBSD/ARM for some time (this includes developing c= ustom firmware for the proprietary AT91RM9200-based device, done together w= ith Stanislav Sedov, and driver code for Marvell 88F5182 SATA controller --= work done for Semihalf. It was committed to FreeBSD-CURRENT last summer). =20 According to suggested timeline described at [1], now it's time to decide w= hat kernel subsystems need to be registered this way, and how this registra= tion may be overriden. The interesting question is: should modules register themselves under kern.= features tree? For example, USB support may be either compiled into kernel = or loaded as a module at runtime. In the first case it seems to be a good i= dea to register it under kern.features. The main goal is not to rely on "kl= dstat -v" to get compiled-in modules. Other need-to-be-registered things are ALTQ support, MAC support, INET/INET= 6,... I expect all such sysctls to be boolean: the feature X is either present, i= n this case "kern.features.X =3D 1", or not present -- simply no node at ke= rnel.features. But maybe it's not sufficient? =20 So I'll be glad to hear your opinion, and hope we all will be able to set "= kern.features.the_best_os_ever=3D1" in our kernel feature sets at the end o= f the summer :-) Good luck for all GSoC participants! [1] http://wiki.freebsd.org/SOC2010IlyaBakulin --=20 Regards, Ilya Bakulin http://kibab.com xmpp://kibab612@jabber.ru --Sig_/kayTty+Y13aej03uLxQRIZm Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkvYoikACgkQo9vlj1oadwjAvQCg35HKMw7CnrfhNNyGH96+Sz66 kYcAn2RyRzu2W4hRL1IsDu1vqHCgM+tw =ITpq -----END PGP SIGNATURE----- --Sig_/kayTty+Y13aej03uLxQRIZm--