Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2004 17:55:04 +0200
From:      Joan Picanyol i Puig <lists-gmane@biaix.org>
To:        freebsd-scsi@freebsd.org
Subject:   setting WCE on SCSI disks across reboots
Message-ID:  <pan.2004.05.12.15.55.04.52923@biaix.org>

next in thread | raw e-mail | index | archive | help
Hi,

I'm trying to disable the write-cache on these two disks:

<SEAGATE ST318438LW 0003>          at scbus0 target 0 lun 0 (pass0,da0)
<IBM DNES-309170W SA30>            at scbus0 target 6 lun 0 (pass2,da1)

both sitting on an Adaptec 2940 U2W controller

ahc0: <Adaptec 2940 Ultra2 SCSI adapter> port 0x1000-0x10ff mem 
0xd0020000-0xd0020fff irq 11 at device 14.0 on pci0

I can set WCE to 0 using camcontrol modepage -e -m 0x08, but upon reboot
WCE is set to 1 again. AFAIK this can't be set interactively, so I am at a
loss as to how to disable the wc forever.

Any ideas?

tks
-- 
pica




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