Skip to contentSkip to conversation

recipes: HACK: disable parallel make for out-of-tree modules due to fixdep race

PATCH In review Denys Dmytriyenko 3 participants 3 messages Sep 4, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 recipes: HACK: disable parallel make for out-of-tree modules due to fixdep race

From: Denys Dmytriyenko <[email protected]>

* 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

---
 .../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(-)
meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bbappend +3 -1
index 8915917..8acb67a 100644
@@ -1,4 +1,6 @@
-PR_append = "-arago4+gitr${SRCPV}"
+PR_append = "-arago5+gitr${SRCPV}"
+
+PARALLEL_MAKE = ""
 
 RDEPENDS_${PN} += "linaro-pm-qa-utils"
 
meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module_1.6.bbappend +3 -1
index 7be7536..52bb6db 100644
@@ -1,4 +1,6 @@
-PR_append = "-arago2"
+PR_append = "-arago3"
+
+PARALLEL_MAKE = ""
 
 module_autoload_cryptodev = "cryptodev-module"
 
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a9.14.bb +5 -4
index dca2edb..fe75284 100644
@@ -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
 }
-
Signature · 1 line
2.0.4
#1 lore raw

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.

Quoted 110 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Thursday, September 04, 2014 3:07 PM
To: [email protected]
Subject: [meta-arago] [PATCH] recipes: HACK: disable parallel make for out- of-tree modules due to fixdep race

From: Denys Dmytriyenko <[email protected]>

* 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

---
 .../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(-)
(quoted diff) +0 -0

ddt_0.0.4.bbappend b/meta-arago-distro/recipes-devtools/ltp-ddt/ltp- ddt_0.0.4.bbappend
index 8915917..8acb67a 100644

meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bbappend +3 -1
@@ -1,4 +1,6 @@
-PR_append = "-arago4+gitr${SRCPV}"
+PR_append = "-arago5+gitr${SRCPV}"
+
+PARALLEL_MAKE = ""
 
 RDEPENDS_${PN} += "linaro-pm-qa-utils"
 
(quoted diff) +0 -0

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

meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module_1.6.bbappend +3 -1
@@ -1,4 +1,6 @@
-PR_append = "-arago2"
+PR_append = "-arago3"
+
+PARALLEL_MAKE = ""
 
 module_autoload_cryptodev = "cryptodev-module"
 
(quoted diff) +0 -0

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

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a9.14.bb +3 -1
@@ -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}"

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a9.14.bb +1 -3
@@ -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
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Acked-by on v1 1/1
#2 lore raw
In reply to Denys Dmytriyenko
Quoted 77 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

* 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

---
  .../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(-)
meta-arago-distro/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bbappend +3 -1
index 8915917..8acb67a 100644
@@ -1,4 +1,6 @@
-PR_append = "-arago4+gitr${SRCPV}"
+PR_append = "-arago5+gitr${SRCPV}"
+
+PARALLEL_MAKE = ""
 
  RDEPENDS_${PN} += "linaro-pm-qa-utils"
 
meta-arago-distro/recipes-kernel/cryptodev/cryptodev-module_1.6.bbappend +3 -1
index 7be7536..52bb6db 100644
@@ -1,4 +1,6 @@
-PR_append = "-arago2"
+PR_append = "-arago3"
+
+PARALLEL_MAKE = ""
 
  module_autoload_cryptodev = "cryptodev-module"
 
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a9.14.bb +5 -4
index dca2edb..fe75284 100644
@@ -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
  }
-