From owner-freebsd-stable@FreeBSD.ORG Wed Jul 17 10:28:33 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 909AFB15 for ; Wed, 17 Jul 2013 10:28:33 +0000 (UTC) (envelope-from maurizio.vairani@cloverinformatica.it) Received: from smtpdg9.aruba.it (smtpdg8.aruba.it [62.149.158.238]) by mx1.freebsd.org (Postfix) with ESMTP id ECA8E7E2 for ; Wed, 17 Jul 2013 10:28:32 +0000 (UTC) Received: from cloverinformatica.it ([188.10.129.202]) by smtpcmd03.ad.aruba.it with bizsmtp id 1NUN1m01L4N8xN401NUPLB; Wed, 17 Jul 2013 12:28:24 +0200 Received: from [192.168.0.100] (MAURIZIO-PC [192.168.0.100]) by cloverinformatica.it (Postfix) with ESMTP id 8571BF651; Wed, 17 Jul 2013 12:28:23 +0200 (CEST) Message-ID: <51E671C7.50409@cloverinformatica.it> Date: Wed, 17 Jul 2013 12:28:23 +0200 From: Maurizio Vairani User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: Ronald Klop Subject: [SOLVED] Re: Shutdown problem with an USB memory stick as ZFS cache device References: <51E6555D.2080803@cloverinformatica.it> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org, freebsd-stable@freebsd.org 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 10:28:33 -0000 On 17/07/2013 11:50, Ronald Klop wrote: > 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. Thank you Ronald it works ! In /boot/loader.conf added the line hw.usb.no_shutdown_wait=1 Maurizio