BREAK TO DDB over SSH (Was: Re: panic: sleeping thread)

Marc G. Fournier scrappy at hub.org
Tue Dec 12 15:18:50 PST 2006


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



- --On Tuesday, December 12, 2006 23:40:36 +0100 Max Laier <max at love2party.net> 
wrote:

> On Tuesday 12 December 2006 22:59, Marc G. Fournier wrote:
>> --On Tuesday, December 12, 2006 17:49:33 -0400 "Marc G. Fournier"
>>
>> <scrappy at hub.org> wrote:
>> > -----BEGIN PGP SIGNED MESSAGE-----
>> > Hash: SHA1
>> >
>> >
>> >
>> > - --On Tuesday, December 12, 2006 17:40:48 -0400 "Marc G. Fournier"
>> >
>> > <scrappy at hub.org> wrote:
>> >> I'll try the -e none the next time it crashes, unless someone else
>> >> has another  idea for doing it?  Actually, I'll try the -e none
>> >> after its up again, instead  of waiting ...
>> >
>> > Nope, now it just echos back the ~B as if I was typing regular
>> > characters ... i  hate to do it, but am turning off ssh and going to
>> > telnet until I can get a  core dump ...
>>
>> 'k, I must have screwed something up altogether then ... I can't break
>> into DDB using 'send break' through a telnet session ...
>>
>> I have:
>>
>> ___options         KDB
>> ___options         DDB
>> ___options         KDB_UNATTENDED
>> ___options         BREAK_TO_DEBUGGER
>>
>> In my kernel ... is there something else I'm missing?  Its the same
>> settings I have on my other box that I *can* do this with ...
>>
>> The only difference is that this is an HP Proliant box, and I'm using
>> REMCONS through iLO to connect to the console ...
>
> sysctl debug.kdb.enter=1

You mentioned this once already, but don't I need to be able to type at a 
command prompt?  In my case, the server has crashed, but not rebooted or drop'd 
into DDB ... I need to somehow send a 'break' to drop it into DDB ...


- ----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email . scrappy at hub.org                              MSN . scrappy at hub.org
Yahoo . yscrappy               Skype: hub.org        ICQ . 7615664
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFfzOe4QvfyHIvDvMRAiBVAJ4gvadfhK2SQuZRGr04DHCqOFRklgCcDuLN
bvO52s7O4l+ngHqybfgLsHQ=
=0GC6
-----END PGP SIGNATURE-----



More information about the freebsd-stable mailing list