Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751042AbXAPL6L (ORCPT ); Tue, 16 Jan 2007 06:58:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751045AbXAPL6L (ORCPT ); Tue, 16 Jan 2007 06:58:11 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:46044 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751041AbXAPL6J (ORCPT ); Tue, 16 Jan 2007 06:58:09 -0500 Date: Tue, 16 Jan 2007 12:56:38 +0100 From: Ingo Molnar To: Rui Nuno Capela Cc: linux-rt-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Two 2.6.20-rc5-rt2 issues Message-ID: <20070116115638.GA6809@elte.hu> References: <5114.194.65.103.1.1168943363.squirrel@www.rncbc.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5114.194.65.103.1.1168943363.squirrel@www.rncbc.org> User-Agent: Mutt/1.4.2.2i X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -2.6 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.6 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.0.3 -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2114 Lines: 47 * Rui Nuno Capela wrote: > First one is about building for UP (CONFIG_SMP not set) on my old P4 > laptop. As it seems, all my build attempts failed at the final link > stage, with undefined references to paravirt_enable. After disabling > CONFIG_PARAVIRT I get a similar failure, but this time for a couple > kvm* symbols. [...] ok, i think i have managed to fix both bugs. I have released -rt3, please re-check whether it works any better. If it still doesnt then please send me the exact .config that fails. > [...] I could only get a clean build when CONFIG_SMP is set, which is > (IMHO) overkill for a machine which is neither HyperThread/SMT enabled > nor multi-core. Its plain dead UP and it used to run PREEMPT_RT > kernels for a long time now. btw., latest SMP kernels (2.6.18 and later) "patch themselves back" to UP instructions to a high degree if they run on a single CPU - that's why for example Fedora uses only an SMP kernel these days. Running a genuine UP kernel is still more efficient - but the difference shouldnt be /that/ large anymore. (if someone would like to measure it that would be interesting to see) > Second one is already about running SMP, on a Dual Core2 T7200, for > which the build goes fine but run-time is haunted by a crippling BUG: > Call Trace: > [] __switch_to+0xcc/0x176 > [] wake_up_process+0x19/0x1b > [] acpi_ec_gpe_handler+0x1f/0x53 > [] acpi_ev_gpe_dispatch+0x64/0x163 > [] acpi_ev_gpe_detect+0x94/0xd7 hm, this is a -rt specific thing that i hoped to have worked around but apparently not. The ACPI code uses a waitqueue in its idle routine (argh!) which cannot by done sanely on PREEMPT_RT. In -rt3 i've added a more conservative (but still ugly and incorrect) hack - could you try it, does -rt3 work any better? Ingo - 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/