From owner-freebsd-current@freebsd.org Wed Mar 21 11:07:27 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 94A13F5DE2D for ; Wed, 21 Mar 2018 11:07:27 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EA31169844 for ; Wed, 21 Mar 2018 11:07:26 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from hermann ([87.138.105.249]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MPZuP-1euSrG1D7p-004g4J for ; Wed, 21 Mar 2018 12:07:19 +0100 Date: Wed, 21 Mar 2018 12:07:18 +0100 From: "Hartmann, O." To: FreeBSD CURRENT Subject: CURRENT r331284: crashing with USB Message-ID: <20180321120710.4eb3b944@hermann> Organization: walstatt.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:3ILziKMAbP7VXUcM83yjF1DyZQ7DqFX8SQYelKc1QuxWaJYRmIB c9+sT1ReT5CfllLZbJLgDh9kH8Kw8necNeV6iXzAIeNTSW05GEsoLMMpdoeoPzyEV34VRuU lpqNUHh5BdyZYq9Qfd/wfU3BDs5+erCMmOld5lw2e+K6SMzlL7+Wcl4Cif2TLw6TOLsiyQ1 Maiu4zx4ExL4l1bVzrvsg== X-UI-Out-Filterresults: notjunk:1;V01:K0:OJw0kuR/Vmg=:7QSnL0uPFAOj/qo/vj/ph2 L4LdPZ8/ufnByuz+PLpSnS6P1Xtw0//SXnbQ8zPktXOl/k//8UpXmONHGNLpeEm+2Mfco+JUC vrK+tsQPrOFiSBrykhaT0TNefkQ51VuWLSYt8/vXnUNDlcybSvTXE+L3lkp48nL+Cqjf4fSBT +l+CzKSIl0QbI4e2UzXxThiAuvw/WD8sEejRmCZ+RKsvDqeQDsmlLlCENcZhLsUU9xcz3qFOH 9falYf7bx+YLTmmKI2YmK28F0MXwdn/2bbMpN9+G//oBvbA73IUkRZOHVQijksuuG/ULpoCHG LgS6JsvKjQB9SBdJfgynx4WBclxQer8pb8KkTA4GE6iqMdk6vcv+iSoFHzYnIMsQDdddERehK oVhHDpQ5KZQGWMYU4SdhxidJcY2uK/5uyxGzmX9u6rpmyVRXcf04LgqeVIjseMlIZmw8/hpDR TXNeugEPMihUlT9T28qBcJXDUc+32gmpC8y2pJsJnDsLU5hCAl+j33Q4ztJTTPXKLNYPxadYu 7PnRyyCsL57r7wL2gKiiDqIS3mTVkQ/2KlwufXygvH0bWYdaj2vGNcqvWTmMC7EMuVvFLvJE2 8+wUha4LYY/0yWTxs2b1kKYNapKrmTDcjE1O2n4BvXHXbZZAk/N1sgJD6HV7uKyj/2W1J5ZMd Kq47J+AMLaNWX6TZZFgLYzJ+IqnG2WtPHZ7v3hwNKzFlm3FFCIAe0tjngMkS3+S7LAu3bWrPN I1iUhmclAtHtZfXez6B4tG55SpX2UrPiTdbO9qmu7nG46InwCVAwpO4rB9kVtY6kxbTqwO7lO aJrdrqlfpCFs+bct1SnX5CV5SBMhv2QAjRg+fgR6rx+KD6yM+s= 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: Wed, 21 Mar 2018 11:07:27 -0000 Hello. Incident: CURRENT r331284 can be brought down reliably with an USB flash drive plugged in and out without mounting or doing anything with it. I first recognized the incident with a ZFS on a SanDisk 32GB USB 3.0 flash drive. Plugging the USB flash and typing "zpool import" revealed the very first time I issue this command the existence of the ZFS fielsystem. Usually, I import then this USB drive for maintenance purposes. Now, typing "zpool import" a second time, nothing is shown at all. I see that umass0 has been destroyed - although the USB drive is still plugged in. Pulling the USB flash drive without having actually imported the ZFS makes CURRENT crash and reboot. I tried different USB flash drives, 3.0, 2.0, different boxes running CURRENT, different hardware (Notebooks, Fujitsu workstations, HP servers). It seems that the USB subsystem does have a serious problem - 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? By the way: all ZFS USB drives I use or all other USB flash drives cause no problem on FreeBSD 11.1-RELENG-p7! Kind regards, Oliver