Wind River Support Network

HomeDefectsLIN6-9174
Fixed

LIN6-9174 : wrlinux 4.3 udevd (workers bug)

Created: Jan 4, 2015    Updated: Dec 3, 2018
Resolved Date: Jan 4, 2015
Found In Version: 6.0
Fix Version: 6.0.0.17
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

The following type of errors could appear at boot time:

Oct 16 17:27:47.495721 err CSPU-1 udevd[1271]: worker [1697] unexpectedly returned with status 0x000b Oct 16 17:27:47.495721 err CSPU-1 udevd[1271]: worker [1697] failed while handling '/devices/virtual/block/loop2'
Oct 16 17:27:47.495876 err CSPU-1 udevd[1271]: worker [1699] unexpectedly returned with status 0x000b Oct 16 17:27:47.495909 err CSPU-1 udevd[1271]: worker [1699] failed while handling '/devices/virtual/block/loop3'
Oct 16 17:27:47.497749 err CSPU-1 udevd[1271]: worker [1701] unexpectedly returned with status 0x000b Oct 16 17:27:47.497809 err CSPU-1 udevd[1271]: worker [1701] failed while handling '/devices/virtual/block/loop4'
Oct 16 17:27:47.497923 err CSPU-1 udevd[1271]: worker [1702] unexpectedly returned with status 0x000b Oct 16 17:27:47.497959 err CSPU-1 udevd[1271]: worker [1702] failed while handling '/devices/virtual/bdi/7:4'
Oct 16 17:27:47.499181 err CSPU-1 udevd[1271]: worker [1703] unexpectedly returned with status 0x000b Oct 16 17:27:47.499233 err CSPU-1 udevd[1271]: worker [1703] failed while handling '/devices/virtual/block/loop6'
Oct 16 17:27:47.499912 err CSPU-1 udevd[1271]: worker [1705] unexpectedly returned with status 0x000b Oct 16 17:27:47.499959 err CSPU-1 udevd[1271]: worker [1705] failed while handling '/devices/virtual/bdi/7:7'

If many mount points are present.

This is caused by the many udevd worker processes that act concurrently and bottleneck the system causing ~ 3 minutes timeouts ultimately leading to the above errors.

The udevchilds workaround - udevchilds=64 - simply limits the number of simultaneous udevd worker processes.

Workaround

the workaround presented at http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/kb/docDisplay?docId=mmr_kc-0107950&ac.admitted=1414664884439.876444892.492883150

setting udevchilds=64 bypasses the issue

Steps to Reproduce

configure a wrlinux 4.3 CGL based project for the matxm BSP
create multiple virtual devices.

Other Downloads


Live chat
Online