Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-23 Thread Willy Tarreau
On Wed, Jan 23, 2008 at 09:36:46AM -0700, Jordan Crouse wrote: > > Why not just ajust the constant in MFGPT_HZ since it's the only place (aside > > the comments) where this is referenced ? > > > > If you want I can send you a patch and adjust the comments at the same time. > > That would be great

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-23 Thread Jordan Crouse
On 22/01/08 22:15 +0100, Willy Tarreau wrote: > On Tue, Jan 22, 2008 at 02:08:58PM -0700, Jordan Crouse wrote: > > On 22/01/08 21:15 +0100, Willy Tarreau wrote: > > > So it seems like applying the workaround on top of TinyBIOS 0.98 undoes > > > this BIOS's workaround. I'm now wondering how we could

[git pull] was: Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-22 Thread Thomas Gleixner
On Tue, 22 Jan 2008, Ingo Molnar wrote: > * Arnd Hannemann <[EMAIL PROTECTED]> wrote: > > > > The attached patch rearranges the code so that the handler is > > > installed before we setup the interrupt (so we have somebody to > > > listen to the immediate interrupt), and it makes sure that we cl

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-22 Thread Willy Tarreau
On Tue, Jan 22, 2008 at 10:10:14PM +0100, Ingo Molnar wrote: > > * Arnd Hannemann <[EMAIL PROTECTED]> wrote: > > > > The attached patch rearranges the code so that the handler is > > > installed before we setup the interrupt (so we have somebody to > > > listen to the immediate interrupt), and

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-22 Thread Willy Tarreau
On Tue, Jan 22, 2008 at 02:08:58PM -0700, Jordan Crouse wrote: > On 22/01/08 21:15 +0100, Willy Tarreau wrote: > > So it seems like applying the workaround on top of TinyBIOS 0.98 undoes > > this BIOS's workaround. I'm now wondering how we could detect whether > > the workaround was applied or not

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-22 Thread Jordan Crouse
On 22/01/08 21:15 +0100, Willy Tarreau wrote: > Good news! I read the mfgpt patch for 2.6.22 and saw what the workaround > consisted in (writing 0xff at MSR 0x5140002B). So I tried adding the > following on top of 2.6.24-rc8 : > > static int __init mfgpt_fix(char *s) > { > u32 val, dummy; >

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-22 Thread Ingo Molnar
* Arnd Hannemann <[EMAIL PROTECTED]> wrote: > > The attached patch rearranges the code so that the handler is > > installed before we setup the interrupt (so we have somebody to > > listen to the immediate interrupt), and it makes sure that we clear > > the event in the IRQ handler regardless

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-22 Thread Arnd Hannemann
Hi, Jordan Crouse schrieb: >> Indeed. >> Strange, it works at least with mfgpt_irq=8 (rtc) and mfgpt_irq=5 (audio): > > I have most excellent news. I was able to get tinyBIOS booting on my > development platform. I looked at the problem with the debugger and > I think I might have found somethi

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-22 Thread Willy Tarreau
Hi guys, On Tue, Jan 22, 2008 at 12:32:26AM +0100, Willy Tarreau wrote: > [ 44.013100] NET: Registered protocol family 16 > > [ 44.066308] geode-mfgpt: IRQ MSR=0:0 > > [ 44.110161] geode-mfgpt: NMI MSR=0:0

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-22 Thread Jordan Crouse
> Indeed. > Strange, it works at least with mfgpt_irq=8 (rtc) and mfgpt_irq=5 (audio): I have most excellent news. I was able to get tinyBIOS booting on my development platform. I looked at the problem with the debugger and I think I might have found something. It looks like the interrupt is fi

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-22 Thread Jordan Crouse
On 22/01/08 12:18 +0100, Arnd Hannemann wrote: > Hi Lars, > > Lars Heete schrieb: > > Hello, > > > > On Tuesday 22 January 2008 10:03:08 am Arnd Hannemann wrote: > >> Jordan Crouse wrote: > >>> Okay - I've been exploring a little bit more. I talked to the TinyBIOS > >>> developer, and he verifie

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-22 Thread Arnd Hannemann
Hi Lars, Lars Heete schrieb: > Hello, > > On Tuesday 22 January 2008 10:03:08 am Arnd Hannemann wrote: >> Jordan Crouse wrote: >>> Okay - I've been exploring a little bit more. I talked to the TinyBIOS >>> developer, and he verified that TinyBIOS shouldn't use any MFGPT timers. >>> He also told

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-22 Thread Lars Heete
Hello, On Tuesday 22 January 2008 10:03:08 am Arnd Hannemann wrote: > Jordan Crouse wrote: > > Okay - I've been exploring a little bit more. I talked to the TinyBIOS > > developer, and he verified that TinyBIOS shouldn't use any MFGPT timers. > > He also told me that the mysterious "MFGPT workaro

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-22 Thread Arnd Hannemann
Jordan Crouse wrote: > Okay - I've been exploring a little bit more. I talked to the TinyBIOS > developer, and he verified that TinyBIOS shouldn't use any MFGPT timers. > He also told me that the mysterious "MFGPT workaround" was in fact the > magic MFGPT erasing MSR that was in the old kernel dr

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-21 Thread Willy Tarreau
Hi Jordan, On Mon, Jan 21, 2008 at 04:27:09PM -0700, Jordan Crouse wrote: > Okay - I've been exploring a little bit more. I talked to the TinyBIOS > developer, and he verified that TinyBIOS shouldn't use any MFGPT timers. > He also told me that the mysterious "MFGPT workaround" was in fact the >

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-21 Thread Jordan Crouse
Okay - I've been exploring a little bit more. I talked to the TinyBIOS developer, and he verified that TinyBIOS shouldn't use any MFGPT timers. He also told me that the mysterious "MFGPT workaround" was in fact the magic MFGPT erasing MSR that was in the old kernel driver. So with the "MFGPT wor

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-17 Thread Jordan Crouse
On 18/01/08 00:39 +0100, Arnd Hannemann wrote: > Jordan Crouse schrieb: > > On 17/01/08 23:52 +0100, Arnd Hannemann wrote: > > > > > > > >>> Hmmm - not sure whats happening here. I wonder if we're stuck in an > >>> interrupt storm of some sort as soon as you register the interrupt > >>> handle

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-17 Thread Arnd Hannemann
Jordan Crouse schrieb: > On 17/01/08 23:52 +0100, Arnd Hannemann wrote: > > > >>> Hmmm - not sure whats happening here. I wonder if we're stuck in an >>> interrupt storm of some sort as soon as you register the interrupt handler. >>> But I would think that whatever was causing the interrupt sto

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-17 Thread Jordan Crouse
On 17/01/08 23:52 +0100, Arnd Hannemann wrote: > > Hmmm - not sure whats happening here. I wonder if we're stuck in an > > interrupt storm of some sort as soon as you register the interrupt handler. > > But I would think that whatever was causing the interrupt storm would be > > running well be

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-17 Thread Arnd Hannemann
Jordan Crouse wrote: > On 17/01/08 22:50 +0100, Arnd Hannemann wrote: >> Jordan Crouse schrieb: >>> On 17/01/08 20:53 +0100, Arnd Hannemann wrote: Andres Salomon schrieb: > On Thu, 17 Jan 2008 10:54:30 +0100 > Arnd Hannemann <[EMAIL PROTECTED]> wrote: > >> Andres Salomon schrie

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-17 Thread Jordan Crouse
On 17/01/08 22:50 +0100, Arnd Hannemann wrote: > Jordan Crouse schrieb: > > On 17/01/08 20:53 +0100, Arnd Hannemann wrote: > >> Andres Salomon schrieb: > >>> On Thu, 17 Jan 2008 10:54:30 +0100 > >>> Arnd Hannemann <[EMAIL PROTECTED]> wrote: > >>> > Andres Salomon schrieb: > > On Wed, 16 Ja

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-17 Thread Arnd Hannemann
Jordan Crouse schrieb: > On 17/01/08 20:53 +0100, Arnd Hannemann wrote: >> Andres Salomon schrieb: >>> On Thu, 17 Jan 2008 10:54:30 +0100 >>> Arnd Hannemann <[EMAIL PROTECTED]> wrote: >>> Andres Salomon schrieb: > On Wed, 16 Jan 2008 16:19:12 -0500 > Andres Salomon <[EMAIL PROTECTED]>

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-17 Thread Jordan Crouse
On 17/01/08 20:53 +0100, Arnd Hannemann wrote: > Andres Salomon schrieb: > > On Thu, 17 Jan 2008 10:54:30 +0100 > > Arnd Hannemann <[EMAIL PROTECTED]> wrote: > > > >> Andres Salomon schrieb: > >>> On Wed, 16 Jan 2008 16:19:12 -0500 > >>> Andres Salomon <[EMAIL PROTECTED]> wrote: > >>> > On We

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-17 Thread Andres Salomon
On Thu, 17 Jan 2008 20:53:57 +0100 Arnd Hannemann <[EMAIL PROTECTED]> wrote: > Andres Salomon schrieb: > > On Thu, 17 Jan 2008 10:54:30 +0100 > > Arnd Hannemann <[EMAIL PROTECTED]> wrote: > > > >> Andres Salomon schrieb: > >>> On Wed, 16 Jan 2008 16:19:12 -0500 > >>> Andres Salomon <[EMAIL PROTEC

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-17 Thread Arnd Hannemann
Andres Salomon schrieb: > On Thu, 17 Jan 2008 10:54:30 +0100 > Arnd Hannemann <[EMAIL PROTECTED]> wrote: > >> Andres Salomon schrieb: >>> On Wed, 16 Jan 2008 16:19:12 -0500 >>> Andres Salomon <[EMAIL PROTECTED]> wrote: >>> On Wed, 16 Jan 2008 18:44:07 +0100 Arnd Hannemann <[EMAIL PROTECT

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-17 Thread Andres Salomon
On Thu, 17 Jan 2008 10:54:30 +0100 Arnd Hannemann <[EMAIL PROTECTED]> wrote: > Andres Salomon schrieb: > > On Wed, 16 Jan 2008 16:19:12 -0500 > > Andres Salomon <[EMAIL PROTECTED]> wrote: > > > >> On Wed, 16 Jan 2008 18:44:07 +0100 > >> Arnd Hannemann <[EMAIL PROTECTED]> wrote: > >> > >>> Hi, > >

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-17 Thread Arnd Hannemann
Andres Salomon schrieb: > On Wed, 16 Jan 2008 16:19:12 -0500 > Andres Salomon <[EMAIL PROTECTED]> wrote: > >> On Wed, 16 Jan 2008 18:44:07 +0100 >> Arnd Hannemann <[EMAIL PROTECTED]> wrote: >> >>> Hi, >>> >>> I'm trying to boot 2.6.24-rc8 on a GEODE LX board (ALIX.3), >>> and it hangs during boot:

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-16 Thread Andres Salomon
On Wed, 16 Jan 2008 16:19:12 -0500 Andres Salomon <[EMAIL PROTECTED]> wrote: > On Wed, 16 Jan 2008 18:44:07 +0100 > Arnd Hannemann <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I'm trying to boot 2.6.24-rc8 on a GEODE LX board (ALIX.3), > > and it hangs during boot: > > > > [ 12.689971] NET: R

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-16 Thread Andres Salomon
On Wed, 16 Jan 2008 18:44:07 +0100 Arnd Hannemann <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to boot 2.6.24-rc8 on a GEODE LX board (ALIX.3), > and it hangs during boot: > > [ 12.689971] NET: Registered protocol family 16 > [ 12.703329] geode-mfgpt: Registered timer 0 > [ 12.716149]