Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Mar 2009 11:25:51 -0800
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        usb@FreeBSD.org
Subject:   Re: USB2+umass: root mount fails
Message-ID:  <20090301192551.GA57940@citylink.fud.org.nz>
In-Reply-To: <20090301.121620.-2073256982.imp@bsdimp.com>
References:  <ACB7DFF1-6C8E-4936-9BD9-BB2FD375F3BB@mac.com> <20090301190057.GD90301@citylink.fud.org.nz> <20090301.121620.-2073256982.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 01, 2009 at 12:16:20PM -0700, M. Warner Losh wrote:
> In message: <20090301190057.GD90301@citylink.fud.org.nz>
>             Andrew Thompson <thompsa@freebsd.org> writes:
> : On Mon, Feb 16, 2009 at 01:53:36PM -0800, Marcel Moolenaar wrote:
> : > It appears that the root mount isn't serialized with USB discovery
> : > in the same way it was under USB1.
> : 
> : It seems that this is not completly resolved with the root mount hold in
> : r188907 as geom may not have tasted the partition tables when
> : vfs_rootmount is woken. USB still needs to finish its bus probe earlier
> : on the boot process.
> 
> This sounds like a more fundamental ordering problem.  It sounds like
> we need two gates here.  (1) All the underlying devices are there and
> (2) All tasting is done.

So should another root hold token be grabbed in disk_create() and
released on taste?

Andrew



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