lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <481B1441.1040500@isomerica.net>
Date:	Fri, 02 May 2008 09:16:49 -0400
From:	Dan Noé <dpn@...merica.net>
To:	Udo van den Heuvel <udovdh@...all.nl>
CC:	LKML <linux-kernel@...r.kernel.org>
Subject: Re: 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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ