Swapfile problem in 6?

Kris Kennaway kris at obsecurity.org
Tue Nov 15 19:35:42 PST 2005


On Tue, Nov 15, 2005 at 07:18:35PM -0800, David Wolfskill wrote:
> On Tue, Nov 15, 2005 at 06:09:33PM -0800, Rob wrote:
> > ...
> 
> > > Yes.  See above URL.  The advantage is that you can
> > > (hopefully) capture a log of your debug session.
> > > Send a serial BREAK and you should get a DDB>
> > > prompt.
> > 
> > What is this "serial BREAK"?
> > How do I "send a serial BREAK" at the serial
> > console? Is this some magic key combination?
> 
> I'm probably saying something about my age by doing this....  :-}
> 
> A "BREAK" (in serial communications) is an absence of start or stop
> bits for more than a character's worth of bits, is handled as a
> "framing error," and is distinct from any character.

If your serial program has trouble sending a break, you can use the
ALT_BREAK_TO_DEBUGGER config option which instead listens for a
sequence of ascii input:

#define KEY_CR          13      /* CR '\r' */
#define KEY_TILDE       126     /* ~ */
#define KEY_CRTLB       2       /* ^B */

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20051115/5e27ec14/attachment.bin


More information about the freebsd-stable mailing list