Skip to contentSkip to conversation

call_usermodehelper_exec() hangs in call to queue_work()

DISCUSSION Timur Tabi 1 participant 1 message Oct 20, 2008

lore
Share & tools
lore

Timur Tabi

author
#0 lore raw

I'm updating my driver to use kobjects so that I can call uevents. I've never used any of these calls before, so I'm sure I'm doing something stupid, but I need help.

I'm creating one kset and three kobjects. I call kobject_uevent after calling kobject_init_and_add(). The second time I call kobject_uevent(), the kernel hangs when call_usermodehelper_exec() calls queue_work(). I haven't been able to trace the code past that yet.

Does anyone have any idea what I'm doing wrong? I'm hoping this is a common problem.

Signature · 2 lines
Timur Tabi
Linux kernel developer at Freescale