From: "Dan Noé" <dpn@isomerica.net>
To: Udo van den Heuvel <udovdh@xs4all.nl>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: question about circular locking dependency
Date: Fri, 02 May 2008 09:16:49 -0400 [thread overview]
Message-ID: <481B1441.1040500@isomerica.net> (raw)
In-Reply-To: <481B05C9.9060103@xs4all.nl>
Udo van den Heuvel wrote:
> I assume a serial console is the only way to capture the error messages
> of this circular locking dependency.
> Or are there alternatice methods?
You can try netconsole: see Documentation/networking/netconsole.txt for
details on how to set it up. It may not always work. Obviously a
failure in the networking code may not be reported correctly. But it
will try its best.
I just use netcat on a separate system to listen on a specific port and
redirect to a file:
netcat -lu -p 6666 > logfile
This tells netcat to listen, UDP, port 6666.
Then, on the test system, I load the netconsole module with option:
netconsole=@/,@192.168.4.60/00:17:31:98:77:2f
on boot. After this point every kernel message is logged to the logfile
via netcat. You can also build netconsole in and specify the options on
the boot command line. But if you do this obviously you need to build
in your network card driver, as well :)
Hope that helps.
Cheers,
Dan
--
/--------------- - - - - - -
| Dan Noé
| http://isomerica.net/~dpn/
prev parent reply other threads:[~2008-05-02 13:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-02 12:15 Udo van den Heuvel
2008-05-02 13:16 ` Dan Noé [this message]
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=481B1441.1040500@isomerica.net \
--to=dpn@isomerica.net \
--cc=linux-kernel@vger.kernel.org \
--cc=udovdh@xs4all.nl \
/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®