[PATCH 0/1] [Maverick SRU] LP#642421 -- fix depmod errors during boot
Brad Figg
brad.figg at canonical.com
Tue Jan 18 04:49:06 UTC 2011
On 01/10/2011 10:06 AM, Andy Whitcroft wrote:
> 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(-)
>
Acked-by: Brad Figg<brad.figg at canonical.com>
applied and pushed
--
Brad Figg brad.figg at canonical.com http://www.canonical.com
More information about the kernel-team
mailing list