Re: 2.6.21-rc7: HPET enabled freeze my machine at boot
John, Removing the three lines doesn't help too. It just boot ok with clocksource=acpi_pm. Guilherme M. Schroeder Network Administrator Central de Vendas Informatica LTDA Tel.: (11) 3665-2000 Ramal: 2008 http://www.centralinf.com.br john stultz wrote: On Mon, 2007-04-23 at 15:30 -0700, john stultz wrote: On Sat, 2007-04-21 at 20:07 -0300, Guilherme M. Schroeder wrote: john stultz wrote: On 4/19/07, guilherme <[EMAIL PROTECTED]> wrote: Hi, If i enable "High Resolution Timer Support", my machine stops here at boot: Clocksource tsc unstable (delta = -297340790165 ns) Time: hpet clocksource has been installed. If i disable HPET, it boots fine. Hmmm.. What happens if you boot w/ clocksource=acpi_pm ? Boot ok with clocksource=acpi_pm and HPET enabled. Any clue? I'm suspecting that your HPET counter is being stopped for some reason, although why I have no idea. Just to get a clear picture, does this happen w/ "Tickless System (Dynamic ticks)" disabled in the menuconfig? Thomas, might we be actually stopping the HPET counter instead of disabling the HPET interrupt w/ dynticks? Just a shot in the dark, but does this patch affect the behavior? thanks -john diff --git a/arch/i386/kernel/hpet.c b/arch/i386/kernel/hpet.c index 17d7345..14e76a5 100644 --- a/arch/i386/kernel/hpet.c +++ b/arch/i386/kernel/hpet.c @@ -183,9 +183,6 @@ static void hpet_set_mode(enum clock_event_mode mode, case CLOCK_EVT_MODE_UNUSED: case CLOCK_EVT_MODE_SHUTDOWN: - cfg = hpet_readl(HPET_T0_CFG); - cfg &= ~HPET_TN_ENABLE; - hpet_writel(cfg, HPET_T0_CFG); break; } } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.21-rc7: HPET enabled freeze my machine at boot
John, The dynticks doesn't affect HPET here at all. The machine freeze with or w/o dynticks. Gonna try the patch and i tell you. Guilherme M. Schroeder Network Administrator Central de Vendas Informatica LTDA Tel.: (11) 3665-2000 Ramal: 2008 http://www.centralinf.com.br john stultz wrote: On Sat, 2007-04-21 at 20:07 -0300, Guilherme M. Schroeder wrote: john stultz wrote: On 4/19/07, guilherme <[EMAIL PROTECTED]> wrote: Hi, If i enable "High Resolution Timer Support", my machine stops here at boot: Clocksource tsc unstable (delta = -297340790165 ns) Time: hpet clocksource has been installed. If i disable HPET, it boots fine. Hmmm.. What happens if you boot w/ clocksource=acpi_pm ? Boot ok with clocksource=acpi_pm and HPET enabled. Any clue? I'm suspecting that your HPET counter is being stopped for some reason, although why I have no idea. Just to get a clear picture, does this happen w/ "Tickless System (Dynamic ticks)" disabled in the menuconfig? Thomas, might we be actually stopping the HPET counter instead of disabling the HPET interrupt w/ dynticks? thanks -john - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.21-rc7: HPET enabled freeze my machine at boot
John, Just a doubt, you want me to test the patch with dynticks disabled? Guilherme M. Schroeder Network Administrator Central de Vendas Informatica LTDA Tel.: (11) 3665-2000 Ramal: 2008 http://www.centralinf.com.br john stultz wrote: On Mon, 2007-04-23 at 15:30 -0700, john stultz wrote: On Sat, 2007-04-21 at 20:07 -0300, Guilherme M. Schroeder wrote: john stultz wrote: On 4/19/07, guilherme <[EMAIL PROTECTED]> wrote: Hi, If i enable "High Resolution Timer Support", my machine stops here at boot: Clocksource tsc unstable (delta = -297340790165 ns) Time: hpet clocksource has been installed. If i disable HPET, it boots fine. Hmmm.. What happens if you boot w/ clocksource=acpi_pm ? Boot ok with clocksource=acpi_pm and HPET enabled. Any clue? I'm suspecting that your HPET counter is being stopped for some reason, although why I have no idea. Just to get a clear picture, does this happen w/ "Tickless System (Dynamic ticks)" disabled in the menuconfig? Thomas, might we be actually stopping the HPET counter instead of disabling the HPET interrupt w/ dynticks? Just a shot in the dark, but does this patch affect the behavior? thanks -john diff --git a/arch/i386/kernel/hpet.c b/arch/i386/kernel/hpet.c index 17d7345..14e76a5 100644 --- a/arch/i386/kernel/hpet.c +++ b/arch/i386/kernel/hpet.c @@ -183,9 +183,6 @@ static void hpet_set_mode(enum clock_event_mode mode, case CLOCK_EVT_MODE_UNUSED: case CLOCK_EVT_MODE_SHUTDOWN: - cfg = hpet_readl(HPET_T0_CFG); - cfg &= ~HPET_TN_ENABLE; - hpet_writel(cfg, HPET_T0_CFG); break; } } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.21-rc7: HPET enabled freeze my machine at boot
On Mon, 2007-04-23 at 15:30 -0700, john stultz wrote: > On Sat, 2007-04-21 at 20:07 -0300, Guilherme M. Schroeder wrote: > > john stultz wrote: > > > On 4/19/07, guilherme <[EMAIL PROTECTED]> wrote: > > >> Hi, > > >> > > >> If i enable "High Resolution Timer Support", my machine stops here at > > >> boot: > > >> > > >> Clocksource tsc unstable (delta = -297340790165 ns) > > >> Time: hpet clocksource has been installed. > > >> > > >> If i disable HPET, it boots fine. > > > > > > Hmmm.. What happens if you boot w/ clocksource=acpi_pm ? > > > > > > > > > > Boot ok with clocksource=acpi_pm and HPET enabled. > > Any clue? > > > I'm suspecting that your HPET counter is being stopped for some reason, > although why I have no idea. > > Just to get a clear picture, does this happen w/ "Tickless System > (Dynamic ticks)" disabled in the menuconfig? > > Thomas, might we be actually stopping the HPET counter instead of > disabling the HPET interrupt w/ dynticks? Just a shot in the dark, but does this patch affect the behavior? thanks -john diff --git a/arch/i386/kernel/hpet.c b/arch/i386/kernel/hpet.c index 17d7345..14e76a5 100644 --- a/arch/i386/kernel/hpet.c +++ b/arch/i386/kernel/hpet.c @@ -183,9 +183,6 @@ static void hpet_set_mode(enum clock_event_mode mode, case CLOCK_EVT_MODE_UNUSED: case CLOCK_EVT_MODE_SHUTDOWN: - cfg = hpet_readl(HPET_T0_CFG); - cfg &= ~HPET_TN_ENABLE; - hpet_writel(cfg, HPET_T0_CFG); break; } } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.21-rc7: HPET enabled freeze my machine at boot
On Sat, 2007-04-21 at 20:07 -0300, Guilherme M. Schroeder wrote: > john stultz wrote: > > On 4/19/07, guilherme <[EMAIL PROTECTED]> wrote: > >> Hi, > >> > >> If i enable "High Resolution Timer Support", my machine stops here at > >> boot: > >> > >> Clocksource tsc unstable (delta = -297340790165 ns) > >> Time: hpet clocksource has been installed. > >> > >> If i disable HPET, it boots fine. > > > > Hmmm.. What happens if you boot w/ clocksource=acpi_pm ? > > > > > > Boot ok with clocksource=acpi_pm and HPET enabled. > Any clue? I'm suspecting that your HPET counter is being stopped for some reason, although why I have no idea. Just to get a clear picture, does this happen w/ "Tickless System (Dynamic ticks)" disabled in the menuconfig? Thomas, might we be actually stopping the HPET counter instead of disabling the HPET interrupt w/ dynticks? thanks -john - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.21-rc7: HPET enabled freeze my machine at boot
John, Boot ok with clocksource=acpi_pm and HPET enabled. Any clue? john stultz wrote: On 4/19/07, guilherme <[EMAIL PROTECTED]> wrote: Hi, If i enable "High Resolution Timer Support", my machine stops here at boot: Clocksource tsc unstable (delta = -297340790165 ns) Time: hpet clocksource has been installed. If i disable HPET, it boots fine. Hmmm.. What happens if you boot w/ clocksource=acpi_pm ? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.21-rc7: HPET enabled freeze my machine at boot
On 4/19/07, guilherme <[EMAIL PROTECTED]> wrote: Hi, If i enable "High Resolution Timer Support", my machine stops here at boot: Clocksource tsc unstable (delta = -297340790165 ns) Time: hpet clocksource has been installed. If i disable HPET, it boots fine. Hmmm.. What happens if you boot w/ clocksource=acpi_pm ? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.21-rc7: HPET enabled freeze my machine at boot
Andi, [EMAIL PROTECTED]:/usr/src/linux-2.6# git bisect good 5d8b34fdcb384161552d01ee8f34af5ff11f9684 is first bad commit commit 5d8b34fdcb384161552d01ee8f34af5ff11f9684 Author: Thomas Gleixner <[EMAIL PROTECTED]> Date: Fri Feb 16 01:27:43 2007 -0800 [PATCH] clocksource: Add verification (watchdog) helper The TSC needs to be verified against another clocksource. Instead of using hardwired assumptions of available hardware, provide a generic verification mechanism. The verification uses the best available clocksource and handles the usability for high resolution timers / dynticks of the clocksource which needs to be verified. Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]> Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]> Cc: john stultz <[EMAIL PROTECTED]> Cc: Roman Zippel <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> :04 04 62dc665aebadaa1bdb948959a718162b88e1ff68 605d2b2d55e0b0edc4b26580d700f64fb878753a M arch :04 04 ce257f3585445396942b4bb35d4fd23c44ab4bb1 5ace8e9bd9e9806ce468d7e8dec2db4f9052ed5e M include :04 04 dfca91fe8a0b3ee7de842b4dd3451220634516f1 4c2ec00e90009d296f44f3e0b89c50e43336c6bc M kernel [EMAIL PROTECTED]:/usr/src/linux-2.6# Thanks. Guilherme M. Schroeder Network Administrator Central de Vendas Informatica LTDA Tel.: (11) 3665-2000 Ramal: 2008 http://www.centralinf.com.br Andi Kleen wrote: guilherme <[EMAIL PROTECTED]> writes: With noapic it freezes too. This doesn't occur with 2.6.20.x thought. Ah. Can you please git bisect it then? -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.21-rc7: HPET enabled freeze my machine at boot
guilherme <[EMAIL PROTECTED]> writes: > With noapic it freezes too. This doesn't occur with 2.6.20.x thought. Ah. Can you please git bisect it then? -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.21-rc7: HPET enabled freeze my machine at boot
guilherme <[EMAIL PROTECTED]> writes: > Sorry, i put the wrong option in the last mail. > The options that freeze my machine at boot is "HPET Timer Support". Either an interrupt routing problem or your HPET timer is broken. Does it work with noapic? Can you describe your hardware? dmidecode/lspci/acpidmp? -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.21-rc7: HPET enabled freeze my machine at boot
Sorry, i put the wrong option in the last mail. The options that freeze my machine at boot is "HPET Timer Support". Thanks. -- Guilherme M. Schroeder Network Administrator Central de Vendas Informatica LTDA Tel.: (11) 3665-2000 Ramal: 2008 http://www.centralinf.com.br - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/