Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754684AbXJHPQx (ORCPT ); Mon, 8 Oct 2007 11:16:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751914AbXJHPQq (ORCPT ); Mon, 8 Oct 2007 11:16:46 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:50069 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751910AbXJHPQp (ORCPT ); Mon, 8 Oct 2007 11:16:45 -0400 Subject: Re: 2.6.23 regression: do_nanosleep will not return From: Peter Zijlstra To: Bernd Schubert , Thomas Gleixner Cc: Rik van Riel , linux-kernel@vger.kernel.org In-Reply-To: <200710081701.34368.bs@q-leap.de> References: <20071008103252.5fe81529@bree.surriel.com> <200710081701.34368.bs@q-leap.de> Content-Type: text/plain Date: Mon, 08 Oct 2007 17:16:32 +0200 Message-Id: <1191856592.20745.16.camel@twins> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1547 Lines: 37 On Mon, 2007-10-08 at 17:01 +0200, Bernd Schubert wrote: > On Monday 08 October 2007 16:32:52 Rik van Riel wrote: > > On Mon, 08 Oct 2007 15:20:26 +0200 > > > > Bernd Schubert wrote: > > > Bernd Schubert wrote: > > > > we have a system here were e.g. "sleep 1" will never finish. This > > > > is an issue of 2.6.23, on all older kernel versions it did work > > > > fine. > > > > > > > > Seems to hang in do_nanosleep() > > > > > > Update: Enabling hpet in the bios and setting clocksource=hpet as > > > command line parameter will fix it, but still its not nice that > > > something that worked without a problem in 2.6.22 and below suddenly > > > doesn't work in 2.6.23. > > > > Which timer source is in use when the system hangs? > > Well, not the systems hangs, only processes running nanosleep. Well, since the > system is booted diskless, one of the very first commands is to > run "/etc/init.d/portmap start", which has a sleep call in its script and so > it will halt the boot process. > > The problematic timer source is acpi_pm. Its also interesting that setting the > timer source > via /sys/devices/system/clocksource/clocksource0/current_clocksource won't > fix that problem. Only the boot option clocksource={other than acpi_pm} does > help. Maybe Thomas knows.. - 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/