Sometimes kernel goes into an endless loop (by a mistake in a kernel of course). And I’m unable to somehow terminate it.
kill -9 of the hosting process fails, process remains (still the process is not zombie, it is marked as just running).
Have to reboot. Definitely unusable approach.
Driver: 180.60
Linux: Debian/lenny
Monitor is attached to another video card, so there is no CUDA timeout.
Is there any solution to terminate such process/kernel?
Odd, I usually have luck just pressint Ctrl-C. Sometimes it takes ~10 seconds to take effect, but it usually works. The only times a reboot has been necessary for me is with horribly buggy kernels that wrote all over device memory, probably messing up the driver.
Trying to unload the driver in such a case or doing other things can hang the entire pc, or at least the driver unloading, until the kernel terminates… be warned. At least, that’s my experience.