2005-02-25 17:18:36

by P.Manohar

[permalink] [raw]
Subject: call_usermodehelper hang


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.



Thanks&Regards,

P.Manohar.


2005-02-25 18:06:15

by Lee Revell

[permalink] [raw]
Subject: Re: call_usermodehelper hang

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