can not load kernel module with dependencies

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Wed Feb 6 14:36:31 PST 2008


Nicolas Thery wrote:
"kldload foo" fails if foo depends on other modules that have not yet
been loaded.
The kernel includes code to automatically loads dependencies but it
seems designed for an older ABI (cf load_dependancies()).
there are two dependency systems in place:

1. the "old" one, using the DL_NEEDED entry in the ELF headers.

2. the "new" one, using linker sets.

loader does (2), the kernel does (1).  required modules specified in the 
source set (2), Makefile sets (1).

I personally think that (1) is the correct choice, but I'm open for 
discussion.  Maybe the nicest thing would be to use the sources and (2) to 
generate (1).

cheers
  simon
--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \





More information about the Bugs mailing list