From owner-freebsd-bugs@FreeBSD.ORG Fri Apr 15 04:10:25 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B479F16A4D0 for ; Fri, 15 Apr 2005 04:10:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EF9743D54 for ; Fri, 15 Apr 2005 04:10:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3F4APBU090878 for ; Fri, 15 Apr 2005 04:10:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3F4APW5090877; Fri, 15 Apr 2005 04:10:25 GMT (envelope-from gnats) Resent-Date: Fri, 15 Apr 2005 04:10:25 GMT Resent-Message-Id: <200504150410.j3F4APW5090877@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "bkoenig@cs.tu-berlin.de" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9828D16A4CE for ; Fri, 15 Apr 2005 04:06:11 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7900543D41 for ; Fri, 15 Apr 2005 04:06:11 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j3F46BOJ076613 for ; Fri, 15 Apr 2005 04:06:11 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j3F46Bgf076612; Fri, 15 Apr 2005 04:06:11 GMT (envelope-from nobody) Message-Id: <200504150406.j3F46Bgf076612@www.freebsd.org> Date: Fri, 15 Apr 2005 04:06:11 GMT From: "bkoenig@cs.tu-berlin.de" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/79944: virtual floppy controller of Virtual PC does not work X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2005 04:10:25 -0000 >Number: 79944 >Category: kern >Synopsis: virtual floppy controller of Virtual PC does not work >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 15 04:10:24 GMT 2005 >Closed-Date: >Last-Modified: >Originator: bkoenig@cs.tu-berlin.de >Release: >Organization: >Environment: affects all kernels since Sat Sep 18 04:57:55 2004 UTC (phk's new floppy driver) >Description: The virtual floppy disk controller of Microsoft Virtual PC 2004 does not work. This is not a FreeBSD bug, because the virtual controller simply does not react on attempted resets. Therefore it might be a bug of Virtual PC 2004. >How-To-Repeat: Run FreeBSD 5.3-RELEASE or later with Virtual PC and try to use a floppy disk image as usual. /dev/fd0 is missing. dmesg.boot shows failure with fdc. >Fix: This is not intended as a fix but rather as a hint for users who just want a working fdc. There is an assertion in fdc_initial_reset in src/sys/dev/fdc/fdc.c which is true: /* * Assert a reset to the floppy controller and check that the status * register goes to zero. */ fdout_wr(fdc, 0); fdout_wr(fdc, 0); if (fdsts_rd(fdc) != 0) return (ENXIO); Remove the last two of these lines and build and install a new kernel. >Release-Note: >Audit-Trail: >Unformatted: