All of lore.kernel.org
 help / color / mirror / Atom feed
* Unable to get kernel modules
@ 2011-04-18  6:20 Akshat Saha
  2011-04-18  7:02 ` Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Akshat Saha @ 2011-04-18  6:20 UTC (permalink / raw)
  To: poky

[-- Attachment #1: Type: text/plain, Size: 759 bytes --]

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.

-- 
Akshat

[-- Attachment #2: Type: text/html, Size: 1148 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unable to get kernel modules
  2011-04-18  6:20 Unable to get kernel modules Akshat Saha
@ 2011-04-18  7:02 ` Richard Purdie
  2011-04-20 15:00   ` Darren Hart
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2011-04-18  7:02 UTC (permalink / raw)
  To: Akshat Saha; +Cc: poky

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unable to get kernel modules
  2011-04-18  7:02 ` Richard Purdie
@ 2011-04-20 15:00   ` Darren Hart
  2011-04-21  4:19     ` Akshat Saha
  0 siblings, 1 reply; 4+ messages in thread
From: Darren Hart @ 2011-04-20 15:00 UTC (permalink / raw)
  To: Richard Purdie; +Cc: poky

On Mon, 2011-04-18 at 08:02 +0100, Richard Purdie wrote:
> 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

You can also add them individually if you don't need them all. Every
module is built as a separate package to make this easy. If you have a
machine for which certain modules are required for normal functionality,
you can add them to:

MACHINE_ESSENTIAL_EXTRA_RDEPENDS

in your machine config.

> 
> Cheers,
> 
> Richard
> 
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky

-- 
Darren Hart
Yocto Linux Kernel



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unable to get kernel modules
  2011-04-20 15:00   ` Darren Hart
@ 2011-04-21  4:19     ` Akshat Saha
  0 siblings, 0 replies; 4+ messages in thread
From: Akshat Saha @ 2011-04-21  4:19 UTC (permalink / raw)
  To: Darren Hart; +Cc: poky

[-- Attachment #1: Type: text/plain, Size: 2100 bytes --]

Hi,

Thanks Richard, Darren, that worked. :)

On Wed, Apr 20, 2011 at 8:30 PM, Darren Hart <dvhart@linux.intel.com> wrote:

> On Mon, 2011-04-18 at 08:02 +0100, Richard Purdie wrote:
> > 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
>
> You can also add them individually if you don't need them all. Every
> module is built as a separate package to make this easy. If you have a
> machine for which certain modules are required for normal functionality,
> you can add them to:
>
> MACHINE_ESSENTIAL_EXTRA_RDEPENDS
>
> in your machine config.
>
> >
> > Cheers,
> >
> > Richard
> >
> > _______________________________________________
> > poky mailing list
> > poky@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/poky
>
> --
> Darren Hart
> Yocto Linux Kernel
>
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>



-- 
Thanks and Regards,

Akshat Saha

[-- Attachment #2: Type: text/html, Size: 3212 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-21  4:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-18  6:20 Unable to get kernel modules Akshat Saha
2011-04-18  7:02 ` Richard Purdie
2011-04-20 15:00   ` Darren Hart
2011-04-21  4:19     ` Akshat Saha

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.