From owner-freebsd-stable@FreeBSD.ORG Wed Mar 23 19:46:45 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 0A28A16A4CE for ; Wed, 23 Mar 2005 19:46:45 +0000 (GMT) Received: from imf23aec.mail.bellsouth.net (imf23aec.mail.bellsouth.net [205.152.59.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D13843D2F for ; Wed, 23 Mar 2005 19:46:44 +0000 (GMT) (envelope-from jfarmer@goldsword.com) Received: from [192.168.1.100] ([65.13.105.239]) by imf23aec.mail.bellsouth.netESMTP <20050323194644.YJGY24632.imf23aec.mail.bellsouth.net@[192.168.1.100]> for ; Wed, 23 Mar 2005 14:46:44 -0500 Message-ID: <4241C774.4050401@goldsword.com> Date: Wed, 23 Mar 2005 14:45:56 -0500 From: "J. T. Farmer" Organization: GoldSword Systems User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <20050322134837.GE557@werd> <20050322142806.GA21833@pc5-179.lri.fr> <20050323171943.GG557@werd> In-Reply-To: <20050323171943.GG557@werd> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit 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 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 19:46:45 -0000 Radek Kozlowski wrote: >On Tue, Mar 22, 2005 at 03:28:06PM +0100, Marwan Burelle wrote: > > >>On Tue, Mar 22, 2005 at 02:48:37PM +0100, Radek Kozlowski wrote: >> >> >>>My 5.4-PRERELEASE/i386 as of today panics almost immediately after >>>plugging in an mp3 usb player (Qware BeatZkey! Pro 512MB). I don't have >>>device ehci in the kernel. >>> >>> >>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.... John ---------------------------------------------------------------------- John T. Farmer Owner & CTO GoldSword Systems jfarmer@goldsword.com 865-691-6498 Knoxville TN Consulting, Design, & Development of Networks & Software