Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] init-ifupdown: adjust priority of networking to fix system freeze problem
@ 2013-12-12  8:38 Qi.Chen
  2013-12-12  8:38 ` [PATCH 1/1] " Qi.Chen
  0 siblings, 1 reply; 2+ messages in thread
From: Qi.Chen @ 2013-12-12  8:38 UTC (permalink / raw)
  To: openembedded-core

From: Chen Qi <Qi.Chen@windriver.com>

The following changes since commit bfec6b1947b472d6f1c9c7f297e66ede5e921069:

  ref-manual: Removed "work" from the SDK_DEPLOY directory. (2013-12-11 14:20:19 +0000)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib ChenQi/networking-connman
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/networking-connman

Chen Qi (1):
  init-ifupdown: adjust priority of networking to fix system freeze
    problem

 .../init-ifupdown/init-ifupdown_1.0.bb             |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.7.9.5



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

* [PATCH 1/1] init-ifupdown: adjust priority of networking to fix system freeze problem
  2013-12-12  8:38 [PATCH 0/1] init-ifupdown: adjust priority of networking to fix system freeze problem Qi.Chen
@ 2013-12-12  8:38 ` Qi.Chen
  0 siblings, 0 replies; 2+ messages in thread
From: Qi.Chen @ 2013-12-12  8:38 UTC (permalink / raw)
  To: openembedded-core

From: Chen Qi <Qi.Chen@windriver.com>

On mpc8315e, a system freeze is encountered at system boot time if
connman and init-ifupdown are installed.

The error message before the freeze is:
    "ip: RTNETLINK answers: File exists"

This problem is introduced by the following commit.
    dc80eea sysvinit: fix problem in switching runlevels

Part of the above commit is to make the networking init script run
at runlevel 2 3 4 5 instead of runlevel S. However, after the change,
networking is run after connman. And this causes the problem stated
above.

Make networking run first when entering runlevel 2 3 4 5, so that we
don't break things.

[YOCTO #5651]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 .../init-ifupdown/init-ifupdown_1.0.bb             |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb b/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb
index 0f4290c..77e8384 100644
--- a/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb
+++ b/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb
@@ -9,7 +9,7 @@ PR = "r3"
 inherit update-rc.d
 
 INITSCRIPT_NAME = "networking"
-INITSCRIPT_PARAMS = "start 10 2 3 4 5 . stop 80 0 6 1 ."
+INITSCRIPT_PARAMS = "start 01 2 3 4 5 . stop 80 0 6 1 ."
 
 SRC_URI = "file://copyright \
            file://init \
-- 
1.7.9.5



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

end of thread, other threads:[~2013-12-12  8:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-12  8:38 [PATCH 0/1] init-ifupdown: adjust priority of networking to fix system freeze problem Qi.Chen
2013-12-12  8:38 ` [PATCH 1/1] " Qi.Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox