From owner-freebsd-current@freebsd.org Sat Mar 24 17:39:17 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 C1E5CF5EA42; Sat, 24 Mar 2018 17:39:17 +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 165D57674C; Sat, 24 Mar 2018 17:39:16 +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 w2OHdDJr025216 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 24 Mar 2018 10:39:14 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id w2OHdCkc025215; Sat, 24 Mar 2018 10:39:12 -0700 (PDT) (envelope-from fbsd) Date: Sat, 24 Mar 2018 10:39:12 -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: <20180324173912.GA25188@www.zefox.net> References: <20180321120710.4eb3b944@hermann> <20180322044934.GA13553@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20180322044934.GA13553@www.zefox.net> 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: Sat, 24 Mar 2018 17:39:17 -0000 On Wed, Mar 21, 2018 at 09:49:34PM -0700, bob prohaska wrote: > On Wed, Mar 21, 2018 at 12:07:18PM +0100, Hartmann, O. wrote: > >=20 > > not the ZFS. I can plugin the USB and then unplug it and after two or > > three times doing this, the box goes down. > >=20 > >=20 > > Does anyone else observe this bug? > >=20 >=20 > 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 An RPI3 running r331146 reacted more drastically to the insertion of a USB 3.0 flash drive additional to the one holding /usr and /var; the console began to emit a flood of gibberish: =02=02=02=1A=EF=BF=BD`=06!=EF=BF=BD=EF=BF=BD=EF=BF=BDQsb"J=EF=BF=BD =EF=BF= =BD=EF=BF=BDB=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BDdevices... =EF=BF=BD=EF=BF= =BDm=EF=BF=BDo=EF=BF=BDT=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BDH=EF=BF=BD=EF= =BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF= =BDHU=EF=BF=BDm=EF=BF=BD=EF=BF=BD** First descriptor=EF=BF=BD=EF=BF=BD=EF= =BF=BDOo]=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF= =BF=BD=EF=BF=BDsc=EF=BF=BD=EF=BF=BDy=EF=BF=BD=EF=BF=BD=EF=BF=BDRRj=EF=BF=BD= 1 Storage Device(s) found s=EF=BF=BD0=EF=BF=BDH=EF=BF=BD=EF=BF=BD *=1C "=EF=BF=BDR =EF=BF=BD=EF=BF=BD=EF=BF=BDX=EF=BF=BDt Dev=EF= =BF=BD=EF=BF=BD=D6=B9.. 1 Ethernet Device(s) found Hit any key=EF=BF=BD}/=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD/_K=EF=BF=BD}?=EF= =BF=BD=EF=BF=BD=EF=BF=BD which persisted across shutdown -r and momentary power cutoff. Removing pow= er=20 for a minute or two seems to have restored normal operation. Note the snipp= ets of clear text; the serial link isn't the culprit, it's working fine. The flash drive had been used as swap on a Raspbian system successfully, and had a vestigal partitioning scheme from a previous FreeBSD-current installation. However, it wasn't mounted in any way, just plugged in, to cause the upset seen above. I wanted to try using the flash drive as extra swap, per advice given elsewhere. Clearly that isn't going to work. Thanks for reading, and any ideas. bob prohaska