From nobody@FreeBSD.org  Sat Jan  7 20:02:34 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B63BE16A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  7 Jan 2006 20:02:34 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2ABA043D6D
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  7 Jan 2006 20:02:33 +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 k07K2WBX042933
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 7 Jan 2006 20:02:32 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k07K2Wqn042932;
	Sat, 7 Jan 2006 20:02:32 GMT
	(envelope-from nobody)
Message-Id: <200601072002.k07K2Wqn042932@www.freebsd.org>
Date: Sat, 7 Jan 2006 20:02:32 GMT
From: Dimitri <dr@integritasystems.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: floppy drive doesn't work in MS Virtual Server 2005 R2
X-Send-Pr-Version: www-2.3

>Number:         91476
>Category:       kern
>Synopsis:       [fdc] [patch] floppy drive doesn't work in MS Virtual Server 2005 R2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gavin
>State:          feedback
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 07 20:10:05 GMT 2006
>Closed-Date:    
>Last-Modified:  Sat Jan 26 19:15:38 UTC 2008
>Originator:     Dimitri
>Release:        6
>Organization:
Integrita Systems LLC
>Environment:
FreeBSD BSD6.lv.cox.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005    root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
During bootup, the following messages appear:

fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: does not respond
device_attach: fdc0 attach returned 6

It is not possible to mount or use the floppy after the system is booted. This problem does NOT exist in FreeBSD 4.11.
>How-To-Repeat:
1. Install MS Virtual Server 2005 R2 on a machine.
2. Create a new Virtual Machine, and accept the defaults for the configuration. 
3. Install FreeBSD in the virtual machine. Accept the defaults during install.
4. Once the system boots, the messages will appear during boot time, and the floppy will not be mountable or otherwise accessible.
>Fix:
Solution not known exactly, other than to say that FreeBSD 4.11 does not exhibit this behavior when running on MS Virtual Server 2005 R2.
>Release-Note:
>Audit-Trail:

From: =?ISO-8859-15?Q?Bj=F6rn_K=F6nig?= <bkoenig@cs.tu-berlin.de>
To: bug-followup@FreeBSD.org,  dr@integritasystems.com
Cc:  
Subject: Re: i386/91476: floppy drive doesn't work in MS Virtual Server 2005
 R2
Date: Sun, 08 Jan 2006 07:08:59 +0100

 This is probably the same issue as already described in problem report 
 kern/79944. Apply the patch below and compile and install a new kernel.
 
 Regards Bjrn
 
 
 # cd /usr/src
 # patch -p1 -i fdc.c-2005010801.diff
 # make buildkernel
 # make installkernel
 # reboot
 
 --- fdc.c-2005010801.diff begins here ---
 --- src/sys/dev/fdc/fdc.c.orig	Sun Jan  8 06:55:49 2006
 +++ src/sys/dev/fdc/fdc.c	Sun Jan  8 06:56:12 2006
 @@ -1621,8 +1621,6 @@
   	 */
   	fdout_wr(fdc, 0);
   	fdout_wr(fdc, 0);
 -	if (fdsts_rd(fdc) != 0)
 -		return (ENXIO);
 
   	/*
   	 * Clear the reset and see it come ready.
 --- fdc.c-2005010801.diff ends here ---
Responsible-Changed-From-To: freebsd-i386->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Feb 21 21:46:28 UTC 2006 
Responsible-Changed-Why:  
This does not sound i386-specific. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=91476 
State-Changed-From-To: open->feedback 
State-Changed-By: gavin 
State-Changed-When: Sat Jan 26 19:10:39 UTC 2008 
State-Changed-Why:  
To submitter: Are you able to confirm if the patch in the PR audit trail 
fixes the problem you are seeing?  If so,I'll mark one as a duplicate of 
the other. 


Responsible-Changed-From-To: freebsd-bugs->gavin 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Sat Jan 26 19:10:39 UTC 2008 
Responsible-Changed-Why:  
Take 

http://www.freebsd.org/cgi/query-pr.cgi?pr=91476 
>Unformatted:
