From owner-freebsd-current@FreeBSD.ORG Sun Jan 25 10:55:50 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 475CB1065672 for ; Sun, 25 Jan 2009 10:55:50 +0000 (UTC) (envelope-from sziszi@bsd.hu) Received: from mail.rubicom.hu (mail.rubicom.hu [89.147.80.28]) by mx1.freebsd.org (Postfix) with ESMTP id BF9118FC12 for ; Sun, 25 Jan 2009 10:55:49 +0000 (UTC) (envelope-from sziszi@bsd.hu) Received: from localhost ([127.0.0.1] helo=mail.rubicom.hu) by mail.rubicom.hu with smtp (Exim 4.63) (envelope-from ) id 1LR2eZ-0001nG-Gj for freebsd-current@freebsd.org; Sun, 25 Jan 2009 11:55:47 +0100 Received: from ip5993549e.rubicom.hu ([89.147.84.158] helo=baranyfelhocske.buza.adamsfamily.xx) by mail.rubicom.hu with esmtp (Exim 4.63) (envelope-from ) id 1LR2eZ-0001n8-9c for freebsd-current@freebsd.org; Sun, 25 Jan 2009 11:55:47 +0100 Received: from baranyfelhocske.buza.adamsfamily.xx (localhost [127.0.0.1]) by baranyfelhocske.buza.adamsfamily.xx (8.14.3/8.14.3) with ESMTP id n0PAtlql002620 for ; Sun, 25 Jan 2009 11:55:47 +0100 (CET) (envelope-from sziszi@bsd.hu) Received: (from sziszi@localhost) by baranyfelhocske.buza.adamsfamily.xx (8.14.3/8.14.3/Submit) id n0PAtlcV002619 for freebsd-current@freebsd.org; Sun, 25 Jan 2009 11:55:47 +0100 (CET) (envelope-from sziszi@bsd.hu) X-Authentication-Warning: baranyfelhocske.buza.adamsfamily.xx: sziszi set sender to sziszi@bsd.hu using -f Date: Sun, 25 Jan 2009 11:55:47 +0100 From: Szilveszter Adam To: freebsd-current@freebsd.org Message-ID: <20090125105547.GA1697@baranyfelhocske.buza.adamsfamily.xx> References: <200901241638.18591.hselasky@c2i.net> <497B7A80.4060002@FreeBSD.org> <20090125063441.GC1755@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090125063441.GC1755@server.vk2pj.dyndns.org> User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: Prblem whit USB in FreeBSD 8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2009 10:55:50 -0000 On Sun, Jan 25, 2009 at 05:34:41PM +1100, Peter Jeremy wrote: > On 2009-Jan-24 12:30:56 -0800, Maxim Sobolev wrote: > >I wonder if this situation can be handled automatically. To my ignorant > >view, our USB mass storage driver can try sending "synchronize cache" > >command and if that fails then failback to the NO_SYNCHRONIZE_CACHE > >behavior. > > This has been discussed in the past. The problem is that some drives > lock up when you send a "synchronize cache" command so this isn't a > general solution. Exactly. The device in the previous mail (Meizu M6, but the same is true for the M3 MusicCard from the same manufacturer btw which is what I have) was a prime example of this behaviour: with the old usb stack, it often locked up soon after it was connected without the quirk. (At other times, it was "just" not possible to mount it) With the new stack and without the quirk, the effects were even more spectacular when I tried it once: the machine panicked soon after insertion. With the quirk, it behaves well (and looks like a superfloppy) with both stacks. It is a pity btw that the chip/firmware they use is so crappy, because otherwise this device is really open-source friendly, afaik even the firmware can be upgraded on it without any windows-based flashing utility whatsoever. -- Regards: Szilveszter ADAM Budapest Hungary