Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2004 10:05:00 -0600
From:      Scott Long <scottl@freebsd.org>
To:        Joan Picanyol i Puig <lists-gmane@biaix.org>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: setting WCE on SCSI disks across reboots
Message-ID:  <40A24B2C.2010602@freebsd.org>
In-Reply-To: <pan.2004.05.12.15.55.04.52923@biaix.org>
References:  <pan.2004.05.12.15.55.04.52923@biaix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Joan Picanyol i Puig wrote:
> 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

Check the Adaptec BIOS.  You probably have WCE set in there.

Scott



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