* AMD Geode LX WDT (geode-mfgpt)
@ 2010-03-31 4:54 Martin Teufel
2010-03-31 8:08 ` Arnd Hannemann
0 siblings, 1 reply; 3+ messages in thread
From: Martin Teufel @ 2010-03-31 4:54 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1172 bytes --]
Hi,
I have some ALIX boards (SBC) with AMD Geode LX CPUs and their companion
device CS5536 and am using Debian on them. I didn't care about the
integrated watchdog timer (in the CS5536) so far. Recently I did, but
neither the CONFIG_GEODE_WDT was set in the debian kernel (2.6.26), nor
the CONFIG_GEODE_MFGPT_TIMER. So I compiled my own debian 2.6.26 geode
kernel (CONFIG_MGEODE_LX=y, CONFIG_GEODE_WDT=y,
CONFIG_GEODE_MFGPT_TIMER=y, CONFIG_CRYPTO_DEV_GEODE=y etc.).
My problem is that the geode-mfgpt doesn't find any timers:
[ 0.204012] geode-mfgpt: 0 MFGPT timers available.
[ 0.208013] mfgpt-timer: Could not allocate a MFPGT timer
...
[ 2.284029] geodewdt: No timers were available
My question is: Why doesn't it? Is this a known bug? If so, is it
already fixed in a newer kernel version?
BTW: There are two typing errors in the mfgpt_32.c (line 232 and 342).
It should be MFGPT but is MFPGT. :)
Please note that I'm *not* on the mailing list, so please send me a CC
of your answer(s) - thanks.
Since I'm relatively new to kernel issues maybe I'm just missing
something. If so, please forgive me and don't objurgate me too much. ;-)
Regards,
Martin
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: AMD Geode LX WDT (geode-mfgpt)
2010-03-31 4:54 AMD Geode LX WDT (geode-mfgpt) Martin Teufel
@ 2010-03-31 8:08 ` Arnd Hannemann
2010-04-14 15:35 ` Lennart Sorensen
0 siblings, 1 reply; 3+ messages in thread
From: Arnd Hannemann @ 2010-03-31 8:08 UTC (permalink / raw)
To: Martin Teufel; +Cc: linux-kernel
Am 31.03.2010 06:54, schrieb Martin Teufel:
> I have some ALIX boards (SBC) with AMD Geode LX CPUs and their companion
> device CS5536 and am using Debian on them. I didn't care about the
> integrated watchdog timer (in the CS5536) so far. Recently I did, but
> neither the CONFIG_GEODE_WDT was set in the debian kernel (2.6.26), nor
> the CONFIG_GEODE_MFGPT_TIMER. So I compiled my own debian 2.6.26 geode
> kernel (CONFIG_MGEODE_LX=y, CONFIG_GEODE_WDT=y,
> CONFIG_GEODE_MFGPT_TIMER=y, CONFIG_CRYPTO_DEV_GEODE=y etc.).
>
> My problem is that the geode-mfgpt doesn't find any timers:
>
> [ 0.204012] geode-mfgpt: 0 MFGPT timers available.
> [ 0.208013] mfgpt-timer: Could not allocate a MFPGT timer
> ...
> [ 2.284029] geodewdt: No timers were available
>
> My question is: Why doesn't it? Is this a known bug? If so, is it
> already fixed in a newer kernel version?
Your BIOS may already use all available timers.
AFAIR only TinyBios with ALIX leaves timers for the OS.
Award and CoreBoot both use them all.
Best regards,
Arnd
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: AMD Geode LX WDT (geode-mfgpt)
2010-03-31 8:08 ` Arnd Hannemann
@ 2010-04-14 15:35 ` Lennart Sorensen
0 siblings, 0 replies; 3+ messages in thread
From: Lennart Sorensen @ 2010-04-14 15:35 UTC (permalink / raw)
To: Arnd Hannemann; +Cc: Martin Teufel, linux-kernel
On Wed, Mar 31, 2010 at 10:08:36AM +0200, Arnd Hannemann wrote:
> Am 31.03.2010 06:54, schrieb Martin Teufel:
>
> > I have some ALIX boards (SBC) with AMD Geode LX CPUs and their companion
> > device CS5536 and am using Debian on them. I didn't care about the
> > integrated watchdog timer (in the CS5536) so far. Recently I did, but
> > neither the CONFIG_GEODE_WDT was set in the debian kernel (2.6.26), nor
> > the CONFIG_GEODE_MFGPT_TIMER. So I compiled my own debian 2.6.26 geode
> > kernel (CONFIG_MGEODE_LX=y, CONFIG_GEODE_WDT=y,
> > CONFIG_GEODE_MFGPT_TIMER=y, CONFIG_CRYPTO_DEV_GEODE=y etc.).
> >
> > My problem is that the geode-mfgpt doesn't find any timers:
> >
> > [ 0.204012] geode-mfgpt: 0 MFGPT timers available.
> > [ 0.208013] mfgpt-timer: Could not allocate a MFPGT timer
> > ...
> > [ 2.284029] geodewdt: No timers were available
> >
> > My question is: Why doesn't it? Is this a known bug? If so, is it
> > already fixed in a newer kernel version?
>
> Your BIOS may already use all available timers.
> AFAIR only TinyBios with ALIX leaves timers for the OS.
> Award and CoreBoot both use them all.
The BIOS on the CompuLab CM-iGLX modules leave 5 timers available as
far as I recall. We certainly haven't had any issue getting one for a
watchdog on those modules. The BIOS happens to be a buggy ancient piece
of crap in other ways, but at least its OK for the timer use.
It is unfortunately an amazingly stupid timer design (there is no way to
clear a timer when you are done using it to indicate others can use it).
We had to hack the driver a bit to allow using timers already in use
given we actually start the watchdog from the bootloader and have the
kernel watchdog driver take over later.
--
Len Sorensen
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-04-14 15:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-31 4:54 AMD Geode LX WDT (geode-mfgpt) Martin Teufel
2010-03-31 8:08 ` Arnd Hannemann
2010-04-14 15:35 ` Lennart Sorensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox