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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]