Re: call_usermodehelper() kernel panic!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 26 Jan 2007, Eviltime wrote:

> 	call_usermodehelper(argv [0], argv, envp);
> 	[...]
> but when I run it, it causes a kernel panic during the call_usermodehelper()
> call.. this is the kernel panic message:
> <0> Kernel panic: Aiee, killing interrupt handler!
> In interrupt handler - not syncing

This indicates that you are calling call_usermodhelper() from within an 
interrupt context. This would never work, because of call_usermodhelper() 
-> call_usermodehelper_keys() -> wait_for_completion() -> schedule() -> 
boom. You can't schedule from an interrupt context.

This fact is even mentioned in the comment of call_usermodehelper_keys() 
function.

-- 
Jiri Kosina

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux