[PATCH 0/1] [Maverick SRU] LP#642421 -- fix depmod errors during boot

Andy Whitcroft apw at canonical.com
Mon Jan 10 18:06:49 UTC 2011


On some machines depmod errors are emitted during boot:

    modprobe: Fatal: Could not load /lib/modules/2.6.35-22-generic/modules.dep
	no such file or directory

This occur because kernel initialisation can (rarely) require additional
modules.  This triggers a modprobe of that module via usermodhelper.
Where this occurs before the initramfs expand has completed required files
may not be found.  These appear to be benign in the majority of cases as
udev cold plug will load these modules, but it is possible that critical
modules are not loaded and boot fails.

Following this email is a patch to ensure we wait for the unpack to
complete before calling any usermodehelper.  This has no effect on the
common boot, but will ensure syncronisation where modules are used.

-apw

Andy Whitcroft (1):
  UBUNTU: SAUCE: ensure root is ready before running usermodehelpers in
    it

 include/linux/init.h |    2 --
 include/linux/kmod.h |    4 ++++
 init/initramfs.c     |    6 ++++++
 init/main.c          |    2 +-
 4 files changed, 11 insertions(+), 3 deletions(-)

-- 
1.7.2.3





More information about the kernel-team mailing list