From owner-cvs-src@FreeBSD.ORG Wed Sep 29 08:31:56 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 DEA2716A4CE; Wed, 29 Sep 2004 08:31:56 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40FA643D2D; Wed, 29 Sep 2004 08:31:56 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id i8T8VneZ020288; Wed, 29 Sep 2004 10:31:49 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: John Birrell From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 29 Sep 2004 18:26:38 +1000." <20040929082638.GA901@freebsd3.cimlogic.com.au> Date: Wed, 29 Sep 2004 10:31:49 +0200 Message-ID: <20287.1096446709@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: "M. Warner Losh" 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 08:31:57 -0000 Ok, that clearly looks like your DRIVECHANGE line is not working (for us). Either we don't read register 3f7 where it should be, or it just plainly doesn't work. I'm headed out the door right now, I'll try to think about this during the day. Poul-Henning In message <20040929082638.GA901@freebsd3.cimlogic.com.au>, John Birrell writes: >On Wed, Sep 29, 2004 at 09:59:39AM +0200, Poul-Henning Kamp wrote: >> (empty drive) >> dd if=/dev/fd0 count=1 of=/dev/null > >[freebsd3(FreeBSD):jb] dd if=/dev/fd0 count=1 of=/dev/null >dd: /dev/fd0: Input/output error >0+0 records in >0+0 records out >0 bytes transferred in 20.199995 secs (0 bytes/sec) > >> (insert floppy) >> dd if=/dev/fd0 count=1 of=/dev/null > >[freebsd3(FreeBSD):jb] dd if=/dev/fd0 count=1 of=/dev/null >dd: /dev/fd0: Input/output error >0+0 records in >0+0 records out >0 bytes transferred in 4.058299 secs (0 bytes/sec) > >> (remove floppy) >> dd if=/dev/fd0 count=1 of=/dev/null > >[freebsd3(FreeBSD):jb] dd if=/dev/fd0 count=1 of=/dev/null >dd: /dev/fd0: Input/output error >0+0 records in >0+0 records out >0 bytes transferred in 20.079999 secs (0 bytes/sec) > >> (insert floppy) >> dd if=/dev/fd0 count=1 of=/dev/null > >[freebsd3(FreeBSD):jb] dd if=/dev/fd0 count=1 of=/dev/null >dd: /dev/fd0: Input/output error >0+0 records in >0+0 records out >0 bytes transferred in 1.958785 secs (0 bytes/sec) > >> (remove floppy) >> (insert floppy) >> dd if=/dev/fd0 count=1 of=/dev/null > >[freebsd3(FreeBSD):jb] dd if=/dev/fd0 count=1 of=/dev/null >dd: /dev/fd0: Input/output error >0+0 records in >0+0 records out >0 bytes transferred in 1.960621 secs (0 bytes/sec) > > >With debug.fdc.debugflags=0x40 (compiled in), there wasn't any device specific >debug output. With the floppy disk in, there was the "diiiiiiscup' sound as >the head was driven to a position. > >-- >John Birrell > -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.