From owner-freebsd-stable@FreeBSD.ORG Wed Jul 17 09:50:32 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BAD18703; Wed, 17 Jul 2013 09:50:32 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.81]) by mx1.freebsd.org (Postfix) with ESMTP id 7F0D4A3; Wed, 17 Jul 2013 09:50:32 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1UzONM-0002DW-CT; Wed, 17 Jul 2013 11:50:25 +0200 Received: from [81.21.138.17] (helo=ronaldradial.versatec.local) by smtp.greenhost.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1UzONM-0002DC-8P; Wed, 17 Jul 2013 11:50:24 +0200 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-stable@freebsd.org, freebsd-fs@freebsd.org, "Maurizio Vairani" Subject: Re: Shutdown problem with an USB memory stick as ZFS cache device References: <51E6555D.2080803@cloverinformatica.it> Date: Wed, 17 Jul 2013 11:50:22 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: <51E6555D.2080803@cloverinformatica.it> User-Agent: Opera Mail/12.16 (Win32) X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: - X-Spam-Score: -1.9 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.1 X-Scan-Signature: dfea3049d3b923820beb462d65569822 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 09:50:32 -0000 On Wed, 17 Jul 2013 10:27:09 +0200, Maurizio Vairani wrote: > Hi all, > > > on a Compaq Presario laptop I have just installed the latest stable > > > #uname -a > > FreeBSD presario 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #0: Tue Jul 16 > 16:32:39 CEST 2013 root@presario:/usr/obj/usr/src/sys/GENERIC amd64 > > > For speed up the compilation I have added to the pool, tank0, a SanDisk > memory stick as cache device with the command: > > > # zpool add tank0 cache /dev/da0 > > > But when I shutdown the laptop the process will halt with this screen > shot: > > > http://www.dump-it.fr/freebsd-screen-shot/2f9169f18c7c77e52e873580f9c2d4bf.jpg.html > > > and I need to press the power button for more than 4 seconds to switch > off the laptop. > > The problem is always reproducible. Does sysctl hw.usb.no_shutdown_wait=1 help? Ronald.