[OE-core] Cannot build any external kernel modules in krogoth

Ian Geiser geiseri at geekcentral.pub
Wed Aug 31 20:33:31 UTC 2016


Can this get backported to krogoth?  For now i am just putting my kernel in RM_WORK_EXCLUDE and that seems to be working properly.  Thanks for the hint!

 ---- On Wed, 31 Aug 2016 15:07:16 -0400 Martin Jansa <martin.jansa at gmail.com> wrote ---- 
 > You're not alone, this might be the same issue (fixed only in master):https://bugzilla.yoctoproject.org/show_bug.cgi?id=9352
 > 
 > On Wed, Aug 31, 2016 at 8:38 PM, Ian Geiser <geiseri at geekcentral.pub> wrote:
 > 
 >   ---- On Tue, 30 Aug 2016 10:13:52 -0400 Ian Geiser <geiseri at geekcentral.pub> wrote ----
 >   > Greetings,  I have an issue where I cannot seem to build any external kernel module recipes.  The one in particular is iscsitarget, but it seems none of them build now.
 >   >
 >   > It seems that what is happening is that the "work-shared/*/kernel-build-artifacts" is getting erased right before the module recipe tries to use them.  Has anyone seen this before?
 >   >
 >   > As a key point, I am also using my own kernel recipe that only uses the kernel.bbclass, not the kernel-yocto.bbclass.  Is there magic I am missing that will not allow me to build modules unless I am using the yocto kernels?
 >   >
 >  
 >  Looking at this further it looks like this is a normal issue with all kernels.  There is a race condition that will cause the kernel to rebuild everytime you build a module.  During this process the build artifacts are always cleared out and sometimes it wont actually populate the shared workdir.  I tested with most kernels and found all modules suffer this issue.  Am I the only one seeing this?
 >  
 >  --
 >  _______________________________________________
 >  Openembedded-core mailing list
 >  Openembedded-core at lists.openembedded.org
 >  http://lists.openembedded.org/mailman/listinfo/openembedded-core
 >  
 >  





More information about the Openembedded-core mailing list