From owner-freebsd-current@FreeBSD.ORG Fri Jul 23 06:16:16 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F8BB16A4CE for ; Fri, 23 Jul 2004 06:16:16 +0000 (GMT) Received: from mail2.speakeasy.net (mail2.speakeasy.net [216.254.0.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04D5343D58 for ; Fri, 23 Jul 2004 06:16:16 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 30308 invoked from network); 23 Jul 2004 06:16:15 -0000 Received: from gate.funkthat.com (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail2.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 23 Jul 2004 06:16:15 -0000 Received: from hydrogen.funkthat.com (kvenmb@localhost.funkthat.com [127.0.0.1])i6N6GEuU010705; Thu, 22 Jul 2004 23:16:14 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id i6N6GDkl010704; Thu, 22 Jul 2004 23:16:13 -0700 (PDT) Date: Thu, 22 Jul 2004 23:16:13 -0700 From: John-Mark Gurney To: Doug Rabson Message-ID: <20040723061613.GH991@funkthat.com> Mail-Followup-To: Doug Rabson , Andrew Gallatin , simokawa@freebsd.org, freebsd-current@freebsd.org References: <16634.47272.768935.436137@grasshopper.cs.duke.edu> <200407182039.10773.dfr@nlsystems.com> <16634.54674.966908.540880@grasshopper.cs.duke.edu> <200407182104.53221.dfr@nlsystems.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200407182104.53221.dfr@nlsystems.com> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: simokawa@freebsd.org cc: freebsd-current@freebsd.org cc: Andrew Gallatin Subject: Re: Excellent job on the firewire support! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jul 2004 06:16:16 -0000 Doug Rabson wrote this message on Sun, Jul 18, 2004 at 21:04 +0100: > > 4) Does the loader know about dcons? Eg, can I do "unload boot > > kernel.test" using dcons? > > Actually thats the only downside of dcons. It doesn't cut in until the > firewire controller attaches. It relies on the fact that the fwohci > driver allows access to physical memory from any node on the bus > (implemeted in hardware so you can examine the memory of a hung > machine). The dconschat program uses this feature to access the dcons > ring buffers in the target machine. > > I could imagine a dcons driver in the loader which just enabled physical > access and used some kind of loader trick to hand off the ring buffers > to the kernel dcons driver. It doesn't exist though - say nice things > to the author and he might find the time for it :-) You guys might want to check out nextboot.. it's very nice utility that I've been using in my recent kernel debugging... should do what you need to do w/o loader knowing about dcons... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."