[issue941] can not load kernel module with dependencies

Nicolas Thery nthery at gmail.com
Wed Jan 28 01:06:56 PST 2009


Hello Simon,

2009/1/24 Simon 'corecode' Schubert (via DragonFly issue tracker)
<bugs at crater.dragonflybsd.org>:
>
> Simon 'corecode' Schubert <corecode at fs.ei.tum.de> added the comment:
>
> Did you ever finish this?

Sorry for the late answer.  My home ADSL connexion is broken and I'm
quite busy at my day job.

The short answer is no.

I hacked the kernel-side module loading code to add dependency and I
had sth that worked at least in simple cases but needs lots of
cleanup.  I didn't check complex cases like cycles in the dependencies
graph.

I also tried your approach which if my memory served well involved no
changes kernel-side but changes in the makefiles.  I gave up because I
needed to dynamically generate part of the makefile and didn't know
how to do that (or if make supports this).

Cheers,
Nicolas





More information about the Bugs mailing list