2005-02-07 14:21:45

by Pasi Kärkkäinen

[permalink] [raw]
Subject: Re: [WATCHDOG] support of motherboards with ICH6]

On Mon, Feb 07, 2005 at 10:00:03AM +0100, P.O. Gaillard wrote:
> Hi,
>
> I am replying to myself so that people googling for similar problems can
> find the answer.
>
> Supermicro says that the internal driver of the southbridge (and also the
> W83627HF chip) are not useable because the necessary support hardware is
> missing. They say that the P8SCi board has a working watchdog.
>
> hope this can help somebody someday,
>
> P.O. Gaillard
>

Hi!

I have P8SCi motherboard, and I just tried the watchdog with Linux 2.6.10.

I loaded w83627hf_wdt driver, and the watchdog was detected:

WDT driver for the Winbond(TM) W83627HF Super I/O chip initialising.
w83627hf WDT: initialized. timeout=60 sec (nowayout=0)

But it is not working. I tried setting the timeout to 1 minute, and to
8 minute in the BIOS, but the machine reboots after the delay no matter what
the delay is.. the watchdog driver is loaded before the timeout of course.

For some reason, the driver is not working.

I mailed supermicro support about this, and they told me one of their
customers is using watchdog with Debian 2.6.10 kernel.
So it should work, but..

Is there some patches I could try?

-- Pasi K?rkk?inen

^
. .
Linux
/ - \
Choice.of.the
.Next.Generation.


2005-02-07 14:52:23

by Pádraig Brady

[permalink] [raw]
Subject: Re: [WATCHDOG] support of motherboards with ICH6]

Pasi K?rkk?inen wrote:
> On Mon, Feb 07, 2005 at 10:00:03AM +0100, P.O. Gaillard wrote:
>
>>Hi,
>>
>>I am replying to myself so that people googling for similar problems can
>>find the answer.
>>
>>Supermicro says that the internal driver of the southbridge (and also the
>>W83627HF chip) are not useable because the necessary support hardware is
>>missing. They say that the P8SCi board has a working watchdog.
>>
>> hope this can help somebody someday,
>>
>> P.O. Gaillard
>>
>
>
> Hi!
>
> I have P8SCi motherboard, and I just tried the watchdog with Linux 2.6.10.
>
> I loaded w83627hf_wdt driver, and the watchdog was detected:
>
> WDT driver for the Winbond(TM) W83627HF Super I/O chip initialising.
> w83627hf WDT: initialized. timeout=60 sec (nowayout=0)

Note there is no detection. It just writes to a particular IO port
(2E by default).

> But it is not working. I tried setting the timeout to 1 minute, and to
> 8 minute in the BIOS, but the machine reboots after the delay no matter what
> the delay is.. the watchdog driver is loaded before the timeout of course.
>
> For some reason, the driver is not working.
>
> I mailed supermicro support about this, and they told me one of their
> customers is using watchdog with Debian 2.6.10 kernel.
> So it should work, but..

You need to ask them what watchdog they use exactly.
I've seen motherboards that have w83637hf chips but
actually wire the intel watchdog up so you need the i8xx_tco driver

If they are using the w83726hf chip you need to ask
what IO port they're using.

P?draig.

2005-02-07 14:59:58

by Pasi Kärkkäinen

[permalink] [raw]
Subject: Re: [WATCHDOG] support of motherboards with ICH6]

On Mon, Feb 07, 2005 at 02:48:49PM +0000, [email protected] wrote:
> Pasi K?rkk?inen wrote:
> >On Mon, Feb 07, 2005 at 10:00:03AM +0100, P.O. Gaillard wrote:
> >
> >>Hi,
> >>
> >>I am replying to myself so that people googling for similar problems can
> >>find the answer.
> >>
> >>Supermicro says that the internal driver of the southbridge (and also the
> >>W83627HF chip) are not useable because the necessary support hardware is
> >>missing. They say that the P8SCi board has a working watchdog.
> >>
> >> hope this can help somebody someday,
> >>
> >> P.O. Gaillard
> >>
> >
> >
> >Hi!
> >
> >I have P8SCi motherboard, and I just tried the watchdog with Linux 2.6.10.
> >
> >I loaded w83627hf_wdt driver, and the watchdog was detected:
> >
> >WDT driver for the Winbond(TM) W83627HF Super I/O chip initialising.
> >w83627hf WDT: initialized. timeout=60 sec (nowayout=0)
>
> Note there is no detection. It just writes to a particular IO port
> (2E by default).
>
> >But it is not working. I tried setting the timeout to 1 minute, and to
> >8 minute in the BIOS, but the machine reboots after the delay no matter
> >what
> >the delay is.. the watchdog driver is loaded before the timeout of course.
> >
> >For some reason, the driver is not working.
> >
> >I mailed supermicro support about this, and they told me one of their
> >customers is using watchdog with Debian 2.6.10 kernel.
> >So it should work, but..
>
> You need to ask them what watchdog they use exactly.
> I've seen motherboards that have w83637hf chips but
> actually wire the intel watchdog up so you need the i8xx_tco driver
>
> If they are using the w83726hf chip you need to ask
> what IO port they're using.
>

Hi!

http://nrg.joroinen.fi/watchdog_function_project_description_P4SGL.doc

That is the document I got from supermicro.. it has the io ports / registers
they're using and also watchdog example in assembly.

It seems that they're using 0x2E..

-- Pasi K?rkk?inen

^
. .
Linux
/ - \
Choice.of.the
.Next.Generation.

2005-02-08 09:48:49

by Pasi Kärkkäinen

[permalink] [raw]
Subject: Re: [WATCHDOG] support of motherboards with ICH6]

On Mon, Feb 07, 2005 at 04:59:53PM +0200, Pasi K?rkk?inen wrote:
> On Mon, Feb 07, 2005 at 02:48:49PM +0000, [email protected] wrote:
> > Pasi K?rkk?inen wrote:
> > >On Mon, Feb 07, 2005 at 10:00:03AM +0100, P.O. Gaillard wrote:
> > >
> > >>Hi,
> > >>
> > >>I am replying to myself so that people googling for similar problems can
> > >>find the answer.
> > >>
> > >>Supermicro says that the internal driver of the southbridge (and also the
> > >>W83627HF chip) are not useable because the necessary support hardware is
> > >>missing. They say that the P8SCi board has a working watchdog.
> > >>
> > >> hope this can help somebody someday,
> > >>
> > >> P.O. Gaillard
> > >>
> > >
> > >
> > >Hi!
> > >
> > >I have P8SCi motherboard, and I just tried the watchdog with Linux 2.6.10.
> > >
> > >I loaded w83627hf_wdt driver, and the watchdog was detected:
> > >
> > >WDT driver for the Winbond(TM) W83627HF Super I/O chip initialising.
> > >w83627hf WDT: initialized. timeout=60 sec (nowayout=0)
> >
> > Note there is no detection. It just writes to a particular IO port
> > (2E by default).
> >
> > >But it is not working. I tried setting the timeout to 1 minute, and to
> > >8 minute in the BIOS, but the machine reboots after the delay no matter
> > >what
> > >the delay is.. the watchdog driver is loaded before the timeout of course.
> > >
> > >For some reason, the driver is not working.
> > >
> > >I mailed supermicro support about this, and they told me one of their
> > >customers is using watchdog with Debian 2.6.10 kernel.
> > >So it should work, but..
> >
> > You need to ask them what watchdog they use exactly.
> > I've seen motherboards that have w83637hf chips but
> > actually wire the intel watchdog up so you need the i8xx_tco driver
> >
> > If they are using the w83726hf chip you need to ask
> > what IO port they're using.
> >
>
> Hi!
>
> http://nrg.joroinen.fi/watchdog_function_project_description_P4SGL.doc
>
> That is the document I got from supermicro.. it has the io ports / registers
> they're using and also watchdog example in assembly.
>
> It seems that they're using 0x2E..
>

I asked for confirmation about the watchdog-chip from supermicro support, and
they replied: "The P8SCi is using Winbond W83627THF chip for watchdog.".

They also sent the docs of the winbond watchdog (different doc this time ;):

http://nrg.joroinen.fi/W83627THF0.90.pdf

Hopefully that helps somebody..

-- Pasi K?rkk?inen

^
. .
Linux
/ - \
Choice.of.the
.Next.Generation.