From owner-freebsd-arm@freebsd.org Sat Mar 24 17:52:26 2018 Return-Path: Delivered-To: freebsd-arm@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 C1ACDF600B7 for ; Sat, 24 Mar 2018 17:52:26 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from pmta2.delivery6.ore.mailhop.org (pmta2.delivery6.ore.mailhop.org [54.200.129.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4845D773E3 for ; Sat, 24 Mar 2018 17:52:26 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: f13eaf8e-2f8b-11e8-b951-f99fef315fd9 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound2.ore.mailhop.org (Halon) with ESMTPSA id f13eaf8e-2f8b-11e8-b951-f99fef315fd9; Sat, 24 Mar 2018 17:51:13 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id w2OHqH2A052577; Sat, 24 Mar 2018 11:52:17 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1521913937.51564.20.camel@freebsd.org> Subject: Re: CURRENT r331284: crashing with USB From: Ian Lepore To: bob prohaska , "Hartmann, O." Cc: FreeBSD CURRENT , freebsd-arm@freebsd.org Date: Sat, 24 Mar 2018 11:52:17 -0600 In-Reply-To: <20180324173912.GA25188@www.zefox.net> References: <20180321120710.4eb3b944@hermann> <20180322044934.GA13553@www.zefox.net> <20180324173912.GA25188@www.zefox.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Mar 2018 17:52:26 -0000 On Sat, 2018-03-24 at 10:39 -0700, bob prohaska wrote: > 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: > > > > > > > > > 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 > 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: > > �`!���Qsb"J� ��B����devices... ��m�o�T����H����������HU�m��** > First descriptor���Oo]���������sc��y���RRj�1 Storage Device(s) found >        s�0�H�� * >                  "�R ���X�t Dev��ֹ.. 1 Ethernet Device(s) found > Hit any key�}/����/_K�}?��� > > which persisted across shutdown -r and momentary power cutoff. > Removing power  > for a minute or two seems to have restored normal operation. Note the > snippets > 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 Those snippets are some of the first things uboot says when it starts. -- Ian