From owner-freebsd-stable@FreeBSD.ORG Wed Jun 28 22:40:18 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48CDF16A412 for ; Wed, 28 Jun 2006 22:40:18 +0000 (UTC) (envelope-from thompsa@freebsd.org) Received: from grunt9.ihug.co.nz (grunt9.ihug.co.nz [203.109.254.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6495D43DB8 for ; Wed, 28 Jun 2006 22:40:16 +0000 (GMT) (envelope-from thompsa@freebsd.org) Received: from 203-109-251-39.static.bliink.ihug.co.nz (heff.fud.org.nz) [203.109.251.39] by grunt9.ihug.co.nz with esmtp (Exim 3.35 #1 (Debian)) id 1Fvihi-0000lt-00; Thu, 29 Jun 2006 10:40:14 +1200 Received: by heff.fud.org.nz (Postfix, from userid 1001) id B38EC1CC1F; Thu, 29 Jun 2006 10:40:13 +1200 (NZST) Date: Thu, 29 Jun 2006 10:40:13 +1200 From: Andrew Thompson To: User Freebsd Message-ID: <20060628224013.GA64197@heff.fud.org.nz> References: <20060628175839.F43909@ganymede.hub.org> <20060628232727.N78211@fledge.watson.org> <20060628193421.B43909@ganymede.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060628193421.B43909@ganymede.hub.org> User-Agent: Mutt/1.5.11 Cc: freebsd-stable@freebsd.org, Robert Watson Subject: Re: How to enter DDB through a terminal server / remote console ... ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jun 2006 22:40:18 -0000 On Wed, Jun 28, 2006 at 07:34:43PM -0300, User Freebsd wrote: > On Wed, 28 Jun 2006, Robert Watson wrote: > >On Wed, 28 Jun 2006, User Freebsd wrote: > > > >>'k, now that I'm up to 3 6-STABLE servers that are deadlocking, I'm > >>spending time with the remote tech today to get a serial console put > >>online ... how do I drop into DDB remotely, where the serial console is > >>going through a Portmaster Terminal server? issuing CTL-ALT-ESC, I > >>doubt, will work, will it? > > > >If configured to use a serial console (console="comconsole" in > >loader.conf), you can enter the debugger with BREAK_TO_DEBUGGER in the > >kernel config by sending a serial break. With my portmasters, I telnet to > >a TCP port to connect to the serial console, so I send a telnet break, > >using ^]send break. > > Have you ever had a problem with this warning: "(useful for remote > diagnostics, but also dangerous if you generate a spurious BREAK on the > serial port!)" in the handbook? You can use ALT_BREAK_TO_DEBUGGER which uses the CR ~ ^b sequence if you are worried about stray breaks. Andrew