Messages in this thread | | | Date | Mon, 3 Aug 1998 21:34:16 -0400 (EDT) | From | bytor@tucka ... | Subject | How to crash the linux console (framebuffer, that is) |
| |
I haven't tested this with many different console configs, as I don't enjoy fscking my disks and I dont have a ramdisk handy to do it with :)...
Anyway, here is how to crash it with 100% success on (my) system:
Using the complicated source code from the vanilla "Hello, world!" program, we demonstrate:
#include <stdio.h> int main() { for (;;) printf("Hello, world!\n"); }
Compile this, and run it. While it is running, see what happens if you hold down the return key for a few seconds. On my system, it is a nice hard lock followed by a cold reboot.
-- +----------------------+----------------------------------------+ | bytor@tucka.nmhu.edu | UNIX _is_ user-friendly. It's just not | | By-Tor@EfNet | ignorant-friendly and idiot-friendly. | +----------------------+----------------------------------------+
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html
| |