hardware-watchdog driver problems in linux 2.6.10-xen0
Hi!
I'm trying to run w83627hf_wdt.ko watchdog driver in domain 0 (xenlinux 2.6.10-xen0), but the driver doesn't seem to work (the machine reboots all the time after the watchdog-timeout set in BIOS).
Is there something that could prevent the driver from accessing the watchdog-hardware (io-ports/registers) ?
The watchdog-driver is very simple, and you can find it in linux-2.6.10/drivers/char/watchdog/w83627hf_wdt.c
I also tried to run userspace program to check the status of the watchdog.. it simply returns zeroes all the time, meaning communication failure with the watchdog.. could this be related to xen?
The userspace test application is available from:
http://nrg.joroinen.fi/dumpdog.c . It's written by Pádraig Brady ([email protected]).
Any help would be appreciated!
-- Pasi Kärkkäinen
^
. .
Linux
/ - \
Choice.of.the
.Next.Generation.-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
Hrrrrmm. I don't see anything obvious in either the driver or the userspace program that could cause a trip up here...
Quoted 3 lines
I'm trying to run w83627hf_wdt.ko watchdog driver in domain 0 (xenlinux 2.6.10-xen0), but the driver doesn't seem to work (the machine reboots all the time after the watchdog-timeout set in BIOS).
Can you check the user space watchdog daemon is running? (as root)
Quoted 2 lines
Is there something that could prevent the driver from accessing the watchdog-hardware (io-ports/registers) ?
Not in dom0, although this would be the case in other domains.
Quoted 3 lines
I also tried to run userspace program to check the status of the watchdog.. it simply returns zeroes all the time, meaning communication failure with the watchdog.. could this be related to xen?
You did run this with root privileges, right?
Cheers,
Mark
Quoted 16 lines
The userspace test application is available from:
http://nrg.joroinen.fi/dumpdog.c . It's written by Pádraig Brady ([email protected]).Any help would be appreciated!
-- Pasi Kärkkäinen
^ . . Linux / - \ Choice.of.the .Next.Generation.
Quoted 9 lines
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=Click
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
Quoted 3 lines · Mark A. Williamson
Hrrrrmm. I don't see anything obvious in either the driver or the userspace program that could cause a trip up here...
OK. That's what I think too..
Quoted 6 lines
Quoted 3 lines
I'm trying to run w83627hf_wdt.ko watchdog driver in domain 0 (xenlinux 2.6.10-xen0), but the driver doesn't seem to work (the machine reboots all the time after the watchdog-timeout set in BIOS).
Can you check the user space watchdog daemon is running? (as root)
User space watchdog daemon? The w83627hf_wdt.ko doesn't need userspace daemon, because the watchdog is in the hardware and the w83627hf_wdt.ko driver controls it.
Quoted 5 lines
Quoted 2 lines
Is there something that could prevent the driver from accessing the watchdog-hardware (io-ports/registers) ?
Not in dom0, although this would be the case in other domains.
Yep..
Quoted 6 lines
Quoted 3 lines
I also tried to run userspace program to check the status of the watchdog.. it simply returns zeroes all the time, meaning communication failure with the watchdog.. could this be related to xen?
You did run this with root privileges, right?
Yep, I was running it with root privileges.
Meanwhile I tested the drivers under native Linux without xen, and it didn't work either.. so this might have nothing to with xen. The first impression was it is xen related because the watchdog should work with that driver (according to motherboard vendor's support).
I'll double check/test everything.
-- Pasi Kärkkäinen
^
. .
Linux
/ - \
Choice.of.the
.Next.Generation.-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
Quoted 5 lines
Quoted 1 line
Can you check the user space watchdog daemon is running? (as root)
User space watchdog daemon? The w83627hf_wdt.ko doesn't need userspace daemon, because the watchdog is in the hardware and the w83627hf_wdt.ko driver controls it.
You need a userspace daemon to enable the driver and periodically tell it things are still OK. It talks to the driver through /dev/watchdog.
Quoted 3 lines
Quoted 1 line
You did run this with root privileges, right?
Yep, I was running it with root privileges.
Strange. It looks like it should work...
Quoted 3 lines
The first
impression was it is xen related because the watchdog should work with that driver (according to motherboard vendor's support).
Well it looks like that driver should work fine if the motherboard documentation is correct. Have you looked online to double-check the documentation specifies the correct type of watchdog?
Quoted 1 line
I'll double check/test everything.
Cheers,
Mark
Quoted 8 lines
-- Pasi Kärkkäinen
^ . . Linux / - \ Choice.of.the .Next.Generation.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click