Messages in this thread | | | Date | Tue, 4 Jul 2006 11:43:51 +0300 | From | "Raz Ben-Jehuda(caro)" <> | Subject | netconsole |
| |
Matt hello I am testing netconsole. What i did is to create a panic driver. It is written bellow. Why I am not getting the panic output to netcat ?
thank you raz
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
#include <linux/module.h> #include <linux/fs.h> #include <linux/kernel.h> #include <linux/init.h>
static void do_panic_cleanup(void){}
static int do_panic_init(void){ panic("raz"); return -1; } module_init(do_panic_init); module_exit(do_panic_cleanup);
MODULE_DESCRIPTION("do panic"); MODULE_AUTHOR("raz ben yehuda"); MODULE_LICENSE("GPL");
-- Raz - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |