Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 6596] New: Slow bootup if mdev is chosen
@ 2013-10-24  6:41 bugzilla at busybox.net
  2013-10-24  8:19 ` [Buildroot] [Bug 6596] " bugzilla at busybox.net
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2013-10-24  6:41 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=6596

           Summary: Slow bootup if mdev is chosen
           Product: buildroot
           Version: 2013.08
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: andreas.koop at zf.com
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


Created attachment 5090
  --> https://bugs.busybox.net/attachment.cgi?id=5090
disable CONFIG_UEVENT_HELPER_PATH option

When I choose mdev my Nios II based board stalls for about two minutes during
boot up. Then it proceeds again and boots normally. I've tracked the issue
down. It's because buildroot sets CONFIG_UEVENT_HELPER_PATH to "/sbin/mdev"
during kernel configuration. When I set it to an empty string Linux (3.10.0)
boots up as usual again.
If you look at the kernel's own description of CONFIG_UEVENT_HELPER_PATH it
states it shouldn't be used today anymore since it creates a high system load
on bootup.
Mdev still works after it's startup script has been run. It writes "/sbin/mdev"
to /proc/sys/kernel/hotplug which causes the kernel to inform mdev about new
events.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

* [Buildroot] [Bug 6596] Slow bootup if mdev is chosen
  2013-10-24  6:41 [Buildroot] [Bug 6596] New: Slow bootup if mdev is chosen bugzilla at busybox.net
@ 2013-10-24  8:19 ` bugzilla at busybox.net
  2014-02-07  8:43 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2013-10-24  8:19 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=6596

--- Comment #1 from Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> 2013-10-24 08:19:22 UTC ---
We have had a discussion about this topic in the past:
http://lists.busybox.net/pipermail/buildroot/2013-July/075148.html

I indeed have noticed the same slowdown, and our solution was the same (setting
the UEVENT_HELPER to empty).

Given that the mentioned thread changed S10mdev to set mdev as helper after
boot, I don't think we still need/want the in-kernel option.

Would you mind sending this change as a proper patch to the mailing list,
including description and Signed-off-by? This would provide you with the
necessary credit, and also facilitates discussion on the patch.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

* [Buildroot] [Bug 6596] Slow bootup if mdev is chosen
  2013-10-24  6:41 [Buildroot] [Bug 6596] New: Slow bootup if mdev is chosen bugzilla at busybox.net
  2013-10-24  8:19 ` [Buildroot] [Bug 6596] " bugzilla at busybox.net
@ 2014-02-07  8:43 ` bugzilla at busybox.net
  2014-02-07 10:19 ` bugzilla at busybox.net
  2014-02-09 22:17 ` bugzilla at busybox.net
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2014-02-07  8:43 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=6596

--- Comment #2 from Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> 2014-02-07 08:43:41 UTC ---
Patch sent to the mailing list, awaiting integration, after which this bug can
be closed...

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

* [Buildroot] [Bug 6596] Slow bootup if mdev is chosen
  2013-10-24  6:41 [Buildroot] [Bug 6596] New: Slow bootup if mdev is chosen bugzilla at busybox.net
  2013-10-24  8:19 ` [Buildroot] [Bug 6596] " bugzilla at busybox.net
  2014-02-07  8:43 ` bugzilla at busybox.net
@ 2014-02-07 10:19 ` bugzilla at busybox.net
  2014-02-09 22:17 ` bugzilla at busybox.net
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2014-02-07 10:19 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=6596

Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

* [Buildroot] [Bug 6596] Slow bootup if mdev is chosen
  2013-10-24  6:41 [Buildroot] [Bug 6596] New: Slow bootup if mdev is chosen bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2014-02-07 10:19 ` bugzilla at busybox.net
@ 2014-02-09 22:17 ` bugzilla at busybox.net
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2014-02-09 22:17 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=6596

Peter Korsgaard <jacmet@uclibc.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Peter Korsgaard <jacmet@uclibc.org> 2014-02-09 22:17:00 UTC ---
Committed in git (05e2e35715d104e9dd67b4013d9b16a47b8eb3c0), thanks

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

end of thread, other threads:[~2014-02-09 22:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-24  6:41 [Buildroot] [Bug 6596] New: Slow bootup if mdev is chosen bugzilla at busybox.net
2013-10-24  8:19 ` [Buildroot] [Bug 6596] " bugzilla at busybox.net
2014-02-07  8:43 ` bugzilla at busybox.net
2014-02-07 10:19 ` bugzilla at busybox.net
2014-02-09 22:17 ` bugzilla at busybox.net

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