From owner-cvs-src@FreeBSD.ORG Mon Sep 20 02:15:10 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 2BA2816A4CE; Mon, 20 Sep 2004 02:15:10 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D93743D2F; Mon, 20 Sep 2004 02:15:09 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (harmony.village.org [10.0.0.6]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id i8K2CDVf053003; Sun, 19 Sep 2004 20:12:13 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 19 Sep 2004 20:13:11 -0600 (MDT) Message-Id: <20040919.201311.90121088.imp@bsdimp.com> To: das@freebsd.org From: "M. Warner Losh" In-Reply-To: <20040920005727.GA3513@VARK.MIT.EDU> References: <20040919051748.GA606@VARK.MIT.EDU> <414DF32F.3000707@root.org> <20040920005727.GA3513@VARK.MIT.EDU> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org cc: nate@root.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 02:15:10 -0000 In message: <20040920005727.GA3513@VARK.MIT.EDU> David Schultz writes: : 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. Actually, it only does for the even weirder resource stuff that you have. Warner