From owner-freebsd-stable@FreeBSD.ORG Wed Mar 23 20:19:08 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D44B16A4CE for ; Wed, 23 Mar 2005 20:19:08 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18B5543D3F for ; Wed, 23 Mar 2005 20:19:08 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so290436wri for ; Wed, 23 Mar 2005 12:19:07 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=VZh35Uxlhuu0Saryl6r5uCT2auDX+m+Do7cqG5SFHaA4dUJhawUQt6V8uAv28SnoMHDKkTK0cfEQHJqQ+lEiMq7zGWmoGL4XiwWz/kQ3kWHuEOIm+XO9t+UuwqCyCroQE5geUxzzJxHONRdyCa0ulblA6XWxooWKVAc4ig+ozsw= Received: by 10.54.97.12 with SMTP id u12mr619613wrb; Wed, 23 Mar 2005 12:19:07 -0800 (PST) Received: by 10.54.29.77 with HTTP; Wed, 23 Mar 2005 12:19:06 -0800 (PST) Message-ID: <790a9fff05032312196ba1e429@mail.gmail.com> Date: Wed, 23 Mar 2005 14:19:06 -0600 From: Scot Hetzel To: "J. T. Farmer" In-Reply-To: <4241C774.4050401@goldsword.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <20050322134837.GE557@werd> <20050322142806.GA21833@pc5-179.lri.fr> <20050323171943.GG557@werd> <4241C774.4050401@goldsword.com> cc: freebsd-stable@freebsd.org Subject: Re: Panic after plugging in an mp3 usb player, 5.4-PRERELEASE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Scot Hetzel List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2005 20:19:08 -0000 On Wed, 23 Mar 2005 14:45:56 -0500, J. T. Farmer wrote: > >>On Tue, Mar 22, 2005 at 02:48:37PM +0100, Radek Kozlowski wrote: > >>It's a common problem with some USB devices. You have to add some > >>quirk in sys/cam/scsi/scsi_da.c for your player. > >> > >>See more information at : > >> http://www.root.org/~nate/freebsd/quirks.html > >> > >>I've got the same problem with mine, adding the rigth quirk > >>(DA_Q_NO_SYNC_CACHE for me) solves it. The difficult part is to think > >>out what to put to capture your player (and not the others ... ) > >> > >> > > > >Adding DA_Q_NO_SYNC_CACHE did the trick, thanks for the tip! > > > >-Radek > > > > > Is there any mechanism in place (other than sending a pr) to capture these > quirks for different devices? I'm used to having to compile different > things to get what I want, but truthfully, I would much rather have it just > work out of the box... > > Also, if the quirks are collected then perhaps that will lead to cleaner > handling of devices oddities.... > The problem is that the developers don't have all of the devices to test to find theses quirks. So until someone inserts one of these malfunctioning devices into there FreeBSD system, we won't know what quirk needs to be added. Thus we rely on you to submit the appropriate quirk entry for your device in a PR. Scot