From owner-freebsd-stable@FreeBSD.ORG Fri Jun 24 21:34:36 2005 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE66B16A41C for ; Fri, 24 Jun 2005 21:34:36 +0000 (GMT) (envelope-from PeterJeremy@optushome.com.au) Received: from mail09.syd.optusnet.com.au (mail09.syd.optusnet.com.au [211.29.132.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6230543D1D for ; Fri, 24 Jun 2005 21:34:36 +0000 (GMT) (envelope-from PeterJeremy@optushome.com.au) Received: from cirb503493.alcatel.com.au (c220-239-8-51.belrs4.nsw.optusnet.com.au [220.239.8.51]) by mail09.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id j5OLYYgr022163 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 25 Jun 2005 07:34:34 +1000 Received: from cirb503493.alcatel.com.au (localhost.alcatel.com.au [127.0.0.1]) by cirb503493.alcatel.com.au (8.12.10/8.12.10) with ESMTP id j5OLYXRx075342; Sat, 25 Jun 2005 07:34:33 +1000 (EST) (envelope-from pjeremy@cirb503493.alcatel.com.au) Received: (from pjeremy@localhost) by cirb503493.alcatel.com.au (8.12.10/8.12.9/Submit) id j5OLYXT4075341; Sat, 25 Jun 2005 07:34:33 +1000 (EST) (envelope-from pjeremy) Date: Sat, 25 Jun 2005 07:34:33 +1000 From: Peter Jeremy To: Stephen McKay Message-ID: <20050624213433.GA50157@cirb503493.alcatel.com.au> References: <200506241231.j5OCV6jp047730@dungeon.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200506241231.j5OCV6jp047730@dungeon.home> User-Agent: Mutt/1.4.2i Cc: stable@freebsd.org Subject: Re: Data corruption in cd9660 on FreeBSD 4.11? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2005 21:34:36 -0000 On Fri, 2005-Jun-24 22:31:06 +1000, Stephen McKay wrote: >I'm experiencing data corruption when reading CDs and DVDs on FreeBSD 4.11. ... >So, can anyone suggest any more tests I could try? Or is there a kind of >hardware fault that could cause this substitution of whole blocks read from >CDs without causing any other problems? You might like to post the relevant sections of a verbose boot - the ATA and CD probes. Are you running the CD/DVD drives in PIO or UDMA modes? In the former, the CPU is reading the data from the CD and writing it to memory. In the latter, the CPU tells the disk controller where to write. It could be instructive to change modes and see what happens. Have you tried anything other than ISO9660 filesystems on a physical CD? What happens if you just dd the CD-ROM? What happens if you use a vnode mount (see vnconfig(8)) of an ISO filesystem sitting in a UFS filesystem? Anything unusual in your kernel config file? Have you tried building a kernel with WITNESS and/or DIAGNOSTIC? Any chance of you repeating the tests with a 5.x system? Maybe on a spare small partition or using a 5.4-RELEASE disk1 as a live filesystem. -- Peter Jeremy