-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 26.05.14 12:34, Stuart Henderson wrote:
> On 2014/05/26 09:46, Peter Haag wrote:
>> Is there a way to patch the kernel at tcp_input to automatically generate a 
>> core, if it crases?
> 
> If sysctl net.inet.ddb.panic is set to 0, the os will attempt to produce a

the command reports:
sysctl: third level name ddb in net.inet.ddb.panic is invalid

> crash dump automatically when it panics. It would help if this is done from a 
> kernel that you have a matching debug
> kernel for ('makeoptions DEBUG="-g"' in kernel config; install bsd, then use 
> bsd.gdb and the matching source code 
> if the dump succeeds; don't boot bsd.gdb directly).
> 

Ok - I will create a .gdb kernel for the running one.

        - Peter
Comment: GPGTools - http://gpgtools.org

iD8DBQFTgx4eZFR7Ae3oDfYRAl+5AJ9SWYKbHvulPqEC+/YY2ze0u95+zACfU3Hj
uRrreaInCKYWfXOge3xIsIw=
=qVIe
-----END PGP SIGNATURE-----

Reply via email to