From owner-freebsd-stable@FreeBSD.ORG Sun Jul 2 16:10:15 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 9359616A407 for ; Sun, 2 Jul 2006 16:10:15 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA1A643D46 for ; Sun, 2 Jul 2006 16:10:14 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id F26D046BB7; Sun, 2 Jul 2006 12:10:13 -0400 (EDT) Date: Sun, 2 Jul 2006 17:10:13 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Fabian Keil In-Reply-To: <20060702173338.00a5ed44@localhost> Message-ID: <20060702170843.C67344@fledge.watson.org> References: <20060627175853.765a590e@localhost> <20060628101729.J50845@fledge.watson.org> <20060702173338.00a5ed44@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Peter Thoenen , freebsd-stable@freebsd.org Subject: Re: FreeBSD 6.1 Tor issues (Once More, with Feeling) 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: Sun, 02 Jul 2006 16:10:15 -0000 On Sun, 2 Jul 2006, Fabian Keil wrote: >> I'm very interested in tracking down this problem, but have had a lot of >> trouble getting reliable reports of problems -- i.e., ones where I could >> get any debugging information. I had a similar conversation on these lines >> yeterday with Roger (Tor author) here at the WEIS conference. If this is >> easily reproduceable, I would like you to do the following: > >> - Does the hang occur? If so, use a serial break to get into DDB, see the >> above. > > I previously had the serial console misconfigured and I'm still not sure if > the settings are correct now. > > So far I put "BOOT_COMCONSOLE_SPEED=57600" in /etc/make.conf, "options > CONSPEED=57600" in the kernel and "console=comconsole" in /boot/loader.conf. > Kernel and bootblock were recompiled and reinstalled. /boot.config contains > the line: "-D -h -S57600" (speed setting through make.conf didn't work). I don't use alternative console speeds, so can't comment on the specifics of the above, but the output below looks right. > The boot process now starts with: > > PXELINUX 3.11 2005-09-02 Copyright (C) 1994-2005 H. Peter Anvin > Booting from local disk... > > 1 Linux > 2 FreeBSD > 3 FreeBSD > > Default: 2 > > /boot.config: -DConsoles: internal video/keyboard serial port > BIOS drive C: is disk0 > BIOS 639kB/523200kB available memory > > FreeBSD/i386 bootstrap loader, Revision 1.1 > [...] > > After manually triggering a test panic through debug.kdb.enter I could enter > ddb and everything seemed to be working. > > However today I got another hang and couldn't enter the debugger by sending > BREAK. It is the same BREAK ssh sends with ~B, right? > > Even after rebooting, sending break didn't trigger a panic, so either I'm > sending the wrong BREAK, or my console settings are still messed up. Any > ideas? What serial software are you using to reach the console? Do you have options BREAK_TO_DEBUGGER compiled into your kernel? The delivery mechanism for the break will depend on the software you're using... Robert N M Watson Computer Laboratory University of Cambridge