Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2005 22:35:39 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        David Wolfskill <david@bunrab.catwhisker.org>, stable@freebsd.org
Subject:   Re: Swapfile problem in 6?
Message-ID:  <20051116033539.GA57529@xor.obsecurity.org>
In-Reply-To: <20051116031835.GS69015@bunrab.catwhisker.org>
References:  <20051115103821.GJ39882@cirb503493.alcatel.com.au> <20051116020933.72951.qmail@web36209.mail.mud.yahoo.com> <20051116031835.GS69015@bunrab.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--mP3DRpeJDSE+ciuQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
> > ...
>=20
> > > 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.
> >=20
> > What is this "serial BREAK"?
> > How do I "send a serial BREAK" at the serial
> > console? Is this some magic key combination?
>=20
> I'm probably saying something about my age by doing this....  :-}
>=20
> 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
--mP3DRpeJDSE+ciuQ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDeqkLWry0BWjoQKURAnViAKCBO/I8s4Fc0AlndNx4x0nt8kOR3QCg/lb1
KOT9/0enDkHtgGW4xXyj8KA=
=exN4
-----END PGP SIGNATURE-----

--mP3DRpeJDSE+ciuQ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051116033539.GA57529>