Date: Sat, 27 Jun 2009 10:11:51 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org, Andrew Thompson <thompsa@freebsd.org> Cc: Alex Keda <admin@lissyara.su>, rbgarga@freebsd.org, Vinicius Abrahao <vinnix.bsd@gmail.com>, Greg 'groggy' Lehey <grog@freebsd.org> Subject: Re: new usb stack - boot problem from usb hdd Message-ID: <200906271011.53436.hselasky@c2i.net> In-Reply-To: <1e31c7980906262132k7571c4b8ucfde94ec94cb1d8@mail.gmail.com> References: <49E895CB.2040407@lissyara.su> <20090418023632.GJ13564@dereel.lemis.com> <1e31c7980906262132k7571c4b8ucfde94ec94cb1d8@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 27 June 2009 06:32:54 Vinicius Abrahao wrote: > 9) What I'm doing wrong? I don't think this is your fault. My initial patch for this problem had a loop in the mount root code, trying to mount the root device several times. Now several other people did not agree about that, and made the USB enumeration synchronous instead. That does not always work, because USB devices do not always show up immediately when the power is turned on. I would strongly suggest to add a flag to the mount root code in sys/kern/, allowing the mount root code to automatically retry the medium. It is also important that the mountroot code calls pause() and do not spin in a while loop. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906271011.53436.hselasky>