Some new hardware with 9.1 does not reboot easily

Steven Hartland killing at multiplay.co.uk
Thu Jan 17 14:26:41 UTC 2013


----- Original Message ----- 
From: "Willem Jan Withagen" <wjw at digiware.nl>
To: "Julian Stecklina" <jsteckli at os.inf.tu-dresden.de>
Cc: "Steven Hartland" <killing at multiplay.co.uk>; "Andriy Gapon" <avg at FreeBSD.org>; <freebsd-stable at FreeBSD.org>
Sent: Thursday, January 17, 2013 2:11 PM
Subject: Re: Some new hardware with 9.1 does not reboot easily


> On 2013-01-17 3:08, Julian Stecklina wrote:
>> 
>> 
>> Steven Hartland <killing at multiplay.co.uk> wrote:
>> 
>>> ----- Original Message ----- From: "Andriy Gapon"
>>> <avg at FreeBSD.org>
>>> 
>>> 
>>>> on 11/01/2013 21:38 Willem Jan Withagen said the following:
>>>>> On 2013-01-07 18:06, Julian Stecklina wrote:
>>>>>> Has this been resolved? I still see a hang on reboot/shutdown
>>>>>> on my
>>> box
>>>>>> (zfs root on USB thumb drive), but I am not sure if the
>>>>>> problem is related.
>>>>> 
>>>>> Could very well be be.
>>>>> 
>>>>> I have again the same problem as I reported before with the
>>>>> full and
>>> new
>>>>> 9.1 code. But did not have time yet to build a system te test
>>>>> with.
>>>>> 
>>>>> My other 9.1 box is my ZFS only fileserver. And I do not want
>>>>> to
>>> fidle
>>>>> to much with it.
>>> 
>>> Not sure if this has been suggested or ruled out as yet but if you
>>> have usb enabled, you don't need to be using it, try the following
>>> see if it helps?
>>> 
>>> sysctl hw.usb.no_shutdown_wait=1
>> 
>> With that sysctl set the box shuts down just fine. Thanks!
>> 
>>> 
>>> If it does 1. Temporary fix is to pop that in /etc/sysctl.conf 2.
>>> Worth investigating which USB component isn't dropping references 
>>> correctly.
>> 
>> I only have an USB thumb drive and a USB soundcard attached. I tried
>> it without the soundcard attached and would still not reset/shutdown,
>> so that does not seem to be the problem.
>> 
>> I attached usbconfig list output.
> 
> Hi all,
> 
> This is with:
> FreeBSD zfs.digiware.nl 9.1-STABLE FreeBSD 9.1-STABLE #59 r245340:
> Sun Jan 13 06:49:37 CET 2013
> 
> I removed my WD USB disk, and it started to reboot just fine....
> And as such I think it is a combination of USB storage and ZFS.
> 
> So it could very well be a derivative of the previous problems where a
> more complex situation in storage ended up in deadlock.
> 
> Thanx to Steven for putting the finger in the correct hole in the dike....
> For the time being I'll just pop the sysctl into the config.

I don't "think" it will FS related, when I looked it was purely a device reference
count thing.

If you have a blank or unmounted device plugged in does it still fail to reboot
without that sysctl?

    Regards
    Steve

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster at multiplay.co.uk.



More information about the freebsd-stable mailing list