4 ms·
What about hangs? I think you'd need a watchdog in order to have the process automated.
by d33 9y ago
What about hangs? I think you'd need a watchdog in order to have the process automated.
- dtx1 9y agoI'm sure there are ways to read out a CPU Hang and reset if that happens, if necessary via external hardware^(I'm guessing)^(I don't actually know)
- fooker 9y agoSure, just have the 'os' ping the external device in N second intervals. Without a ping, reset through a jumper.
- flopunctro 9y agoSome enterprise-grade server platforms already have this functionality, it's called a "watchdog". Linux supports this since (at least) 2.4. I've been using this with HP ProLiant servers and (for me, at least) it has always worked as intended. For more info, search "linux watchdog timer".
- qb45 9y agoI think they are common on Intel systems, my old laptop with ICH7-M chipset has one.
- wongarsu 9y agoIt would also be fairly simple to build for any computer using just an arduino or a raspberry pi. The computer could send a periodic signal over the serial port, if the arduino doesn't receive a signal for some time it shorts the mainboard's reset pin, causing a reboot.
- hamiltonkibbe 9y agoYou'd be hard pressed to find a processor without a WDT
- qubex 9y agoFirstly, the paper clearly explains that a userland (ring 3) process can easily discriminate between instructions that do not exist and instructions that the process lacks the credentials to execute simply because the two cases give rise to different exceptions (undefined and general protection, respectively). Secondly, one could trivially log "I am going to try this" to a file, go ahead and do it, and if the machine crashes you consult the log and read exactly what was about to be done and evidently caused a hang. You don't necessarily need to write a log entry after doing something, in this case you can deterministically log what you are about to do and make deductions therefrom.
- deleted 9y ago[deleted]