#18244: procd/init cause reboot loop if kmodloader /etc/modules-boot.d takes to
long
--------------------------+-----------------------------------
 Reporter:  jj+openwrt@…  |      Owner:  developers
     Type:  defect        |     Status:  new
 Priority:  normal        |  Milestone:
Component:  base system   |    Version:  Barrier Breaker 14.07
 Keywords:                |
--------------------------+-----------------------------------
 /sbin/init currently does AFAIK the following (shortened, some steps left
 out):
 1st watchdog_init()
 2nd pid = fork(), for kmodloader /etc/modules-boot.d/
 3rd waitpid(pid, NULL, 0) for pid in 2nd
 4th preinit()

 When the waitpid() does not return in time, the watchdog will trigger and
 reset the device.
 This might happen on devices with a larger amount of modules in /etc
 /modules-boot.d/ and/or slow boot devices for example with software SPI.
 The process of kmodloader takes longer as it scans as many modules it
 needs to satisfy all dependencies.
 It's happening on my TP-W8970, when adding some modules like for more
 filesystems or other USB hardware to the base image.

--
Ticket URL: <https://dev.openwrt.org/ticket/18244>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to