On Tue, Dec 21, 2004 at 10:35:02AM -0800, Alaios wrote: > Hi i need a small module that will cause an oops > message and afterwards the kernel will crash..\ > any suggestion? Off the top of my head: ------------------ #include <linux/init.h> #include <linux/module.h> static int __init crash_start(void) { BUG(); return -EFAULT; } module_init(crash_start); MODULE_LICENSE("GPL"); -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/