Aktivace programu
Milan Kerslager
milan.kerslager na spsselib.hiedu.cz
Pondělí Listopad 30 21:12:29 CET 1998
[...]
> >ke zmene, a pokud ano, neco se provede. Tohle ale (pokud vim) pod
> >Linuxem nenajdete.
>
> Character devices ---->
> [*] Watchdog Timer Support
Tak tohle je na detekci, jestli nemate nahodou tuhy system a nasledne pak
jadro provede autoreboot. SW reseni je "polovicate - samozrejme", ale
existuji i HW karty, ktere uz jsou lepsi. Spravce pak nemusi litat k PC,
kdyz neco natvrdo klekne. Funguje to tak, ze se periodicky otvira soubor a
pokousi se do nej neco zapisovat. Pokud se to nepovede vic, jak 1 minutu,
nasleduje reboot. Nasledujici text je z linux/Documentation/Configure.help:
PS: na normalnim HW to neni v soucasne dobe potreba, ale napriklad kdyz
jsem Linux chtel rozbehnout na EISA boardu, tak to chcipalo i 10x
denne na "Unknown interrupt".
Watchdog Timer Support
CONFIG_WATCHDOG
If you enable this option and create a character special file
/dev/watchdog with major number 10 and minor number 130 using mknod ("man
mknod"), you will get a watchdog, i.e.: subsequently opening the file and
failing to write to it for longer than 1 minute will result in rebooting
the machine. This could be useful for a networked machine that needs to
come back online as fast as possible after a lock-up. There's a watchdog
implementation entirely in software (which can sometimes fail to reboot
the machine) and a driver for hardware watchdog boards, which are more
robust and can also keep track of the temperature inside your computer.
For details, read Documentation/watchdog.txt in the kernel source. If
unsure, say N. This driver is also available as a module ( = code which
can be inserted in and removed from the running kernel whenever you want).
If you want to compile it as a module, say M here and read
Documentation/modules.txt.
--
Milan Kerslager, admin of spsselib.hiedu.cz
Monkey Linux, The Minimal Linux Distribution
See: http://www.spsselib.hiedu.cz/monkey/
E-mail: milan.kerslager na spsselib.hiedu.cz
Další informace o konferenci Linux