Date: Mon, 20 Feb 2006 22:04:16 +0100 From: beni.brinckman@dommel.be To: freebsd-questions@freebsd.org Cc: infofarmer@gmail.com Subject: attaching an mp3 player / BBB reset failed Message-ID: <20060220220416.qiggte4obia8c0ks@webmail.dommel.be>
next in thread | raw e-mail | index | archive | help
On Monday 20 February 2006 18:43, Andrew Pantyukhin wrote: > On 2/20/06, beni.brinckman@dommel.be <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: <USB 2.0 (FS) FLASH DISK 1.00> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060220220416.qiggte4obia8c0ks>