lkml.org 
[lkml]   [2008]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: question about circular locking dependency
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/
--
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/

\
 
 \ /
  Last update: 2008-05-02 15:19    [W:0.479 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site