[poky] Unable to get kernel modules

Richard Purdie richard.purdie at linuxfoundation.org
Mon Apr 18 00:02:05 PDT 2011


On Mon, 2011-04-18 at 11:50 +0530, Akshat Saha wrote:
> Hi,
> 
> 
> I am building my image with : bitbake poky-image-minimal-live
> But after booting/installing this image, lsmod, does not show any
> modules loaded into the kernel. Also, the
> folder /lib/modules/2.6.34.7-wr-standard in the rfs does not contains
> the following files/folders:
>       * modules.builtin  
>       * modules.order
>       * kernel
> Though they are present in
> the tmp/sysroots/core2-poky-linux/lib/modules/2.6.34.7-wr-standard.
> 
> 
> Also, while building, modules-2.6.34.7-wr-standard-r12-atom-pc.tgz is
> formed in tmp/deploy/images, which consists of the above mentioned
> files/folders, but does not seem to be integrated into the image.
> 
> 
> Can anyone please suggest/guide me how to integrate loadable modules
> into the image. 

By default the minimal image doesn't include all the kernel modules. You
can add them to the minimal image by adding "kernel-modules" to
IMAGE_INSTALL in meta/recipes-core/images/poky-image-minimal.bb

Cheers,

Richard




More information about the poky mailing list