Date: Wed, 1 Oct 2003 18:43:10 +0200 (CEST) From: "Walter C. Pelissero" <walter@pelissero.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/57468: Quirk for Quantum LPS540S Message-ID: <200310011643.h91GhA8e000867@hyde.home.loc> Resent-Message-ID: <200310011700.h91H0anf045855@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 57468
>Category: kern
>Synopsis: Quirk for Quantum LPS540S
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Oct 01 10:00:35 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Walter C. Pelissero
>Release: FreeBSD 4.9-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD hyde.home.loc 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #0: Sat Sep 27 18:56:22 CEST 2003 root@hyde.home.loc:/.amd_mnt/daemon/host/usr/warehouse/src/sys/compile/PCG-XG9 i386
>Description:
Quantum LPS540S doesn't implement cache flushes.
>How-To-Repeat:
Simply shutting down the system will expose the error short
before the expected "System is halted" message.
>Fix:
A quirk in scsi_da.c is in order. Adding something like this
will do:
{ {T_DIRECT, SIP_MEDIA_FIXED, quantum, "LPS540S", "*"},
DA_Q_NO_SYNC_CACHE },
BTW, I suspect all the LPS line from Quantum suffers of the
same problem. If this is confirmed, simply changing the
already existing quirk for the LPS525S (lines 201-207) will do:
{
/*
* Doesn't like the synchronize cache command.
*/
{T_DIRECT, SIP_MEDIA_FIXED, quantum, "LPS*", "*"},
/*quirks*/ DA_Q_NO_SYNC_CACHE
},
Note the more general matcher for the product name.
>Release-Note:
>Audit-Trail:
>Unformatted:
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310011643.h91GhA8e000867>
