Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2013 12:28:23 +0200
From:      Maurizio Vairani <maurizio.vairani@cloverinformatica.it>
To:        Ronald Klop <ronald-freebsd8@klop.yi.org>
Cc:        freebsd-fs@freebsd.org, freebsd-stable@freebsd.org
Subject:   [SOLVED] Re: Shutdown problem with an USB memory stick as ZFS cache device
Message-ID:  <51E671C7.50409@cloverinformatica.it>
In-Reply-To: <op.w0c1l8yp8527sy@ronaldradial.versatec.local>
References:  <51E6555D.2080803@cloverinformatica.it> <op.w0c1l8yp8527sy@ronaldradial.versatec.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On 17/07/2013 11:50, Ronald Klop wrote:
> On Wed, 17 Jul 2013 10:27:09 +0200, Maurizio Vairani 
> <maurizio.vairani@cloverinformatica.it> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51E671C7.50409>