From owner-freebsd-current@freebsd.org Thu Mar 22 04:49:39 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BA26DF67D61; Thu, 22 Mar 2018 04:49:39 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 204B47E031; Thu, 22 Mar 2018 04:49:38 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id w2M4nYEZ014376 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 21 Mar 2018 21:49:35 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id w2M4nY2L014375; Wed, 21 Mar 2018 21:49:34 -0700 (PDT) (envelope-from fbsd) Date: Wed, 21 Mar 2018 21:49:34 -0700 From: bob prohaska To: "Hartmann, O." Cc: FreeBSD CURRENT , freebsd-arm@freebsd.org, bob prohaska Subject: Re: CURRENT r331284: crashing with USB Message-ID: <20180322044934.GA13553@www.zefox.net> References: <20180321120710.4eb3b944@hermann> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180321120710.4eb3b944@hermann> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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: Thu, 22 Mar 2018 04:49:40 -0000 On Wed, Mar 21, 2018 at 12:07:18PM +0100, Hartmann, O. wrote: > > not the ZFS. I can plugin the USB and then unplug it and after two or > three times doing this, the box goes down. > > > Does anyone else observe this bug? > An RPI2 running r331179 didn't crash, but it did complain about setting addresses. The same error crops up from time to time when pl2303 serial adapters have been in use for some time (hours): login: ugen0.5: at usbus0 (disconnected) uftdi0: at uhub1, port 4, addr 5 (disconnected) uftdi0: detached ugen0.5: at usbus0 umass1 on uhub1 umass1: on usbus0 umass1: SCSI over Bulk-Only; quirks = 0x0100 umass1:1:1: Attached to scbus1 da1 at umass-sim1 bus 1 scbus1 target 0 lun 0 da1: Removable Direct Access SPC-4 SCSI device da1: Serial Number AA010428162242131598 da1: 40.000MB/s transfers da1: 59836MB (122544516 512 byte sectors) da1: quirks=0x2 FreeBSD/arm (www.zefox.com) (ttyu0) login: ugen0.5: at usbus0 (disconnected) umass1: at uhub1, port 5, addr 5 (disconnected) da1 at umass-sim1 bus 1 scbus1 target 0 lun 0 da1: s/n AA010428162242131598 detached (da1:umass-sim1:1:0:0): Periph destroyed umass1: detached ugen0.5: at usbus0 umass1 on uhub1 umass1: on usbus0 umass1: SCSI over Bulk-Only; quirks = 0x0100 umass1:1:1: Attached to scbus1 da1 at umass-sim1 bus 1 scbus1 target 0 lun 0 da1: Removable Direct Access SPC-4 SCSI device da1: Serial Number AA010428162242131598 da1: 40.000MB/s transfers da1: 59836MB (122544516 512 byte sectors) da1: quirks=0x2 ugen0.5: at usbus0 (disconnected) umass1: at uhub1, port 5, addr 5 (disconnected) da1 at umass-sim1 bus 1 scbus1 target 0 lun 0 da1: s/n AA010428162242131598 detached (da1:umass-sim1:1:0:0): Periph destroyed umass1: detached usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_IOERROR, ignored) usbd_setup_device_desc: getting device descriptor at addr 5 failed, USB_ERR_IOERROR usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_IOERROR, ignored) usbd_setup_device_desc: getting device descriptor at addr 5 failed, USB_ERR_IOERROR usb_alloc_device: Failure selecting configuration index 0:USB_ERR_IOERROR, port 5, addr 5 (ignored) ugen0.5: at usbus0 ugen0.5: at usbus0 (disconnected) ugen0.5: at usbus0 umass1 on uhub1 umass1: on usbus0 umass1: SCSI over Bulk-Only; quirks = 0x0100 umass1:1:1: Attached to scbus1 da1 at umass-sim1 bus 1 scbus1 target 0 lun 0 da1: Removable Direct Access SPC-4 SCSI device da1: Serial Number AA010428162242131598 da1: 40.000MB/s transfers da1: 59836MB (122544516 512 byte sectors) da1: quirks=0x2 Thanks for reading, I hope it's useful. bob prohaska