git: kernel - Add mandatory config hooks delay
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Apr 9 17:03:59 PDT 2014
commit 71ed69eec97cfbadb43d16fcf5aabb827026415d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Wed Apr 9 16:49:12 2014 -0700
kernel - Add mandatory config hooks delay
* Add a mandatory 5-second minimum delay for config hooks.
This fixes an issue with U4B's very late port probing. Essentially the
other disk devices (aka AHCI) can completely finish probing and attaching
devices before USB even knows there's a stick in a port. The result is
that the run_interrupt_driven_config_hooks() routine thinks that all
disk devices have attached and does not wait at all.
In addition, usb devices tend to probe near dead last, making the problem
worse. The kernel tries to mount the root device the instant after
the usb pci probe.
* This is a hack, but to really fix it requires a great deal of surgery in
the U4B USB stack.
Summary of changes:
sys/kern/subr_autoconf.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/71ed69eec97cfbadb43d16fcf5aabb827026415d
--
DragonFly BSD source repository
More information about the Commits
mailing list