NetBSD Problem Report #8859

Received: (qmail 23854 invoked from network); 23 Nov 1999 04:11:32 -0000
Message-Id: <199911230411.XAA28632@eniwetok.ihack.net>
Date: Mon, 22 Nov 1999 23:11:50 -0500 (EST)
From: "Charles M. Hannum" <root@ihack.net>
Reply-To: mycroft@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: ATA error handling in not quite right
X-Send-Pr-Version: 3.95

>Number:         8859
>Category:       kern
>Synopsis:       ATA error handling in not quite right
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bouyer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 22 20:12:00 +0000 1999
>Closed-Date:    Fri Jun 25 16:06:40 +0000 2004
>Last-Modified:  Fri Jun 25 16:06:40 +0000 2004
>Originator:     Charles M. Hannum
>Release:        -current as of 19991117
>Organization:
        Internetwork Hacker
>Environment:
        n/a

>Description:
        According to communications on the X3T13 mailing list, to
        properly detect errors, the error bit must be checked after
        transfer each individual 512-byte sector.  The ATA code does
        not currently implement this behaviour.  (This could explain
        why it sometimes times out rather than returning an error
        immediately.)

>How-To-Repeat:
        Read a bad sector.  Maybe read through EOF also reproduces it?

>Fix:
        Rework ata_wdc.c to read individual 512-byte sectors and
        recheck the status bits after each one.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->bouyer 
Responsible-Changed-By: bouyer 
Responsible-Changed-When: Mon Apr 7 09:04:30 PDT 2003 
Responsible-Changed-Why:  
I'll have to handle this 
State-Changed-From-To: open->closed 
State-Changed-By: mycroft 
State-Changed-When: Fri Jun 25 16:06:21 UTC 2004 
State-Changed-Why:  
We check the error status on each interrupt now. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.