From owner-freebsd-bugs@FreeBSD.ORG Wed Oct 1 10:00:41 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 643DC16A4B3 for ; Wed, 1 Oct 2003 10:00:41 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75A9E4400B for ; Wed, 1 Oct 2003 10:00:36 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h91H0aFY045856 for ; Wed, 1 Oct 2003 10:00:36 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h91H0anf045855; Wed, 1 Oct 2003 10:00:36 -0700 (PDT) (envelope-from gnats) Resent-Date: Wed, 1 Oct 2003 10:00:36 -0700 (PDT) Resent-Message-Id: <200310011700.h91H0anf045855@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, walter@pelissero.de Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DA9C16A4B3 for ; Wed, 1 Oct 2003 09:58:53 -0700 (PDT) Received: from webmail.tiscali.de (relay1.tiscali.de [62.26.116.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBCDA43FE0 for ; Wed, 1 Oct 2003 09:58:50 -0700 (PDT) (envelope-from walter@pelissero.de) Received: from daemon.home.loc (62.246.45.127) by webmail.tiscali.de (6.7.019) id 3F59EB2900A1549E for FreeBSD-gnats-submit@freebsd.org; Wed, 1 Oct 2003 18:58:49 +0200 Received: from hyde.home.loc (hyde.home.loc [10.0.0.2]) by daemon.home.loc (8.12.9/8.12.8) with ESMTP id h91GhBHC000356 for ; Wed, 1 Oct 2003 18:43:11 +0200 (CEST) (envelope-from wcp@hyde.home.loc) Received: from hyde.home.loc (localhost [127.0.0.1]) by hyde.home.loc (8.12.9/8.12.8) with ESMTP id h91GhAWh000868 for ; Wed, 1 Oct 2003 18:43:10 +0200 (CEST) (envelope-from wcp@hyde.home.loc) Received: (from wcp@localhost) by hyde.home.loc (8.12.9/8.12.6/Submit) id h91GhA8e000867; Wed, 1 Oct 2003 18:43:10 +0200 (CEST) (envelope-from wcp) Message-Id: <200310011643.h91GhA8e000867@hyde.home.loc> Date: Wed, 1 Oct 2003 18:43:10 +0200 (CEST) From: "Walter C. Pelissero" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/57468: Quirk for Quantum LPS540S X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: walter@pelissero.de List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2003 17:00:41 -0000 >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: