Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Aug 2000 22:46:20 -0700
From:      Paul Saab <paul@mu.org>
To:        Simon <simon@optinet.com>
Cc:        "freebsd-hardware@FreeBSD.ORG" <freebsd-hardware@FreeBSD.ORG>, Mike Smith <msmith@FreeBSD.ORG>
Subject:   Re: What happened?
Message-ID:  <20000807224620.A96386@elvis.mu.org>
In-Reply-To: <200008081306.HAA51017@mail.fpsn.net>; from simon@optinet.com on Tue, Aug 08, 2000 at 01:40:12AM -0400
References:  <20000807223028.A96096@elvis.mu.org> <200008081306.HAA51017@mail.fpsn.net>

next in thread | previous in thread | raw e-mail | index | archive | help
It turns off write caching which will fix your problem.  Seagate has
a bug in their firmware which causes problems.  The command I gave you
fixes the problem you are seeing.

paul

Simon (simon@optinet.com) wrote:
> Alrighty, now, i'm totally confused. What will/should this do? as far as i can tell, it'll replace 1 with 0 on all lines that start 
> with WCE, but that doesn't mean anything to me. Also, what do you mean by a bad firmware?
> 
> Thanks,
> Simon
> 
> On Mon, 7 Aug 2000 22:30:28 -0700, Paul Saab wrote:
> 
> >Run this:
> >
> >EDITOR="/usr/bin/perl -i -pe 's/1/0/g if /^WCE/'" \
> >camcontrol modepage da0 -P 3 -m 8
> >
> >do this for all your drives which have bad firmware.
> >
> >-- 
> >Paul Saab
> >Technical Yahoo
> >paul@mu.org - ps@yahoo-inc.com - ps@freebsd.org
> >Do You .. uhh .. Yahoo!?
> >
> >Simon (simon@optinet.com) wrote:
> >> Great to here there is a fix :-) I have another seagate drive in the same box:
> >> 
> >> da1 at ahc0 bus 0 target 1 lun 0
> >> da1: <SEAGATE ST318436LW 0005> Fixed Direct Access SCSI-3 device 
> >> da1: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled
> >> da1: 17522MB (35885168 512 byte sectors: 255H 63S/T 2233C)
> >> 
> >> Same problem I suspect. The drive is just bigger in size. What would you suggest as the best fix for this? can I just 
> >> update the firmware? or going with a different controller is better? I doubt i have write cache turned on as the drive 
> >> seems to work much slower creating empty files than 5.4k 40 gig IDE maxtor drive (creates 10,000 empty files 10x 
> faster 
> >> than the SCSI i got). Still not exactly sure why.
> >> 
> >> Thanks again,
> >> Simon
> >> 
> >> On Mon, 07 Aug 2000 22:23:56 -0700, Mike Smith wrote:
> >> 
> >> >> Here it is:
> >> >> 
> >> >> da0 at ahc0 bus 0 target 0 lun 0
> >> >> da0: <SEAGATE ST39236LW 0005> Fixed Direct Access SCSI-3 device 
> >> >                          ^^^^
> >> >This firmware is known to interact badly with the ahc driver.  You have 
> >> >three options:
> >> >
> >> > - Use the Adaptec setup utility to disable write caching.
> >> > - Use a different SCSI controller.
> >> > - Get the firmware update from Seagate and fix the drive.
> >> >
> >> >-- 
> >> >... every activity meets with opposition, everyone who acts has his
> >> >rivals and unfortunately opponents also.  But not because people want
> >> >to be opponents, rather because the tasks and relationships force
> >> >people to take different points of view.  [Dr. Fritz Todt]
> >> >
> >> >
> >> >
> >> 
> >> 
> >> 
> >> 
> >> 
> >> To Unsubscribe: send mail to majordomo@FreeBSD.org
> >> with "unsubscribe freebsd-hardware" in the body of the message
> >
> 
> 
> 

-- 
Paul Saab
Technical Yahoo
paul@mu.org - ps@yahoo-inc.com - ps@freebsd.org
Do You .. uhh .. Yahoo!?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hardware" in the body of the message




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