From owner-cvs-src@FreeBSD.ORG Fri Jun 8 00:54:44 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E2A0016A468; Fri, 8 Jun 2007 00:54:44 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id D458B13C483; Fri, 8 Jun 2007 00:54:44 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l580si5I033615; Fri, 8 Jun 2007 00:54:44 GMT (envelope-from simokawa@repoman.freebsd.org) Received: (from simokawa@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l580si6G033613; Fri, 8 Jun 2007 00:54:44 GMT (envelope-from simokawa) Message-Id: <200706080054.l580si6G033613@repoman.freebsd.org> From: Hidetoshi Shimokawa Date: Fri, 8 Jun 2007 00:54:44 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/dcons dcons_crom.c dcons_os.c dcons_os.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2007 00:54:45 -0000 simokawa 2007-06-08 00:54:44 UTC FreeBSD src repository Modified files: sys/dev/dcons dcons_crom.c dcons_os.c dcons_os.h Log: Poll bus resets on FireWire while kdb/gdb is active. Now, it's safe to call the fwohci interrupt(polling) routine while ddb/gdb is active. After this change, a dcons connnection over FireWire can survive bus resets even in kernel debugger. This means that it is not too late to plug a FireWire cable after a panic to investigate the problem. Actually there is a small window(between a jump to kernel from loader and initialization of dcons_crom) in which no one can take care of a bus reset. Except that window, firewire console should keep working from loader to reboot even with a panic and a bus reset. (as far as you enable LOADER_FIREWIRE_SUPPORT) Revision Changes Path 1.8 +14 -0 src/sys/dev/dcons/dcons_crom.c 1.15 +1 -0 src/sys/dev/dcons/dcons_os.c 1.3 +4 -0 src/sys/dev/dcons/dcons_os.h