Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2004 15:08:09 +0200
From:      Matti Saarinen <mjs@cc.tut.fi>
To:        Don Lewis <truckman@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: 5.2R: panic (syncer) on IBM x345 (SMP and Vinum)
Message-ID:  <qzun08kozly.fsf@butler.cc.tut.fi>
In-Reply-To: <200401191139.i0JBdD7E055679@gw.catspoiler.org> (Don Lewis's message of "Mon, 19 Jan 2004 03:39:13 -0800 (PST)")
References:  <200401191139.i0JBdD7E055679@gw.catspoiler.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Don Lewis <truckman@freebsd.org> writes:

>> (da0:ahd0:0:0:0): Retrying Command
>> (da0:ahd0:0:0:0): Queue Full
>> (da0:ahd0:0:0:0): tagged openings now 128
>> (da0:ahd0:0:0:0): Retrying Command
>
> Try using the camcontrol modepage command to turn off write caching
> on each of the drives (set the WCE bit to 0).


I hope I've understood the output of the camcontrol command correctly.
The WCE bit is already set zero for all the devices connected to ahd0.

# camcontrol modepage da0 -l
0x01    Read-Write Error Recovery Page
0x02    Disconnect-Reconnect Page
0x03    Format Device Page
0x04    Rigid Disk Drive Geometry Page
0x07    Verify Error Recovery Page
0x08    Caching Page
0x0a    Control Mode Page
0x0c    Notch and Partition Page
0x19
0x1c
0x21
0x00    Vendor-Specific
0x34

# for i in {0..6}
do
echo -n "da$i: " && ( camcontrol modepage da$i -m 0x08   | grep WCE )
done
da0: WCE:  0
da1: WCE:  0
da2: WCE:  0
da3: WCE:  0
da4: WCE:  0
da5: WCE:  0
da6: WCE:  0


-- 
- Matti -



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