From owner-cvs-src@FreeBSD.ORG Mon Sep 20 00:57:29 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 489A816A4CE; Mon, 20 Sep 2004 00:57:29 +0000 (GMT) Received: from VARK.MIT.EDU (VARK.MIT.EDU [18.95.3.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id EED9243D3F; Mon, 20 Sep 2004 00:57:28 +0000 (GMT) (envelope-from das@FreeBSD.ORG) Received: from VARK.MIT.EDU (localhost [127.0.0.1]) by VARK.MIT.EDU (8.13.1/8.12.10) with ESMTP id i8K0vS0G003561; Sun, 19 Sep 2004 20:57:28 -0400 (EDT) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.MIT.EDU (8.13.1/8.12.10/Submit) id i8K0vRZU003560; Sun, 19 Sep 2004 20:57:27 -0400 (EDT) (envelope-from das@FreeBSD.ORG) Date: Sun, 19 Sep 2004 20:57:27 -0400 From: David Schultz To: Nate Lawson Message-ID: <20040920005727.GA3513@VARK.MIT.EDU> Mail-Followup-To: Nate Lawson , Warner Losh , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200409140706.i8E76n5O006800@repoman.freebsd.org> <20040919051748.GA606@VARK.MIT.EDU> <414DF32F.3000707@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <414DF32F.3000707@root.org> cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: Warner Losh cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/dev/fdc fdc.c fdc_isa.c fdc_pccard.c fdcvar.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 20 Sep 2004 00:57:29 -0000 On Sun, Sep 19, 2004, Nate Lawson wrote: > David Schultz wrote: > >On Tue, Sep 14, 2004, Warner Losh wrote: > > > >>imp 2004-09-14 07:06:49 UTC > >> > >> FreeBSD src repository > >> > >> Modified files: > >> sys/dev/fdc fdc.c fdc_isa.c fdc_pccard.c fdcvar.h > >> Log: > >> Checkpoint the fdc resource changes: > >> > >> o Allow for up to 3 resource I/O ranges to be given for the floppy > >> controller, rather than just two that are allowed for now. > >> o Make sure that we can work with either a base address of 0x3f0 or > >> 0x3f2. > >> o Create new inline functions to access the YE DATA's unique BDCR > >> register. > >> o Update pccard attachment to add the fd device. > >> o Do some minor style(9) polishing. > > > > > >Hmm...this causes my system to hang immediately before the point > >where I would expect GEOM to report that it had tasted ad0. Any > >ideas what's going on? Below is the resulting kernel message > >buffer, truncated due to ata(4) verbosity. This is with > >bootverbose, geom.debugflags=7, and debug.fdc.debugflags=0xff. If > >you need any other information (e.g. ps output) please let me > >know and I'll try to dig up a serial cable. > > It's likely the geom probe of the floppy media. [...] Yep. With this commit, fdc gets confused about whether there's a disk in there or not, which causes it to deadlock against the g_event thread. I've been discussing this with phk and Warner, and I believe Warner is working on the problem. Thanks for the hints.