DragonFly commits List (threaded) for 2009-08
DragonFly BSD
DragonFly commits List (threaded) for 2009-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

DragonFly- master sys/kern kern_linker.c link_aout.c link_elf.c vfs_syscalls.c sys/netgraph/netgraph ng_base.c sys/sys linker.h

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 4 Aug 2009 17:01:13 -0700 (PDT)

commit b8fb634afadea6b66e03f56e4d4c8e3bb6f12c8a
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Tue Aug 4 16:58:09 2009 -0700

    kernel module loader - fix load dependencies from preload modules by kernel
    The boot loader is supposed to load module dependencies but it misses
    a few when e.g. 'snd_hda' is specified in loader.conf.  This resulted
    in the kernel itself trying to load the missing dependencies, but the
    kernel was running the sysinits for those dependencies immediately during
    the preload stage instead of registering them.
    Pass a flag to the loader chain to register the sysinits instead of
    running them if a dependency is loaded during the preload stage.  This
    fixes the problem.  And also, by the way, the loader does not need to
    load dependencies any more (though it still does).
    Reported-by: corecode, swildner

Summary of changes:
 sys/kern/kern_linker.c          |   48 ++++++++++++++++++++++++++++++++------
 sys/kern/link_aout.c            |   21 +++++++++--------
 sys/kern/link_elf.c             |   20 ++++++++--------
 sys/kern/vfs_syscalls.c         |    2 +-
 sys/netgraph/netgraph/ng_base.c |    2 +-
 sys/sys/linker.h                |    8 +++++-
 6 files changed, 69 insertions(+), 32 deletions(-)


DragonFly BSD source repository

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]