Marcin Krip
2005-Jun-03 18:56 UTC
USB Flash memory based mp3 player problems. Tried but failed.
Hello, FreeBSD lolownia 5.4-STABLE FreeBSD 5.4-STABLE #4: Sat Jun 4 01:54:40 CEST 2005 cvsupped today. Basically a GENERIC kernel with hw i don't need commented out. I have Samsung's YP-55 MP3 player. When I try to copy a file to it, the process hangs for a while, and then kernel produces: umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: BBB bulk-out clear stall failed, STALLED System becomes not responsive (blocking a lot on i/o), even after pulling the device out. Reboot mandatory. I found several threads in google describeing this problem. Tried to follow the instructions and: 1. Added my YP-55 to sys/dev/usb/usbdevs /* Samsung products */ product SAMSUNG ML6060 0x3008 ML-6060 laser printer +product SAMSUNG YP55 0x500d YP-55 MP3 Player 2. Added entries for quirks suggested there: +++ umass.c + { USB_VENDOR_SAMSUNG, USB_PRODUCT_SAMSUNG_YP55, RID_WILDCARD, + UMASS_PROTO_SCSI | UMASS_PROTO_BBB, + NO_INQUIRY | NO_GETMAXLUN + }, 3. Added scsi quirks for it (also suggested in google) +++ scsi_da.c + { + /* + * Samsung YP-55, rev 1.10/0.01, addr 3 + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "Samsung Electronics" , "YP-55 M P3 Player", "*"}, + /*quirks*/ /*DA_Q_NO_SYNC_CACHE*/ DA_Q_NO_6_BYTE + }, I tried these in various combinations, with DA_Q_NO_SYNC_CACHE, with DA_Q_NO_6_BYTE, without scsi quirks at all, etc. All failed. I have even downloaded a 36mb linux kernel source just to find out my player is not present in their drivers/usb/storage/unusual_devs.h . As a last resort, I'm asking for help here. Any hints? I'm attaching some logs. (sorry it got thaat long) Here is debug data with hw.usb.uhci.debug=7 Jun 4 03:06:16 lolownia kernel: FreeBSD 5.4-STABLE #4: Sat Jun 4 01:54:40 CEST 2005 Jun 4 03:06:16 lolownia kernel: root@lolownia:/usr/src/sys/i386/compile/ROBAL (....) Jun 4 03:06:16 lolownia kernel: uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xc000-0xc01f irq 9 at device 7.2 on pci0 Jun 4 03:06:16 lolownia kernel: usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0 Jun 4 03:06:16 lolownia kernel: usb0: USB revision 1.0 Jun 4 03:06:16 lolownia kernel: usbd_get_string: getting lang failed, using 0 Jun 4 03:06:16 lolownia kernel: uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Jun 4 03:06:16 lolownia kernel: uhub0: 2 ports with 2 removable, self powered (.....) Jun 4 03:06:16 lolownia kernel: ulpt0: Hewlett-Packard DeskJet 840C, rev 1.00/1.00, addr 2, iclass 7/1 Jun 4 03:06:16 lolownia kernel: ulpt0: using bi-directional mode (...........) Jun 4 03:09:45 lolownia kernel: uhci_root_ctrl_control type=0xa3 request=00 Jun 4 03:09:45 lolownia kernel: uhci_root_ctrl_control type=0x23 request=01 Jun 4 03:09:45 lolownia kernel: uhci_root_ctrl_control: UR_CLEAR_PORT_FEATURE port=1 feature=16 Jun 4 03:09:45 lolownia kernel: uhci_root_ctrl_control type=0x23 request=03 Jun 4 03:09:45 lolownia kernel: uhci port 1 reset, status0 = 0x0280 Jun 4 03:09:45 lolownia kernel: uhci port 1 reset, status1 = 0x0083 Jun 4 03:09:45 lolownia kernel: uhci port 1 iteration 9, status = 0x0097 Jun 4 03:09:45 lolownia kernel: uhci port 1 iteration 8, status = 0x0095 Jun 4 03:09:45 lolownia kernel: uhci port 1 reset, status2 = 0x0095 Jun 4 03:09:45 lolownia kernel: uhci_root_ctrl_control type=0xa3 request=00 Jun 4 03:09:45 lolownia kernel: uhci_root_ctrl_control type=0x23 request=01 Jun 4 03:09:45 lolownia kernel: uhci_root_ctrl_control: UR_CLEAR_PORT_FEATURE port=1 feature=20 Jun 4 03:09:46 lolownia kernel: uhci_root_ctrl_control type=0xa3 request=00 Jun 4 03:09:46 lolownia kernel: uhci_open: pipe=0xc1b86180, addr=0, endpt=0 (1) Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0x00, request=0x05, wValue=0x0003, wIndex=0x0000 len=0, addr=0, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=0 Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0x80, request=0x06, wValue=0x0100, wIndex=0x0000 len=8, addr=3, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=8 Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0x80, request=0x06, wValue=0x0100, wIndex=0x0000 len=18, addr=3, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=18 Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0x80, request=0x06, wValue=0x0300, wIndex=0x0000 len=2, addr=3, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=2 Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0x80, request=0x06, wValue=0x0300, wIndex=0x0000 len=4, addr=3, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=4 Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0x80, request=0x06, wValue=0x0303, wIndex=0x0409 len=2, addr=3, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=2 Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0x80, request=0x06, wValue=0x0303, wIndex=0x0409 len=34, addr=3, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=34 Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0x80, request=0x06, wValue=0x0200, wIndex=0x0000 len=9, addr=3, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=9 Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0x80, request=0x06, wValue=0x0200, wIndex=0x0000 len=32, addr=3, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=32 Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0x80, request=0x00, wValue=0x0000, wIndex=0x0000 len=2, addr=3, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=2 Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0x00, request=0x09, wValue=0x0001, wIndex=0x0000 len=0, addr=3, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=0 Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0x80, request=0x06, wValue=0x0301, wIndex=0x0409 len=2, addr=3, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=2 Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0x80, request=0x06, wValue=0x0301, wIndex=0x0409 len=30, addr=3, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=30 Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0x80, request=0x06, wValue=0x0302, wIndex=0x0409 len=2, addr=3, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=2 Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0x80, request=0x06, wValue=0x0302, wIndex=0x0409 len=40, addr=3, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=40 Jun 4 03:09:46 lolownia kernel: umass0: Samsung YP-55, rev 1.10/0.01, addr 3 Jun 4 03:09:46 lolownia kernel: umass0: SCSI over Bulk-Only; quirks = 0x0500 Jun 4 03:09:46 lolownia kernel: uhci_open: pipe=0xc1b87100, addr=3, endpt=4 (1) Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0x02, request=0x01, wValue=0x0000, wIndex=0x0004 len=0, addr=3, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=0 Jun 4 03:09:46 lolownia kernel: uhci_open: pipe=0xc1b86d00, addr=3, endpt=129 (1) Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0x02, request=0x01, wValue=0x0000, wIndex=0x0081 len=0, addr=3, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=0 Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0x82, request=0x00, wValue=0x0000, wIndex=0x0000 len=2, addr=3, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=0 Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0xa1, request=0xfe, wValue=0x0000, wIndex=0x0000 len=1, addr=3, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=0 Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0x82, request=0x00, wValue=0x0000, wIndex=0x0000 len=2, addr=3, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=0 Jun 4 03:09:46 lolownia kernel: umass0: Get Max Lun not supported (STALLED) Jun 4 03:09:46 lolownia kernel: umass0:4:0:-1: Attached to scbus4 Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0x80, request=0x06, wValue=0x0303, wIndex=0x0409 len=2, addr=3, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=0 Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0x82, request=0x00, wValue=0x0000, wIndex=0x0000 len=2, addr=3, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=0 Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0x80, request=0x06, wValue=0x0301, wIndex=0x0409 len=2, addr=3, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=0 Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0x82, request=0x00, wValue=0x0000, wIndex=0x0000 len=2, addr=3, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=0 Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0x80, request=0x06, wValue=0x0302, wIndex=0x0409 len=2, addr=3, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=0 Jun 4 03:09:46 lolownia kernel: uhci_device_control type=0x82, request=0x00, wValue=0x0000, wIndex=0x0000 len=2, addr=3, endpt=0 Jun 4 03:09:46 lolownia kernel: uhci_device_ctrl_done: length=0 Jun 4 03:09:46 lolownia kernel: uhci_root_ctrl_control type=0xa3 request=00 Jun 4 03:09:46 lolownia kernel: uhci_device_bulk_start: xfer=0xc1780600 len=31 flags=0 ii=0xc178066c Jun 4 03:09:46 lolownia kernel: uhci_start_loop: add Jun 4 03:09:46 lolownia kernel: uhci_device_bulk_start: xfer=0xc197e600 len=13 flags=0 ii=0xc197e66c Jun 4 03:09:46 lolownia kernel: uhci_device_bulk_done: xfer=0xc1780600 ii=0xc178066c sc=0xc1791000 upipe=0xc1b87100 Jun 4 03:09:46 lolownia kernel: uhci_device_bulk_done: length=31 Jun 4 03:09:46 lolownia kernel: uhci_device_bulk_done: xfer=0xc197e600 ii=0xc197e66c sc=0xc1791000 upipe=0xc1b86d00 Jun 4 03:09:46 lolownia kernel: uhci_end_loop: remove Jun 4 03:09:46 lolownia kernel: uhci_device_bulk_done: length=13 (..and so on..) Jun 4 03:09:46 lolownia kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Jun 4 03:09:46 lolownia kernel: da0: < > Removable Direct Access SCSI-2 device Jun 4 03:09:46 lolownia kernel: da0: 1.000MB/s transfers Jun 4 03:09:46 lolownia kernel: da0: 247MB (506880 512 byte sectors: 64H 32S/T 247C) (...so i mount the device and do initiate a cp to it.) Jun 4 03:12:50 lolownia kernel: uhci_device_bulk_start: xfer=0xc1780600 len=31 flags=0 ii=0xc178066c Jun 4 03:12:50 lolownia kernel: uhci_start_loop: add Jun 4 03:12:50 lolownia kernel: uhci_device_bulk_done: xfer=0xc1780600 ii=0xc178066c sc=0xc1791000 upipe=0xc1b87100 Jun 4 03:12:50 lolownia kernel: uhci_end_loop: remove Jun 4 03:12:50 lolownia kernel: uhci_device_bulk_done: length=31 Jun 4 03:12:50 lolownia kernel: uhci_device_bulk_start: xfer=0xc197e200 len=16384 flags=0 ii=0xc197e26c Jun 4 03:12:50 lolownia kernel: uhci_start_loop: add Jun 4 03:12:50 lolownia kernel: uhci_device_bulk_start: xfer=0xc197e600 len=13 flags=0 ii=0xc197e66c Jun 4 03:12:50 lolownia kernel: uhci_device_bulk_done: xfer=0xc197e200 ii=0xc197e26c sc=0xc1791000 upipe=0xc1b87100 Jun 4 03:12:50 lolownia kernel: uhci_device_bulk_done: length=16384 Jun 4 03:12:50 lolownia kernel: uhci_device_bulk_done: xfer=0xc197e600 ii=0xc197e66c sc=0xc1791000 upipe=0xc1b86d00 Jun 4 03:12:50 lolownia kernel: uhci_end_loop: remove Jun 4 03:12:50 lolownia kernel: uhci_device_bulk_done: length=13 Jun 4 03:12:50 lolownia kernel: uhci_device_bulk_start: xfer=0xc1780600 len=31 flags=0 ii=0xc178066c Jun 4 03:12:50 lolownia kernel: uhci_start_loop: add Jun 4 03:12:50 lolownia kernel: uhci_device_bulk_done: xfer=0xc1780600 ii=0xc178066c sc=0xc1791000 upipe=0xc1b87100 Jun 4 03:12:50 lolownia kernel: uhci_end_loop: remove Jun 4 03:12:50 lolownia kernel: uhci_device_bulk_done: length=31 Jun 4 03:12:50 lolownia kernel: uhci_device_bulk_start: xfer=0xc197e200 len=16384 flags=0 ii=0xc197e26c Jun 4 03:12:50 lolownia kernel: uhci_start_loop: add Jun 4 03:12:50 lolownia kernel: uhci_timeout: uxfer=0xc197e200 Jun 4 03:12:50 lolownia kernel: uhci_timeout_task: xfer=0xc197e200 Jun 4 03:12:50 lolownia kernel: uhci_abort_xfer: xfer=0xc197e200, status=15 Jun 4 03:12:50 lolownia kernel: uhci_abort_xfer: stop ii=0xc197e26c Jun 4 03:12:50 lolownia kernel: uhci_check_intr: aborted xfer=0xc197e200 Jun 4 03:12:50 lolownia kernel: uhci_abort_xfer: callback Jun 4 03:12:50 lolownia kernel: uhci_device_control type=0x21, request=0xff, wValue=0x0000, wIndex=0x0000 len=0, addr=3, endpt=0 Jun 4 03:12:50 lolownia kernel: uhci_device_bulk_done: xfer=0xc197e200 ii=0xc197e26c sc=0xc1791000 upipe=0xc1b87100 Jun 4 03:12:50 lolownia kernel: uhci_end_loop: remove Jun 4 03:12:50 lolownia kernel: uhci_device_bulk_done: length=0 Jun 4 03:12:50 lolownia kernel: umass0: BBB reset failed, STALLED Jun 4 03:12:50 lolownia kernel: uhci_device_ctrl_done: length=0 Jun 4 03:12:50 lolownia kernel: uhci_device_control type=0x02, request=0x01, wValue=0x0000, wIndex=0x0081 len=0, addr=3, endpt=0 Jun 4 03:12:50 lolownia kernel: umass0: BBB bulk-in clear stall failed, STALLED Jun 4 03:12:50 lolownia kernel: uhci_device_ctrl_done: length=0 Jun 4 03:12:50 lolownia kernel: uhci_device_control type=0x02, request=0x01, wValue=0x0000, wIndex=0x0004 len=0, addr=3, endpt=0 Jun 4 03:12:50 lolownia kernel: umass0: BBB bulk-out clear stall failed, STALLED Jun 4 03:12:50 lolownia kernel: uhci_device_ctrl_done: length=0 (..and so on, till i pull the plug.) Jun 4 03:12:50 lolownia kernel: uhci_device_control type=0x02, request=0x01, wValue=0x0000, wIndex=0x0081 len=0, addr=3, endpt=0 Jun 4 03:12:50 lolownia kernel: uhci_root_ctrl_control type=0xa3 request=00 Jun 4 03:12:50 lolownia kernel: uhci_root_ctrl_control type=0x23 request=01 Jun 4 03:12:50 lolownia kernel: uhci_root_ctrl_control: UR_CLEAR_PORT_FEATURE port=1 feature=17 Jun 4 03:12:50 lolownia kernel: uhci_root_ctrl_control type=0x23 request=01 Jun 4 03:12:50 lolownia kernel: uhci_root_ctrl_control: UR_CLEAR_PORT_FEATURE port=1 feature=16 Jun 4 03:12:50 lolownia kernel: umass0: at uhub0 port 1 (addr 3) disconnected Jun 4 03:12:50 lolownia kernel: uhci_device_ctrl_abort: Jun 4 03:12:50 lolownia kernel: uhci_abort_xfer: xfer=0xc197f500, status=6 Jun 4 03:12:50 lolownia kernel: uhci_abort_xfer: stop ii=0xc197f56c Jun 4 03:12:50 lolownia kernel: uhci_check_intr: aborted xfer=0xc197f500 Jun 4 03:12:50 lolownia kernel: uhci_check_intr: aborted xfer=0xc197f500 Jun 4 03:12:50 lolownia kernel: uhci_abort_xfer: callback Jun 4 03:12:50 lolownia kernel: uhci_device_ctrl_done: length=0 Jun 4 03:12:50 lolownia kernel: (da0:umass-sim0:0:0:0): lost device Jun 4 03:12:50 lolownia kernel: uhci_device_control type=0x80, request=0x06, wValue=0x0303, wIndex=0x0409 len=2, addr=3, endpt=0 Jun 4 03:12:50 lolownia kernel: uhci_device_ctrl_done: length=0 Jun 4 03:12:50 lolownia kernel: uhci_device_control type=0x82, request=0x00, wValue=0x0000, wIndex=0x0000 len=2, addr=3, endpt=0 Jun 4 03:12:50 lolownia kernel: uhci_device_ctrl_done: length=0 Jun 4 03:12:50 lolownia kernel: umass0: detached Jun 4 03:12:50 lolownia kernel: uhci_root_ctrl_control type=0x23 request=01 Jun 4 03:12:50 lolownia kernel: uhci_root_ctrl_control: UR_CLEAR_PORT_FEATURE port=1 feature=16 Jun 4 03:12:50 lolownia kernel: uhci_root_ctrl_control type=0xa3 request=00 A little less interesting, but maybe useful log: Here is debug data with hw.usb.debug=9,hw.usb.umass.debug=9 (........) Jun 4 02:15:12 lolownia kernel: usb_new_device: set address 2 failed - trying a port reset Jun 4 02:15:12 lolownia last message repeated 2 times Jun 4 02:15:12 lolownia kernel: usb_new_device: set address 2 failed Jun 4 02:15:12 lolownia kernel: uhub_explore: usb_new_device failed, error=SET_ADDR_FAILED Jun 4 02:15:12 lolownia kernel: uhub0: device problem (SET_ADDR_FAILED), disabling port 1 Jun 4 02:15:12 lolownia kernel: ulpt0: Hewlett-Packard DeskJet 840C, rev 1.00/1.00, addr 2, iclass 7/1 Jun 4 02:15:12 lolownia kernel: ulpt0: using bi-directional mode (...........) Jun 4 02:27:11 lolownia kernel: usb_transfer_complete: pipe=0xc1797b80 xfer=0xc1780700 status=0 actlen=1 Jun 4 02:27:11 lolownia kernel: usb_transfer_complete: repeat=1 new head=0xc1780700 Jun 4 02:27:11 lolownia kernel: usb_needs_explore Jun 4 02:27:11 lolownia kernel: usb_event_thread: woke up Jun 4 02:27:11 lolownia kernel: usb_discover Jun 4 02:27:11 lolownia kernel: usbd_alloc_xfer() = 0xc1780600 Jun 4 02:27:11 lolownia kernel: usbd_transfer: xfer=0xc1780600, flags=2, pipe=0xc1797d80, running=0 Jun 4 02:27:11 lolownia kernel: usbd_dump_queue: pipe=0xc1797d80 (...a lot of such stuff, seems normal to me...) Jun 4 02:27:21 lolownia kernel: umass0: Samsung YP-55, rev 1.10/0.01, addr 3 Jun 4 02:27:21 lolownia kernel: umass0: SCSI over Bulk-Only; quirks = 0x0500 (............) Jun 4 02:27:21 lolownia kernel: umass0: Get Max Lun not supported (STALLED) Jun 4 02:27:21 lolownia kernel: umass0:4:0:-1: Attached to scbus4 (..............) Jun 4 02:27:21 lolownia kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Jun 4 02:27:21 lolownia kernel: da0: < > Removable Direct Access SCSI-2 device Jun 4 02:27:21 lolownia kernel: da0: 1.000MB/s transfers Jun 4 02:27:21 lolownia kernel: da0: 247MB (506880 512 byte sectors: 64H 32S/T 247C) (.....i mount the device, copy a file to it...) Jun 4 02:28:21 lolownia kernel: usb_event_thread: woke up Jun 4 02:28:21 lolownia kernel: usb_discover Jun 4 02:30:01 lolownia kernel: usb_add_task: task=0xc197f084 Jun 4 02:30:01 lolownia kernel: usb_task_thread: woke up task=0xc197f084 Jun 4 02:30:01 lolownia kernel: usb_transfer_complete: pipe=0xc1879d80 xfer=0xc197f000 status=15 actlen=0 Jun 4 02:30:01 lolownia kernel: usb_freemem: large free Jun 4 02:30:01 lolownia kernel: usb_block_freemem: size=16384 Jun 4 02:30:01 lolownia kernel: usb_transfer_complete: repeat=0 new head=0 Jun 4 02:30:01 lolownia kernel: usbd_transfer: xfer=0xc1981400, flags=0, pipe=0xc1b86d00, running=0 Jun 4 02:30:01 lolownia kernel: usbd_dump_queue: pipe=0xc1b86d00 Jun 4 02:30:01 lolownia kernel: usb_insert_transfer: pipe=0xc1b86d00 running=0 timeout=65000 Jun 4 02:30:01 lolownia kernel: usb_transfer_complete: pipe=0xc1b86d00 xfer=0xc1981400 status=17 actlen=0 Jun 4 02:30:01 lolownia kernel: usb_transfer_complete: repeat=0 new head=0 Jun 4 02:30:01 lolownia kernel: umass0: BBB reset failed, STALLED (..ouch..) Jun 4 02:30:01 lolownia kernel: usbd_transfer: xfer=0xc1981300, flags=0, pipe=0xc1b86d00, running=1 Jun 4 02:30:01 lolownia kernel: usbd_dump_queue: pipe=0xc1b86d00 Jun 4 02:30:01 lolownia kernel: usb_insert_transfer: pipe=0xc1b86d00 running=1 timeout=65000 Jun 4 02:30:01 lolownia kernel: usbd_start_next: pipe=0xc1b86d00, xfer=0xc1981300 Jun 4 02:30:01 lolownia kernel: usb_transfer_complete: pipe=0xc1b86d00 xfer=0xc1981300 status=17 actlen=0 Jun 4 02:30:01 lolownia kernel: usb_transfer_complete: repeat=0 new head=0 Jun 4 02:30:01 lolownia kernel: umass0: BBB bulk-in clear stall failed, STALLED (..ouch..) Jun 4 02:30:01 lolownia kernel: usbd_transfer: xfer=0xc1981000, flags=0, pipe=0xc1b86d00, running=1 Jun 4 02:30:01 lolownia kernel: usbd_dump_queue: pipe=0xc1b86d00 Jun 4 02:30:01 lolownia kernel: usb_insert_transfer: pipe=0xc1b86d00 running=1 timeout=65000 Jun 4 02:30:01 lolownia kernel: usbd_start_next: pipe=0xc1b86d00, xfer=0xc1981000 Jun 4 02:30:01 lolownia kernel: usb_transfer_complete: pipe=0xc1b86d00 xfer=0xc1981000 status=17 actlen=0 Jun 4 02:30:01 lolownia kernel: usb_transfer_complete: repeat=0 new head=0 Jun 4 02:30:01 lolownia kernel: umass0: BBB bulk-out clear stall failed, STALLED (..again.) Jun 4 02:30:01 lolownia kernel: usbd_start_next: pipe=0xc1b86d00, xfer=0 Jun 4 02:30:01 lolownia kernel: usbd_transfer: xfer=0xc1780600, flags=0, pipe=0xc1879d80, running=0 Jun 4 02:30:01 lolownia kernel: usbd_dump_queue: pipe=0xc1879d80 Jun 4 02:30:01 lolownia kernel: usb_allocmem: use frag=0xc1792ec0 size=31 Jun 4 02:30:01 lolownia kernel: usb_insert_transfer: pipe=0xc1879d80 running=0 timeout=65000 Jun 4 02:30:01 lolownia kernel: usb_transfer_complete: pipe=0xc1879d80 xfer=0xc1780600 status=0 actlen=31 Jun 4 02:30:01 lolownia kernel: usb_freemem: frag=0xc1792ec0 (.....this happens again and again, so i pull the plug:.....) Jun 4 02:30:01 lolownia kernel: uhub_disconnect: up=0xc1797c30 dev=0xc1b86d80 port=1 Jun 4 02:30:01 lolownia kernel: usb_disconnect_port: disconnect subdevs Jun 4 02:30:01 lolownia kernel: umass0: at uhub0 port 1 (addr 3) disconnected (...) Jun 4 02:30:01 lolownia kernel: umass0: detached (....) Jun 4 02:28:54 lolownia login: ROOT LOGIN (root) ON ttyv3 Jun 4 02:31:01 lolownia kernel: usb_event_thread: woke up Jun 4 02:31:01 lolownia kernel: usb_discover Jun 4 02:32:01 lolownia kernel: usb_event_thread: woke up Jun 4 02:32:01 lolownia kernel: usb_discover (..reboot..) Jun 4 02:32:01 lolownia syslogd: exiting on signal 15 Best regards, -- m. Brain power of a glass of water.