From owner-freebsd-stable@FreeBSD.ORG Mon Apr 28 08:06:50 2003 Return-Path: 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 0B19337B401 for ; Mon, 28 Apr 2003 08:06:50 -0700 (PDT) Received: from smtp0.adl1.internode.on.net (smtp0.adl1.internode.on.net [203.16.214.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0FF943FBF for ; Mon, 28 Apr 2003 08:06:48 -0700 (PDT) (envelope-from smckay@internode.on.net) Received: from dungeon.home (ppp343.qld.padsl.internode.on.net [150.101.177.86])h3SF6ksu077988; Tue, 29 Apr 2003 00:36:46 +0930 (CST) Received: from dungeon.home (localhost [127.0.0.1]) by dungeon.home (8.12.8p1/8.11.6) with ESMTP id h3SF6jWq008776; Tue, 29 Apr 2003 01:06:46 +1000 (EST) (envelope-from mckay) Message-Id: <200304281506.h3SF6jWq008776@dungeon.home> To: freebsd-stable@freebsd.org Date: Tue, 29 Apr 2003 01:06:45 +1000 From: Stephen McKay cc: Stephen McKay Subject: ATA driver not as good in 4.8 as 4.5? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2003 15:06:50 -0000 I have a Lite-On 24102B burner on an Epox 7KXA (VIA 686A southbridge) together with a few SCSI disks. I recently upgraded from FreeBSD 4.5 to 4.7 then almost immediately to 4.8. I've had trouble with the burner since. With FreeBSD 4.5, I used "sysctl hw.atamodes=---,---,dma,---" to set the burner to DMA. Everything then worked fine. As far as I know it was using UDMA33. That's what the BIOS said it was using anyway. With FreeBSD 4.8 I use "hw.ata.atapi_dma=1" at boot. This then tells me it is using UDMA33. Unfortunately, I then often get this: acd0: READ_BIG - HARDWARE ERROR asc=0x08 ascq=0x03 error=0x00 I think this means a DMA error. (PS why not say what it is?) If I use atacontrol to downgrade to WDMA2, it works flawlessly (though somewhat slower than it does in UDMA33 mode). So, was 4.5 setting my hardware to WDMA2 when I thought it was doing UDMA33? Has 4.8 introduced bugs that weren't in 4.5? Is there another setting I've missed? Cheers, Stephen.