Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756164AbYFWKJP (ORCPT ); Mon, 23 Jun 2008 06:09:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751829AbYFWKI7 (ORCPT ); Mon, 23 Jun 2008 06:08:59 -0400 Received: from zone0.gcu-squad.org ([212.85.147.21]:10058 "EHLO services.gcu-squad.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751476AbYFWKI6 (ORCPT ); Mon, 23 Jun 2008 06:08:58 -0400 Date: Mon, 23 Jun 2008 12:08:44 +0200 From: Jean Delvare To: Hans de Goede Cc: Rene Herman , linux-acpi@vger.kernel.org, Zhang Rui , "Mark M. Hoffman" , Linux Kernel , lm-sensors@lm-sensors.org Subject: Re: LMSENSORS: 2.6.26-rc, enabling ACPI Termal Zone support costs sensors Message-ID: <20080623120844.5f722aa6@hyperion.delvare> In-Reply-To: <485E61DE.6020202@hhs.nl> References: <485DA11C.7050906@keyaccess.nl> <485DFF35.6080008@hhs.nl> <485E505F.8010306@keyaccess.nl> <485E61DE.6020202@hhs.nl> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.10.6; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3777 Lines: 93 Hi Hans, On Sun, 22 Jun 2008 16:29:50 +0200, Hans de Goede wrote: > Rene Herman wrote: > > This is an ABI breakage issue and an unfortunate one at that: > > No it is not, (...) Technically speaking, Hans is right. The problem doesn't qualify as an "ABI breakage". Just because a kernel update broke user-space, doesn't imply API breakage. That being said, the truth is that we don't really care how the breakage is called. It's broken and needs to be fixed, that's all we care about. > (...) > Actually its lm_sensors userspace which is to blame, as instead of skipping the > new hwmon device which it doesn't understand it aborts (atleast that is what I > understand from what you're telling us). Yes, user-space is to blame. > > (...) > > So it seems we have here a change to the kernel requiring a userspace > > basically noone is ready for > > Erm if you look at that same page you will notice there are links to patches > for almost every userspace package which uses lm_sensors, I know as I wrote > most of them, quite a few of them have been integrated by their resp. upstreams. Can you please update the wiki to say so? I was myself wondering whether your patches had been integrated or not by now. Maybe we could present things a bit better, for example with a table or a bullet-list, listing all applications, with the minimum version that has libsensors 3 support (for applications which are already updated upstream) or a link to the patch (for those which are not.) This could stay on the Download page, or be moved to a dedicated page. If you have some time to do something like this, please do. If not, please tell me, I'll take care of the reformatting and then you can update the entries. > Also "noone is ready for"? lm_sensors-3.0.x is the default in both Fedora 9 and > OpenSuse 11. Note: openSuse 11.0 ships with both libsensors 2.10.6 and libsensors 3.0.2. sensors links with the latter, but other applications presumably link with the former. This version of openSuse is the transition one. The plan is to only have libsensors 3.x in openSuse 11.1. > > But if not, .26 is around the corner and requiring libsensors-3.0 must > > really not be. > > I agree that requiring libsensors-3.0.2 for this is not a good solution, but I > don't want to be crippling the kernel for what I believe is a bug in 2.10.x either. Actually, requiring libsensors 3.0.2 wouldn't be such a bad solution. libsensors 2.10.x lacks support for many new devices. It also needs libsysfs, which most distributions are trying to get rid of. You can't at the same time upgrade to the latest kernel and expect legacy branches of all user-space tools to keep working. Legacy means, well, legacy. Mixing that with bleeding edge is asking for trouble. > (...) > 2) Fix this in the 2.10.x series (which are still supported) and do a new > 2.10.x release. In fact, it is already fixed. If you look carefully at: http://www.lm-sensors.org/wiki/Download You'll see that I maintain a list of recommended patches for the last version of each branch of lm-sensors. For version 2.10.6, there are currently 3 recommended patches, the first one being: http://www.lm-sensors.org/changeset/5147 Which, you guess, fixes the problem reported by Rene. So all we have to do is release lm-sensors 2.10.7 soon. > 3) If this really completely messes 2.10.x and in that case I'm afraid we will > have to make kernel side changes. No, the kernel does the right thing and does not need to be modified at all. -- Jean Delvare -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/