Date: Mon, 17 Oct 2011 13:35:04 +0300 From: Krassimir Slavchev <krassi@bulinfo.net> To: FreeBSD <freebsd-stable@freebsd.org> Subject: FreeBSD 8 kernel module dependencies? Message-ID: <4E9C04D8.1070400@bulinfo.net>
next in thread | raw e-mail | index | archive | help
Hello list, I have a kernel module for an usb device which have to be loaded before geom_eli. This scenario works on FreeBSD 7.x using MODULE_DEPEND: g_eli.c: MODULE_DEPEND(g_eli, mymodule, 1, 1, 1); mymodule.c: MODULE_DEPEND(mymodule, usb, 1, 1, 1); MODULE_VERSION(mymodule, 1); Unfortunately I can not achieve this under 8.x. The geom_eli is loaded before the usb loading is finished. Adding MODULE_DEPEND(g_eli, usb, 1, 1, 1); in geom_eli does not help too. Is there something I miss? How to trace the module loading order? Thanks in advance
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E9C04D8.1070400>