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

John Baldwin jhb at freebsd.org
Tue Dec 12 15:11:27 PST 2006


On Tuesday 12 December 2006 16: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 ...

KDB_UNATTENDED should make it do a coredump and not bother with dropping into 
ddb when it panics.

-- 
John Baldwin


More information about the freebsd-stable mailing list