From owner-freebsd-stable Wed Jul 10 11: 4:41 2002 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 8830E37B400 for ; Wed, 10 Jul 2002 11:04:36 -0700 (PDT) Received: from postal2.es.net (postal2.es.net [198.128.3.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id F226C43E09 for ; Wed, 10 Jul 2002 11:04:35 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal2.es.net (Postal Node 2) with ESMTP id GQF37091; Wed, 10 Jul 2002 11:04:31 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Postfix) with ESMTP id 5CC425D03; Wed, 10 Jul 2002 11:04:34 -0700 (PDT) To: Clement Laforet Cc: stable@freebsd.org Subject: Re: strange ATA behavior with -STABLE In-reply-to: Your message of "Wed, 10 Jul 2002 04:27:45 +0200." <20020710042745.3dbb91df.sheep.killer@cultdeadsheep.org> Date: Wed, 10 Jul 2002 11:04:34 -0700 From: "Kevin Oberman" Message-Id: <20020710180434.5CC425D03@ptavv.es.net> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Date: Wed, 10 Jul 2002 04:27:45 +0200 > From: Clement Laforet > Sender: owner-freebsd-stable@FreeBSD.ORG > > On Wed, 10 Jul 2002 01:56:49 +0200 > Clement Laforet wrote: > > > Hi guys :) > > > > I "recently" upgraded one of my server from 4.5 (RELENG_4_5) to stable (RELENG_4) on the 4th july (nearly 9am CEST). > > Hi, > > Mike Tancsa sent me a mail and suggested me to do some things. > > " What does > sysctl -a | grep ata > and > atacontrol list > atacontrol cap 0 0 > > If the last 2 done work, > cd /dev > ./MAKEDEV ata > first." > > so here my script ouput :) > It reminds me another things. > The ad2 drive isn't "recognized" by BIOS. > This hard drive still correctly works :) > And worked since 4.3-RELEASE with the same sysctl parameters > ata-1 is dead > > so, here it is :) > > Script started on Wed Jul 10 04:10:37 2002 > [root@goofy|(500)| root]# #To Be Sure > [root@goofy|(501)| root]# cd /dev/ > [root@goofy|(502)| dev]# ./MAKEDEV ata > [root@goofy|(503)| dev]# sysctl -a | grep ata > kern.ipc.max_datalen: 136 > hw.ata.ata_dma: 1 > hw.ata.wc: 1 > hw.ata.tags: 0 > hw.ata.atapi_dma: 0 Try 'hw.ata.atapi_dma="1"'. This needs to be entered at the initial boot prompt or put into /boot/loader.conf. DMA on ATAPI devices defaults to 0 because DMA was broken in some older ATAPI devices. Now it seems that some ATAPI devices have a problem NOT running DMA. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message