From owner-freebsd-arch@FreeBSD.ORG Wed Jul 11 19:07:52 2007 Return-Path: X-Original-To: freebsd-arch@FreeBSD.org Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7410216A494; Wed, 11 Jul 2007 19:07:52 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.freebsd.org (Postfix) with ESMTP id 2FCC813C468; Wed, 11 Jul 2007 19:07:52 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (k5zrgw2yb6x95bvf@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id l6BJ7k9k051645; Wed, 11 Jul 2007 12:07:46 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id l6BJ7jLp051643; Wed, 11 Jul 2007 12:07:45 -0700 (PDT) (envelope-from jmg) Date: Wed, 11 Jul 2007 12:07:45 -0700 From: John-Mark Gurney To: "Constantine A. Murenin" Message-ID: <20070711190745.GI1221@funkthat.com> Mail-Followup-To: "Constantine A. Murenin" , Poul-Henning Kamp , Rui Paulo , Shteryana Shopova , Robert Watson , freebsd-arch@FreeBSD.org References: <53705.1184107078@critter.freebsd.dk> <469420B9.20401@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <469420B9.20401@FreeBSD.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 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 Cc: Rui Paulo , Poul-Henning Kamp , Robert Watson , Shteryana Shopova , freebsd-arch@FreeBSD.org Subject: Re: Porting OpenBSD's sysctl hw.sensors framework to FreeBSD X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2007 19:07:52 -0000 Constantine A. Murenin wrote this message on Tue, Jul 10, 2007 at 20:13 -0400: > If you want to have no such framework that could potentially diagnose or > predict system failure, it's your choice, and I'm not going to argue > against it. However, there are many people who desire to have this > feature in an operating system, and these people include FreeBSD users > and developers. No one is saying that we don't want a framekwork to provide this information... We want to put the framework in the proper place that will be the most maintainable, testable and extensible location possible: userland... A single bug in the kernel framework and associated drivers could take the entire system down... The worse a userland app can do is core dump... Having recently written an HDTV driver... It was a god-send to have the tuner logic and related items in userland, and only use the kernel part as a bit mover.. It made testing very quick, and will enable people to develope additional tuners w/o having to go through crashing their machine as they load/unload drivers that contain bugs.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."