mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Raz Ben-Jehuda(caro)" <raziebe@gmail.com>
To: "Linux Kernel" <linux-kernel@vger.kernel.org>
Cc: mpm@selenic.com
Subject: netconsole
Date: Tue, 4 Jul 2006 11:43:51 +0300	[thread overview]
Message-ID: <5d96567b0607040143y3aa06c8cn1b6e591d1a3bdc31@mail.gmail.com> (raw)

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

             reply	other threads:[~2006-07-04  8:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-04  8:43 Raz Ben-Jehuda(caro) [this message]
2006-07-05 23:14 ` netconsole Randy.Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5d96567b0607040143y3aa06c8cn1b6e591d1a3bdc31@mail.gmail.com \
    --to=raziebe@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mpm@selenic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®