From owner-cvs-src@FreeBSD.ORG Wed Sep 29 06:51:36 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 8AC5316A4CE; Wed, 29 Sep 2004 06:51:36 +0000 (GMT) Received: from freebsd3.cimlogic.com.au (adsl-20-121.swiftdsl.com.au [218.214.20.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D9AF43D31; Wed, 29 Sep 2004 06:51:36 +0000 (GMT) (envelope-from jb@cimlogic.com.au) Received: by freebsd3.cimlogic.com.au (Postfix, from userid 102) id 968176A9B9; Wed, 29 Sep 2004 16:51:34 +1000 (EST) Date: Wed, 29 Sep 2004 16:51:34 +1000 From: John Birrell To: "M. Warner Losh" Message-ID: <20040929065133.GA905@freebsd3.cimlogic.com.au> References: <20040929061750.GA910@freebsd3.cimlogic.com.au> <18087.1096439345@critter.freebsd.dk> <20040929.003829.78074248.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040929.003829.78074248.imp@bsdimp.com> User-Agent: Mutt/1.4.2.1i cc: cvs-src@FreeBSD.org cc: phk@phk.freebsd.dk cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: jb@cimlogic.com.au Subject: Re: cvs commit: src/sys/dev/fdc fdc_isa.c 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: Wed, 29 Sep 2004 06:51:36 -0000 On Wed, Sep 29, 2004 at 12:38:29AM -0600, M. Warner Losh wrote: > In message: <18087.1096439345@critter.freebsd.dk> > "Poul-Henning Kamp" writes: > : In message <20040929061750.GA910@freebsd3.cimlogic.com.au>, John Birrell writes: > : >On Wed, Sep 29, 2004 at 05:17:26AM +0000, Warner Losh wrote: > : >> imp 2004-09-29 05:17:26 UTC > : >> > : >> FreeBSD src repository > : >> > : >> Modified files: (Branch: RELENG_5) > : >> sys/dev/fdc fdc_isa.c > : >> Log: > : >> MFC: Merge case 8 into the resource allocation from 1.15: > : >> > : >> >>revision 1.15 > : >[ ... ] > : >> If you get floppy hangs on boot, please try after this patch and let > : >> me know if they are solved. > : > > : >This patch doesn't change things for me. The server doesn't hang > : >indefinitely, but in waits for about 2 minutes (as it did before the patch) > : >after writing: > : > > : >acd0: CDROM at ata1-master PIO3 > : > > : >to the screen. Then it carries on as though nothing had ever happened. > : >During the 2 minute delay, the floppy disk light is on, but I don't hear > : >the burrrp-buzzurrp[1] sound that the floopy disk usually makes when it > : >is probed without a disk in it. > : > : Can you try to set the debugflags in fdc.c to 255 and g_debugflags in geom/geom_kern.c > : to 7 and see if you can find out what's going on in those two minutes ? > > Can you also send me your dmesg line for fdc? Sep 29 16:11:32 freebsd3 kernel: fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 Sep 29 16:11:32 freebsd3 kernel: fdc0: [FAST] Sep 29 16:11:32 freebsd3 kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0 For phk: The debug settings show a loop: Retry line 1054 Too many retries 00 00 00 00 af 10 12 80 57 00 .... at first. This happens for at least the first 30 seconds. I'll need to setup a serial console to capture the output accurately because the output changes and some geom debug is output. There is too much for me to transcribe. Can you suggest a place where debug could be cancelled because the machine gets very frantic when it's booted? 8-) -- John Birrell