From owner-freebsd-i386@FreeBSD.ORG Wed Feb 11 16:40:08 2004 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5EDD16A4CE for ; Wed, 11 Feb 2004 16:40:08 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 921F843D1D for ; Wed, 11 Feb 2004 16:40:08 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1C0e8bv065314 for ; Wed, 11 Feb 2004 16:40:08 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1C0e8SO065313; Wed, 11 Feb 2004 16:40:08 -0800 (PST) (envelope-from gnats) Resent-Date: Wed, 11 Feb 2004 16:40:08 -0800 (PST) Resent-Message-Id: <200402120040.i1C0e8SO065313@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, abc@ai1.anchorage.mtaonline.net Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B05E316A4CE for ; Wed, 11 Feb 2004 16:39:07 -0800 (PST) Received: from ai1.anchorage.mtaonline.net (ai1.anchorage.mtaonline.net [12.21.201.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AFB443D1D for ; Wed, 11 Feb 2004 16:39:06 -0800 (PST) (envelope-from abc@ai1.anchorage.mtaonline.net) Received: from en26.ai1.anchorage.mtaonline.net (root@printer [192.168.0.26]) i1C0d1LR089453 for ; Wed, 11 Feb 2004 15:39:01 -0900 (AKST) (envelope-from abc@ai1.anchorage.mtaonline.net) Received: (from abc@localhost)i1C0e8Vn032324; Thu, 12 Feb 2004 00:40:08 GMT (envelope-from abc@ai1.anchorage.mtaonline.net) Message-Id: <200402120040.i1C0e8Vn032324@en26.ai1.anchorage.mtaonline.net> Date: Thu, 12 Feb 2004 00:40:08 GMT From: abc@ai1.anchorage.mtaonline.net To: FreeBSD-gnats-submit@FreeBSD.org Subject: i386/62717: ATA or similar read bug. X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2004 00:40:09 -0000 >Number: 62717 >Category: i386 >Synopsis: ATA or similar read bug. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 11 16:40:08 PST 2004 >Closed-Date: >Last-Modified: >Originator: Joe Public >Release: i386 FreeBSD 4.9-RELEASE >Organization: no org >Environment: FreeBSD 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Tue Nov 25 19:10:45 AKST 2003 /usr/src/sys/compile/MYKERN i386 >Description: when reading a large file (a gigabyte image of a hard drive creating with strings(1)) using a simple shell loop such as 'while [ 1 ]; do read a; echo $a; done < big-file', once every few 1000 lines, a directory listing (ls) of the current directory is echoed in the midst of the data. no pattern is detected - but it seems to occur more often after 40,000 lines or so have been read. this seems like a potentially very dangerous bug. this is an example of the output (with a line number): 00070805: v+ file1 file2 file3 file4 file5 file6 file7 ^^ the listing seems to occur after short reads. 00078682: jT| file1 file2 file3 file4 file5 file6 file7 ^^^ 00078701: file1 file2 file3 file4 file5 file6 file7 ]0 the carets denote actual data ^^ 00079300: >u file4 file5 ^^ occasionally a deficient ls listing is output. >How-To-Repeat: possibly create a large file as data for the loop given. possibly a Promise Ultra100 ATA card is required. >Fix: don't know - this would be very time consuming to debug. >Release-Note: >Audit-Trail: >Unformatted: