All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] recipes: HACK: disable parallel make for out-of-tree modules due to fixdep race
@ 2014-09-04 20:06 Denys Dmytriyenko
  2014-09-04 20:13 ` Cooper Jr., Franklin
  2014-09-04 20:50 ` Carlos Hernandez
  0 siblings, 2 replies; 3+ messages in thread
From: Denys Dmytriyenko @ 2014-09-04 20:06 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

* The fixdep race happens in the kernel tree when building out-of-tree modules
* It is intermittent and doesn't happen allways, but depend on high # of threads
* Need to investigate it further, but currently it's blocking release builds
* There's a previous report on LKML:
https://groups.google.com/forum/#!msg/linux.kernel/j4DdW77nM60/QhgPF1jhKe4J

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Cc: Carlos Hernandez <ceh@ti.com>
---
 .../recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bbappend              | 4 +++-
 .../recipes-kernel/cryptodev/cryptodev-module_1.6.bbappend       | 4 +++-
 .../ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a9.14.bb     | 9 +++++----
 3 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bbappend b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bbappend
index 8915917..8acb67a 100644
--- a/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bbappend
+++ b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bbappend
@@ -1,4 +1,6 @@
-PR_append = "-arago4+gitr${SRCPV}"
+PR_append = "-arago5+gitr${SRCPV}"
+
+PARALLEL_MAKE = ""
 
 RDEPENDS_${PN} += "linaro-pm-qa-utils"
 
diff --git a/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module_1.6.bbappend b/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module_1.6.bbappend
index 7be7536..52bb6db 100644
--- a/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module_1.6.bbappend
+++ b/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module_1.6.bbappend
@@ -1,4 +1,6 @@
-PR_append = "-arago2"
+PR_append = "-arago3"
+
+PARALLEL_MAKE = ""
 
 module_autoload_cryptodev = "cryptodev-module"
 
diff --git a/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a9.14.bb b/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a9.14.bb
index dca2edb..fe75284 100644
--- a/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a9.14.bb
+++ b/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a9.14.bb
@@ -12,7 +12,9 @@ RDEPENDS_${PN} = "wireless-tools"
 PV = "r8.a9.14"
 inherit module
 
-PR = "${MACHINE_KERNEL_PR}+a+gitr${SRCPV}"
+PR = "${MACHINE_KERNEL_PR}+b+gitr${SRCPV}"
+
+PARALLEL_MAKE = ""
 
 # Tags: ol_r8.a9.14
 SRCREV_wl18xx = "0e48c4b55cfa0d557a098cbe92b1f092f1a9ad67"
@@ -26,7 +28,7 @@ S = "${WORKDIR}/compat-wireless"
 
 SRC_URI = "git://git.ti.com/wilink8-wlan/wl18xx.git;branch=${BRANCH_wl18xx};destsuffix=wl18xx;name=wl18xx \
            git://git.ti.com/wilink8-wlan/backports.git;branch=${BRANCH_backports};destsuffix=backports;name=backports \
- "
+"
 
 export KLIB_BUILD="${STAGING_KERNEL_DIR}"
 export KLIB="${D}"
@@ -41,11 +43,10 @@ do_configure() {
     make defconfig-wl18xx
 
     # Now generate the sourceipk with the properly configured sources
-	sourceipk_do_create_srcipk
+    sourceipk_do_create_srcipk
 }
 
 do_install() {
     # Install modules
     oe_runmake modules_install
 }
-
-- 
2.0.4



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

* Re: [PATCH] recipes: HACK: disable parallel make for out-of-tree modules due to fixdep race
  2014-09-04 20:06 [PATCH] recipes: HACK: disable parallel make for out-of-tree modules due to fixdep race Denys Dmytriyenko
@ 2014-09-04 20:13 ` Cooper Jr., Franklin
  2014-09-04 20:50 ` Carlos Hernandez
  1 sibling, 0 replies; 3+ messages in thread
From: Cooper Jr., Franklin @ 2014-09-04 20:13 UTC (permalink / raw)
  To: Denys Dmytriyenko, meta-arago@arago-project.org

This is a bit unfortunate but yeah builds dying is a problem. Will you also be sending one for the graphics portion in meta-ti?

We never seen this issue before on 3.12 or older so I wonder what changed and why it's not a bigger issue for a lot more people.

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Denys Dmytriyenko
> Sent: Thursday, September 04, 2014 3:07 PM
> To: meta-arago@arago-project.org
> Subject: [meta-arago] [PATCH] recipes: HACK: disable parallel make for out-
> of-tree modules due to fixdep race
> 
> From: Denys Dmytriyenko <denys@ti.com>
> 
> * The fixdep race happens in the kernel tree when building out-of-tree
> modules
> * It is intermittent and doesn't happen allways, but depend on high # of
> threads
> * Need to investigate it further, but currently it's blocking release builds
> * There's a previous report on LKML:
> https://groups.google.com/forum/#!msg/linux.kernel/j4DdW77nM60/QhgP
> F1jhKe4J
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> Cc: Carlos Hernandez <ceh@ti.com>
> ---
>  .../recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bbappend              | 4 +++-
>  .../recipes-kernel/cryptodev/cryptodev-module_1.6.bbappend       | 4 +++-
>  .../ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a9.14.bb     | 9 +++++--
> --
>  3 files changed, 11 insertions(+), 6 deletions(-)
> 
> diff --git a/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-
> ddt_0.0.4.bbappend b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-
> ddt_0.0.4.bbappend
> index 8915917..8acb67a 100644
> --- a/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bbappend
> +++ b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bbappend
> @@ -1,4 +1,6 @@
> -PR_append = "-arago4+gitr${SRCPV}"
> +PR_append = "-arago5+gitr${SRCPV}"
> +
> +PARALLEL_MAKE = ""
> 
>  RDEPENDS_${PN} += "linaro-pm-qa-utils"
> 
> diff --git a/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-
> module_1.6.bbappend b/meta-arago-distro/recipes-
> kernel/cryptodev/cryptodev-module_1.6.bbappend
> index 7be7536..52bb6db 100644
> --- a/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-
> module_1.6.bbappend
> +++ b/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-
> module_1.6.bbappend
> @@ -1,4 +1,6 @@
> -PR_append = "-arago2"
> +PR_append = "-arago3"
> +
> +PARALLEL_MAKE = ""
> 
>  module_autoload_cryptodev = "cryptodev-module"
> 
> diff --git a/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-
> wireless-wl18xx_r8.a9.14.bb b/meta-arago-extras/recipes-bsp/ti-compat-
> wireless/ti-compat-wireless-wl18xx_r8.a9.14.bb
> index dca2edb..fe75284 100644
> --- a/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-
> wl18xx_r8.a9.14.bb
> +++ b/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-
> wireless-wl18xx_r8.a9.14.bb
> @@ -12,7 +12,9 @@ RDEPENDS_${PN} = "wireless-tools"
>  PV = "r8.a9.14"
>  inherit module
> 
> -PR = "${MACHINE_KERNEL_PR}+a+gitr${SRCPV}"
> +PR = "${MACHINE_KERNEL_PR}+b+gitr${SRCPV}"
> +
> +PARALLEL_MAKE = ""
> 
>  # Tags: ol_r8.a9.14
>  SRCREV_wl18xx = "0e48c4b55cfa0d557a098cbe92b1f092f1a9ad67"
> @@ -26,7 +28,7 @@ S = "${WORKDIR}/compat-wireless"
> 
>  SRC_URI = "git://git.ti.com/wilink8-
> wlan/wl18xx.git;branch=${BRANCH_wl18xx};destsuffix=wl18xx;name=wl18x
> x \
>             git://git.ti.com/wilink8-
> wlan/backports.git;branch=${BRANCH_backports};destsuffix=backports;nam
> e=backports \
> - "
> +"
> 
>  export KLIB_BUILD="${STAGING_KERNEL_DIR}"
>  export KLIB="${D}"
> @@ -41,11 +43,10 @@ do_configure() {
>      make defconfig-wl18xx
> 
>      # Now generate the sourceipk with the properly configured sources
> -	sourceipk_do_create_srcipk
> +    sourceipk_do_create_srcipk
>  }
> 
>  do_install() {
>      # Install modules
>      oe_runmake modules_install
>  }
> -
> --
> 2.0.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH] recipes: HACK: disable parallel make for out-of-tree modules due to fixdep race
  2014-09-04 20:06 [PATCH] recipes: HACK: disable parallel make for out-of-tree modules due to fixdep race Denys Dmytriyenko
  2014-09-04 20:13 ` Cooper Jr., Franklin
@ 2014-09-04 20:50 ` Carlos Hernandez
  1 sibling, 0 replies; 3+ messages in thread
From: Carlos Hernandez @ 2014-09-04 20:50 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-arago

Acked-by: Carlos Hernandez <ceh@ti.com>

On 09/04/2014 04:06 PM, Denys Dmytriyenko wrote:
> From: Denys Dmytriyenko <denys@ti.com>
>
> * The fixdep race happens in the kernel tree when building out-of-tree modules
> * It is intermittent and doesn't happen allways, but depend on high # of threads
> * Need to investigate it further, but currently it's blocking release builds
> * There's a previous report on LKML:
> https://groups.google.com/forum/#!msg/linux.kernel/j4DdW77nM60/QhgPF1jhKe4J
>
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> Cc: Carlos Hernandez <ceh@ti.com>
> ---
>   .../recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bbappend              | 4 +++-
>   .../recipes-kernel/cryptodev/cryptodev-module_1.6.bbappend       | 4 +++-
>   .../ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a9.14.bb     | 9 +++++----
>   3 files changed, 11 insertions(+), 6 deletions(-)
>
> diff --git a/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bbappend b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bbappend
> index 8915917..8acb67a 100644
> --- a/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bbappend
> +++ b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bbappend
> @@ -1,4 +1,6 @@
> -PR_append = "-arago4+gitr${SRCPV}"
> +PR_append = "-arago5+gitr${SRCPV}"
> +
> +PARALLEL_MAKE = ""
>   
>   RDEPENDS_${PN} += "linaro-pm-qa-utils"
>   
> diff --git a/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module_1.6.bbappend b/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module_1.6.bbappend
> index 7be7536..52bb6db 100644
> --- a/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module_1.6.bbappend
> +++ b/meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module_1.6.bbappend
> @@ -1,4 +1,6 @@
> -PR_append = "-arago2"
> +PR_append = "-arago3"
> +
> +PARALLEL_MAKE = ""
>   
>   module_autoload_cryptodev = "cryptodev-module"
>   
> diff --git a/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a9.14.bb b/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a9.14.bb
> index dca2edb..fe75284 100644
> --- a/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a9.14.bb
> +++ b/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a9.14.bb
> @@ -12,7 +12,9 @@ RDEPENDS_${PN} = "wireless-tools"
>   PV = "r8.a9.14"
>   inherit module
>   
> -PR = "${MACHINE_KERNEL_PR}+a+gitr${SRCPV}"
> +PR = "${MACHINE_KERNEL_PR}+b+gitr${SRCPV}"
> +
> +PARALLEL_MAKE = ""
>   
>   # Tags: ol_r8.a9.14
>   SRCREV_wl18xx = "0e48c4b55cfa0d557a098cbe92b1f092f1a9ad67"
> @@ -26,7 +28,7 @@ S = "${WORKDIR}/compat-wireless"
>   
>   SRC_URI = "git://git.ti.com/wilink8-wlan/wl18xx.git;branch=${BRANCH_wl18xx};destsuffix=wl18xx;name=wl18xx \
>              git://git.ti.com/wilink8-wlan/backports.git;branch=${BRANCH_backports};destsuffix=backports;name=backports \
> - "
> +"
>   
>   export KLIB_BUILD="${STAGING_KERNEL_DIR}"
>   export KLIB="${D}"
> @@ -41,11 +43,10 @@ do_configure() {
>       make defconfig-wl18xx
>   
>       # Now generate the sourceipk with the properly configured sources
> -	sourceipk_do_create_srcipk
> +    sourceipk_do_create_srcipk
>   }
>   
>   do_install() {
>       # Install modules
>       oe_runmake modules_install
>   }
> -



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

end of thread, other threads:[~2014-09-04 20:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-04 20:06 [PATCH] recipes: HACK: disable parallel make for out-of-tree modules due to fixdep race Denys Dmytriyenko
2014-09-04 20:13 ` Cooper Jr., Franklin
2014-09-04 20:50 ` Carlos Hernandez

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.