From owner-freebsd-questions@FreeBSD.ORG Sat Mar 19 02:47:19 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B0D216A4CE for ; Sat, 19 Mar 2005 02:47:19 +0000 (GMT) Received: from mail.sv-bg.com (proxy.sv-bg.com [213.222.60.18]) by mx1.FreeBSD.org (Postfix) with SMTP id DF53943D3F for ; Sat, 19 Mar 2005 02:47:17 +0000 (GMT) (envelope-from lalev@sv-bg.com) Received: (qmail 10338 invoked by uid 1013); 19 Mar 2005 05:59:53 -0000 Received: from lalev@sv-bg.com by www.sv-bg.com by uid 1010 with qmail-scanner-1.22-st-qms Clear:RC:0(213.222.60.195):SA:0(-2.6/5.0):. Processed in 5.587364 secs); 19 Mar 2005 05:59:53 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 X-Antivirus-MYDOMAIN-Mail-From: lalev@sv-bg.com via www.sv-bg.com X-Antivirus-MYDOMAIN: 1.22-st-qms (Clear:RC:0(213.222.60.195):SA:0(-2.6/5.0):. Processed in 5.587364 secs Process 10331) Received: from unknown (HELO ?192.168.1.20?) (lalev@sv-bg.com@213.222.60.195) by mail.sv-bg.com with SMTP; 19 Mar 2005 05:59:47 -0000 Message-ID: <423B9296.7040700@sv-bg.com> Date: Sat, 19 Mar 2005 04:46:46 +0200 From: Angelin Lalev User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: curious about da_quirk_table X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Mar 2005 02:47:19 -0000 Greetings, I have an usb flash disk which does not support cache synchronization. Usb vendor 0x1005. (The inscription on it says "Apacer HandySTENO"). On FreeBSD 5.3 RELEASE it generates several of umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 error messages. I've looked in Google and in the source and found da_quirk_table array in scsi_da.c. I've added my disk data there and the disk started working... I'm just curious is that the right way to do this and if so do you gather the data.