mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ryan Clayburn <ryan.clayburn@dsto.defence.gov.au>
To: linux-kernel@vger.kernel.org
Subject: Re: Advantech Watchdog timer query
Date: 04 Nov 2005 16:01:47 +1030	[thread overview]
Message-ID: <1131082306.2025.10.camel@localhost.localdomain> (raw)

>Hi Everyone,

>I work for a government agency so please forgive me for not having the
>latest version of the kernel. My question concerns an Advantech card
>PCI 6870 Single Board Computer and its watchdog timer. I am running
>Redhat 9 linux 2.4.20-8 and it comes with module that supports the
>hardware advantechwdt.o. I have been able install and communicate with
>the card.Get and set the timeout or margin and get the support
>information of the card. Everything seems to work except when i
>deliberately delay the ping to the card to let it reboot the system as
>a watchdog should it does not reboot. Is there something i am missing.
>Do i need a update to the driver? I am attaching the code. It is fairly
>simple and a lot of it is just reading and writing information read
>from the driver about the card. I would appreciate any help.

>>Be careful that you're using the correct driver.
>>Certain newer advantech systems use the w83627hf
>>chip, which is not supported in 2.4 by default.
>>Backporting the driver from 2.6 should be trivial.

>>Pádraig.

I have backported the driver as suggested from 2.6 to 2.4 but that
didn't help. I then got a fedora core 3 installation on a separate hard
drive with kernel 2.6.9-1.667. the one thing that i found that is
peculiar and looks like a bug is that the /usr/include/watchdog.h is not
the same as the watchdog.h in the src directory. In any case even after
copying the the header file across i was unable to get the watchdog to
reset the OS. Is there something i am not doing?

Cheers

Ryan



             reply	other threads:[~2005-11-04  5:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-04  5:31 Ryan Clayburn [this message]
2005-11-04 10:03 ` Pádraig Brady
  -- strict thread matches above, loose matches on Subject: below --
2005-10-21  7:42 Ryan Clayburn
2005-10-21  9:22 ` Alan Cox
2005-10-21  9:41 ` P

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1131082306.2025.10.camel@localhost.localdomain \
    --to=ryan.clayburn@dsto.defence.gov.au \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome