Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755230AbYHSNIx (ORCPT ); Tue, 19 Aug 2008 09:08:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753639AbYHSNIn (ORCPT ); Tue, 19 Aug 2008 09:08:43 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:42298 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753373AbYHSNIm (ORCPT ); Tue, 19 Aug 2008 09:08:42 -0400 Date: Tue, 19 Aug 2008 15:08:07 +0200 From: Ingo Molnar To: David Witbrodt Cc: Yinghai Lu , linux-kernel@vger.kernel.org, "Paul E. McKenney" , Peter Zijlstra , Thomas Gleixner , "H. Peter Anvin" , netdev Subject: Re: HPET regression in 2.6.26 versus 2.6.25 -- connection between HPET and lockups found Message-ID: <20080819130807.GB20210@elte.hu> References: <452065.84245.qm@web82105.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <452065.84245.qm@web82105.mail.mud.yahoo.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2054 Lines: 58 * David Witbrodt wrote: > > Just to make sure: on a working kernel, do you get the HPET > > messages? I.e. does the hpet truly work in that case? > > On the "fileserver", where 2.6.25 works but 2.6.26 locks up, the HPET > _does_ work on a working kernel: > > $ uname -r > 2.6.26.revert1 > > $ dmesg | grep -i hpet > ACPI: HPET 77FE80C0, 0038 (r1 RS690 AWRDACPI 42302E31 AWRD 98) > ACPI: HPET id: 0x10b9a201 base: 0xfed00000 > hpet clockevent registered > hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0 > hpet0: 4 32-bit timers, 14318180 Hz > hpet_resources: 0xfed00000 is busy btw., you might also want to look into drivers/char/hpet.c and instrument that a bit. In particular the ioremap()s done there will show exactly how the hpet is mapped. In particular this bit: if (hpet_is_known(hdp)) { printk(KERN_DEBUG "%s: 0x%lx is busy\n", __func__, hdp->hd_phys_address); iounmap(hdp->hd_address); return AE_ALREADY_EXISTS; } suggests that you've got multiple hpets listed by the BIOS? > What I didn't realize is that the "desktop" machine, where 2.6.26 has > always "worked", does NOT have a working HPET after all, even though I > have enabled all HPET options in .config: that's OK - you've still got a regression. > (I don't know what is going on with "desktop": does the motherboard > lack HPET, or does the Linux kernel not support the HPET hardware on > the motherboard?) Whether the system has a hpet listed in the BIOS data structures can be seen in acpidump [in the pmtools package] Even if the BIOS does not list it, the system might have hpet in the chipset - hpet=force can be tried to force-enable it. 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/