Milan Cizek napsal/wrote, On 09/20/09 22:45:
zkus kernel prelozit s
option BUS_DEBUG
U problematickeho "rootbus" se zadna debug hlaska nevypsala.
OK, tak se na BUS_DEBUG vykasli. Vypiseme si sami. Viz patch.
Dan
--- sys/kern/subr_bus.c.orig 2009-09-21 00:27:09.000000000 +0200
+++ sys/kern/subr_bus.c 2009-09-21 00:33:43.000000000 +0200
@@ -2953,7 +2953,9 @@
device_t child;
TAILQ_FOREACH(child, &dev->children, link) {
+ printf(">>> DEVICE '%s'\n",
child->nameunit==NULL?"<NULL>":child->nameunit);
device_shutdown(child);
+ printf("<<< DEVICE RETURN"\n);
}
return (0);
--
FreeBSD mailing list (users-l@freebsd.cz)
http://www.freebsd.cz/listserv/listinfo/users-l