From owner-freebsd-questions@FreeBSD.ORG Mon Feb 20 21:04:27 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 17DD716A420 for ; Mon, 20 Feb 2006 21:04:27 +0000 (GMT) (envelope-from beni.brinckman@dommel.be) Received: from laura.schedom-europe.net (laura.schedom-europe.net [193.109.184.68]) by mx1.FreeBSD.org (Postfix) with SMTP id 80F5643D70 for ; Mon, 20 Feb 2006 21:04:17 +0000 (GMT) (envelope-from beni.brinckman@dommel.be) Received: (qmail 22089 invoked by alias); 20 Feb 2006 21:03:45 -0000 Received: from els.schedom-europe.net (193.109.184.81) by laura.schedom-europe.net with SMTP; 20 Feb 2006 21:03:45 -0000 Received: (qmail 26625 invoked from network); 20 Feb 2006 22:04:16 +0100 Received: from localhost (127.0.0.1) by localhost with SMTP; 20 Feb 2006 22:04:16 +0100 Received: from user5.silver1.brussel1.schedom-europe.net (user5.silver1.brussel1.schedom-europe.net [83.101.7.5]) by webmail.dommel.be (Horde MIME library) with HTTP for ; Mon, 20 Feb 2006 22:04:16 +0100 Message-ID: <20060220220416.qiggte4obia8c0ks@webmail.dommel.be> Date: Mon, 20 Feb 2006 22:04:16 +0100 From: beni.brinckman@dommel.be To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) Cc: infofarmer@gmail.com Subject: attaching an mp3 player / BBB reset failed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2006 21:04:27 -0000 On Monday 20 February 2006 18:43, Andrew Pantyukhin wrote: > On 2/20/06, beni.brinckman@dommel.be wrote: > > Hi all, > > > > When attaching (hotplugging) my mp3 player (its a BeQube) to my fbsd > > 6.1-PreRelease, the whole pc freezes and a reset/reboot is all that is > > left. > > > > In /var/log/messages this is what I get : > > > > Feb 16 20:41:25 www kernel: umass1: vendor 0x10d6 USB 2.0(FS) FLASH DISK, > > rev 1.10/1.00, addr 2 > > Feb 16 20:41:26 www kernel: da5 at umass-sim1 bus 1 target 0 lun 0 > > Feb 16 20:41:26 www kernel: da5: Removable > > Direct Access SCSI-0 device > > Feb 16 20:41:26 www kernel: da5: 1.000MB/s transfers > > Feb 16 20:41:26 www kernel: da5: 245MB (503521 512 byte sectors: 64H > > 32S/T 245C) > > Feb 16 20:41:27 www kernel: umass1: BBB reset failed, STALLED > > Feb 16 20:41:27 www kernel: umass1: BBB bulk-in clear stall failed, > > STALLED Feb 16 20:41:27 www kernel: umass1: BBB bulk-out clear stall > > failed, STALLED Feb 16 20:41:27 www kernel: (da5:umass-sim1:1:0:0): > > Synchronize cache failed, status == 0x4, scsi status == 0x0 > > Feb 16 20:41:27 www kernel: umass1: at uhub2 port 1 (addr 2) disconnected > > Feb 16 20:41:27 www kernel: (da5:umass-sim1:1:0:0): lost device > > Feb 16 20:41:27 www kernel: (da5:umass-sim1:1:0:0): removing device entry > > Feb 16 20:41:27 www kernel: umass1: detached > > > > What goes wrong and more importend, how do I get my mp3 player attached > > without freezing the whole pc ? > > > > Thanks for any hints. > > > > Beni. > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > Please, do not post with empty subject line. > > Google on this: "BBB reset failed", see the solutions, > try them, report here in case of trouble. Of course that is what I did... The solution most found is to modify /usr/src/sys/cam/scsi/scsi_da.c with adding something like this : {T_DIRECT, SIP_MEDIA_REMOVABLE, "GENERIC", "USB DISK DEVICE", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, { /* * Time DPA20B 1GB MP3 Player * PR: usb/81846 */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "USB2.0*", "(FS) FLASH DISK*", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, The only thing is, that code is allready in my 6.1-PRERELEASE code, so no need to add it again. I was hoping a "Generic usb device" should do the trick. Another solution was to add "device udbp # USB Double Bulk Pipe devices" to the kernel. Which is by default commented out in the Generic kernel. I decommented and rebuild my kernel. Still no luck... But I admit that I didn't check and test all 2.430 results that Google found. I hoped to get a better answer here. Beni.