mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* netconsole
@ 2006-07-04  8:43 Raz Ben-Jehuda(caro)
  2006-07-05 23:14 ` netconsole Randy.Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Raz Ben-Jehuda(caro) @ 2006-07-04  8:43 UTC (permalink / raw)
  To: Linux Kernel; +Cc: mpm

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-05 23:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-04  8:43 netconsole Raz Ben-Jehuda(caro)
2006-07-05 23:14 ` netconsole Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®