On 2013-01-17 15:26, Steven Hartland wrote: > > ----- Original Message ----- From: "Willem Jan Withagen" <w...@digiware.nl> > To: "Julian Stecklina" <jstec...@os.inf.tu-dresden.de> > Cc: "Steven Hartland" <kill...@multiplay.co.uk>; "Andriy Gapon" > <a...@freebsd.org>; <freebsd-stable@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 <kill...@multiplay.co.uk> wrote: >>> >>>> ----- Original Message ----- From: "Andriy Gapon" >>>> <a...@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?
Interesting question.... Still havent finish building a ZFS test box. I tested USB on the fileserver, because it would give me an actual reboot in case of failure/shutdown.... --WjW _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"