Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Aug 2009 16:21:58 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Michal Hajduk <mih@semihalf.com>, Andrew Thompson <thompsa@freebsd.org>
Cc:        freebsd-arm@freebsd.org, freebsd-current@freebsd.org, freebsd-usb@freebsd.org
Subject:   Re: Mounting rootfs from USB - problem.
Message-ID:  <200908131622.00203.hselasky@c2i.net>
In-Reply-To: <4A841697.2080909@semihalf.com>
References:  <4A841697.2080909@semihalf.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 13 August 2009 15:35:19 Michal Hajduk wrote:
> Hello Hans,
>
> I've observed problem with mounting root filesystem from USB device at
> ARM platform. In my case the da0 device has showed too late
> (after Manual root filesystem specification).
>
> I've read the previous threads about USB booting problem but
> there was no final solution for this issue.
>
> http://www.nabble.com/new-usb-stack---boot-problem-from-usb-hdd-td23100089.
>html
>
>
> Maybe you know the best way how to deal with it ? or somebody
> is trying to fix it?

Hi,

The problem is in:

src/sys/kern/vfs_mount.c

I have suggested a solution where the mount root code is polling for the given 
device until it arrives. The current device behaviour is the opposite: To wait 
until all devices are present until mounting anything.

I'm currently not involved in any work on this. I would not recommend adding 
more delay during startup to catch all kinds of USB devices enumerating.

--HPS





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