From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 8 13:08:45 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B4D216A4CF for ; Tue, 8 Feb 2005 13:08:45 +0000 (GMT) Received: from gatekeeper.syskonnect.de (gatekeeper.syskonnect.de [213.144.13.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF0E843D1D for ; Tue, 8 Feb 2005 13:08:43 +0000 (GMT) (envelope-from gheinig@syskonnect.de) Received: from syskonnect.de (skd.de [10.9.15.1])j18D8t91025685; Tue, 8 Feb 2005 14:08:55 +0100 (MET) Received: from syskonnect.de (localhost [127.0.0.1]) by syskonnect.de (8.12.11/8.12.11) with ESMTP id j18D8eU9022931; Tue, 8 Feb 2005 14:08:41 +0100 (MET) Message-ID: <4208B9C2.6020007@syskonnect.de> Date: Tue, 08 Feb 2005 14:08:18 +0100 From: Gerald Heinig User-Agent: Mozilla Thunderbird 0.5 (X11/20040208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: hackers@freebsd.org References: <420731DD.3050206@syskonnect.de> <1107798981.6309.9.camel@palm.tree.com> <42088232.1030001@syskonnect.de> In-Reply-To: <42088232.1030001@syskonnect.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Stephan Uphoff Subject: Re: Firewire blues X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2005 13:08:45 -0000 Gerald Heinig wrote: >> >> >> I recall some issues with gdb and firewire as a module that may or may >> not be fixed. >> I recommend to put the dcons into the kernel to avoid any problems. > > > I tried that too. There are a few additional flags that can be set. Of > particular interest are DCONS_FORCE_CONSOLE and DCONS_FORCE_GDB. I > presume I should set FORCE_CONSOLE to 1 if I want a console over > firewire, am I right? > I'll take a look and see if there are any bugfixes for firewire. It turns out that you need to set DCONS_FORCE_CONSOLE to 1 if you want to have a remote console over firewire. I've got my link working with firewire now, but unfortunately I still can't get kgdb to connect. If I do the following on the debugging machine: kgdb -r /dev/fwmem0.0 kernel.debug I get: [general gdb stuff] Switching to remote protocol get_tty_state failed: Invalid argument set_tty_state failed: Invalid argument get_tty_state failed: Invalid argument set_tty_state failed: Invalid argument Couldn't establish connection to remote target Reply contains invalid hex digit 12 When doing this, the remote machine's kernel wqas compiled with devices dcons and dcons_crom and options DCONS_FORCE_GDB=1 Any ideas? Cheers, Gerald