Bug 4000 - do_rootfs goes into infinite loop
Summary: do_rootfs goes into infinite loop
Status: RESOLVED NOTABUG
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Undecided major
Target Milestone: ---
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-03-09 17:36 UTC by Khem Raj
Modified: 2013-03-09 19:50 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Khem Raj 2013-03-09 17:36:55 UTC
If kernel-modules are added to IMAGE_INSTALL then the do_rootfs task during image build goes into infinite loop. This is fairly recent change. It was working fine on march 1st. To reproduce it. It could be modulewrapper changes that went in or Martin's module separation changes or something interacting with those changes badly

Add 

kernel-modules to IMAGE_INSTALL

in

meta/recipes-core/images/core-image-minimal.bb

and then

bitbake core-image-minimal

In the end ps -ef shows 

depmod -a -b ...

being invoked in a loop forever.
Comment 1 Khem Raj 2013-03-09 19:50:22 UTC
as it turns out that my defconfig was building almost every kernel module available in 3.8. So the modules dir was 1.2G in size. Now image builder was
taking this 1.2G of modules and running depmod on them one by one and I guess
it was taking many hours. Probably it would have finished in 10-12 hrs

I have since fixed the defconfig so it does generate sensible list of modules
only so the images are building fine.

However I still think there might be a performance issue here