Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Apr 2005 04:06:11 GMT
From:      "bkoenig@cs.tu-berlin.de" <bkoenig@cs.tu-berlin.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/79944: virtual floppy controller of Virtual PC does not work
Message-ID:  <200504150406.j3F46Bgf076612@www.freebsd.org>
Resent-Message-ID: <200504150410.j3F4APW5090877@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504150406.j3F46Bgf076612>