[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-stable
Subject:    hw.ata.wc setting and atacontrol cap output do not match ?
From:       Ari Suutari <ari () suutari ! iki ! fi>
Date:       2003-01-30 10:19:57
[Download RAW message or body]

Hi,

I have put

hw.ata.wc="0"

to  /boot/loader.conf on some of my machines.
After booting, sysctl shows:

# sysctl hw.ata.wc
hw.ata.wc: 0

However, atacontrol shows different results:
# atacontrol cap 0 0
ATA channel 0, Master, device ad0:

ATA/ATAPI revision    4
device model          SAMSUNG SV1022D
Feature                      Support  Enable    Value   Vendor
write cache                    yes      yes


it reports that write cache is still ENABLED ?
I wonder if the output is just wrong or the cache is still
being used. If I perform an "atacontrol reinit" then
atacontrol cap starts to report write cache as disabled.

I would very much like to write cache to really
be off, since I have some machines running
at locations which tend to have power failures
from time to time.

	Ari S.




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic