Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2002 11:04:34 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        Clement Laforet <sheep.killer@cultdeadsheep.org>
Cc:        stable@freebsd.org
Subject:   Re: strange ATA behavior with -STABLE 
Message-ID:  <20020710180434.5CC425D03@ptavv.es.net>
In-Reply-To: Your message of "Wed, 10 Jul 2002 04:27:45 %2B0200." <20020710042745.3dbb91df.sheep.killer@cultdeadsheep.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Wed, 10 Jul 2002 04:27:45 +0200
> From: Clement Laforet <sheep.killer@cultdeadsheep.org>
> Sender: owner-freebsd-stable@FreeBSD.ORG
> 
> On Wed, 10 Jul 2002 01:56:49 +0200
> Clement Laforet <sheep.killer@cultdeadsheep.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020710180434.5CC425D03>