lkml.org 
[lkml]   [1998]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectHow 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

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.158 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site