[PC-BSD Testing] PCBSD8.0 does not boot off USB disk

M. Warner Losh imp at bsdimp.com
Thu Mar 4 08:50:22 PST 2010


In message: <4B8F9953.9030600 at pcbsd.com>
            Kris Moore <kris at pcbsd.com> writes:
: On 03/04/2010 16:25, productnews at hvf.ch wrote:
: > Kris
: >
: > thanks for your good suggestions. I found the problem solved here:
: > http://www.freebsd.org/cgi/query-pr.cgi?pr=usb/143790
: >
: > and this is the kernel patch that needs to be applied:
: >
: > XXXXXXXXXXXXX snip XXXXXXXXXXXXXXXXXXx
: > --- ./sys/kern/vfs_mount.c.orig	2009-10-25 02:10:29.000000000 +0100
: > +++ ./sys/kern/vfs_mount.c	2010-03-04 14:37:56.134413615 +0100
: > @@ -1648,6 +1648,12 @@
: >
: >   	options = NULL;
: >
: > +	/* http://www.freebsd.org/cgi/query-pr.cgi?pr=usb/143790
: > +	 * usb/143790: [boot] can not boot from usb hdd
: > +	 * hvf 04.03.2010
: > +	 */
: > +	pause("usbwait", hz * 10);
: > +
: >   	root_mount_prepare();
: >
: >   	mount_zone = uma_zcreate("Mountpoints", sizeof(struct mount),
: > XXXXXXXXXXXXXXXXX snip XXXXXXXXXXXXXXXXXXX
: >
: > Regards
: >
: > Harald
: 
: Ahh great, sounds like its a known problem anyway, hopefully they'll
: get this patch included into FreeBSD 8-Stable. Once the patch goes in
: and we get a 8-Stable ISO rolled, please go ahead and re-test it to
: confirm it fixes the issue :)

This patch is unlikely to go into FreeBSD-stable.  There's a long, and
mostly inglorious, history behind it, but this is widely viewed as too
much of a kludge.  How do we know that 10s is enough?  etc

There's work to fix this correctly, but I think that PC-BSD may need
to have this as one of its patches...

Warner


More information about the Testing mailing list