From nobody@FreeBSD.org  Wed Oct 16 02:04:28 2002
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 05F7337B401
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Oct 2002 02:04:28 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B781B43EA3
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Oct 2002 02:04:27 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g9G94Q7R089998
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Oct 2002 02:04:26 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.6/8.12.6/Submit) id g9G94Q9D089997;
	Wed, 16 Oct 2002 02:04:26 -0700 (PDT)
Message-Id: <200210160904.g9G94Q9D089997@www.freebsd.org>
Date: Wed, 16 Oct 2002 02:04:26 -0700 (PDT)
From: Yasushi Tamura <tam@math.kobe-u.ac.jp>
To: freebsd-gnats-submit@FreeBSD.org
Subject: When doing umount ATA drive, "flushing cache on close failed" warning occur.
X-Send-Pr-Version: www-1.0

>Number:         44134
>Category:       kern
>Synopsis:       When doing umount ATA drive, "flushing cache on close failed" warning occur.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sos
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 16 02:10:00 PDT 2002
>Closed-Date:    Thu Feb 20 12:33:53 PST 2003
>Last-Modified:  Thu Feb 20 12:33:53 PST 2003
>Originator:     Yasushi Tamura
>Release:        4.5-RELEASE, 4.6.2-RELEASE and 4.7-RELEASE
>Organization:
individual
>Environment:
FreeBSD  4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #0: Wed Aug 14 21:23:26 GMT 2002  murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC  i386 
    
>Description:
When I umount a slice on ATA drive, the following warning occur.
ad2: timeout waiting for cmd=e7 s=01 e=04
ad2: flushing cache on close failed

My kernel device message is
atapci0: <Intel PIIX4 ATA33 controller> port 0x1020-0x102f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0

This warning doesn't occur for ad0 drive.
And, at 4.5-RELEASE, This warning doesn't occur.
This warning occur at 4.6.2-RELEASE and 4.7-RELEASE.
I doesn't try at 4.6-RELEASE.
>How-To-Repeat:
% mount /dev/ad2s1e /home
% umount /home

>Fix:
     
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sos 
Responsible-Changed-By: johan 
Responsible-Changed-When: Fri Oct 25 01:52:30 PDT 2002 
Responsible-Changed-Why:  
Over to ATA maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44134 
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Thu Feb 20 12:32:52 PST 2003 
State-Changed-Why:  
Your drive apparently doesn't support the flush. 

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