Re: call_usermodehelper hang

From: Lee Revell
Date: Fri Feb 25 2005 - 13:09:06 EST


On Fri, 2005-02-25 at 22:47 +0530, Payasam Manohar wrote:
> hai all,
> I want to call a user program(script) from linux kernel.
> I am using Redhat linux 9( kernel version 2.4.20-8). With the help of
> call_usermodehelper I am calling the user level program from one of the
> kernel driver. I am setting the parameters correctly.
> int call_usermodehelper(char *path, char *argv, char *envp);
>
> The system is hanging after giving a call trace and the error
> Code:
> <0> Kernel Panic : Aiee,Killing interrupt handler
> In interrupt handler- not syncing.
>
> Any help is welcome.

I don't think you can do that from interrupt context.

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/