mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* calling call_usermodehelper from interrupt context
@ 2005-02-26  7:54 Payasam Manohar
  2005-02-26  8:14 ` Andrew Morton
  2005-02-27 22:49 ` linux-os
  0 siblings, 2 replies; 4+ messages in thread
From: Payasam Manohar @ 2005-02-26  7:54 UTC (permalink / raw)
  To: linux-kernel


hai all,
     Is it possible to call call_usermodehelper from interrupt context.
I want to call a user program from the keyboard driver. When am calling, 
it is hanging, and giving the error that
    <0> Kernel panic : Aiee, killing interrupt handler
        In interrupt handler -- not syncing.
I am using Redhat linux 9.

Can anybody please help me.


  Thanks&Regards,

   P.Manohar,


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: calling call_usermodehelper from interrupt context
  2005-02-26  7:54 calling call_usermodehelper from interrupt context Payasam Manohar
@ 2005-02-26  8:14 ` Andrew Morton
  2005-02-26  8:26   ` Payasam Manohar
  2005-02-27 22:49 ` linux-os
  1 sibling, 1 reply; 4+ messages in thread
From: Andrew Morton @ 2005-02-26  8:14 UTC (permalink / raw)
  To: Payasam Manohar; +Cc: linux-kernel

Payasam Manohar <pmanohar@lantana.cs.iitm.ernet.in> wrote:
>
> Is it possible to call call_usermodehelper from interrupt context.

No.  You'll need to run schedule_work() and then run call_usermodehelper()
from within the work function.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: calling call_usermodehelper from interrupt context
  2005-02-26  8:14 ` Andrew Morton
@ 2005-02-26  8:26   ` Payasam Manohar
  0 siblings, 0 replies; 4+ messages in thread
From: Payasam Manohar @ 2005-02-26  8:26 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

hai Mr.Andrew,
    Thanks for ur help.
If u find some more info regarding this please send me. I want to call 
user program (let it be hello world program ) from keyboard driver,

>You'll need to run schedule_work() and then run call_usermodehelper() 
Is it the right way to do it.





   Thanks&Regards,

   P.Manohar,
   Sat, 26 Feb 2005, Andrew Morton wrote:

> Payasam Manohar <pmanohar@lantana.cs.iitm.ernet.in> wrote:
>>
>> Is it possible to call call_usermodehelper from interrupt context.
>
> No.  You'll need to run schedule_work() and then run call_usermodehelper()
> from within the work function.
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: calling call_usermodehelper from interrupt context
  2005-02-26  7:54 calling call_usermodehelper from interrupt context Payasam Manohar
  2005-02-26  8:14 ` Andrew Morton
@ 2005-02-27 22:49 ` linux-os
  1 sibling, 0 replies; 4+ messages in thread
From: linux-os @ 2005-02-27 22:49 UTC (permalink / raw)
  To: Payasam Manohar; +Cc: linux-kernel

On Sat, 26 Feb 2005, Payasam Manohar wrote:

>
> hai all,
>    Is it possible to call call_usermodehelper from interrupt context.

Of course not! I've seen this message before. Either it's a joke
or you have no clue about what interrupts are.

Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
  Notice : All mail here is now cached for review by Dictator Bush.
                  98.36% of all statistics are fiction.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-02-27 22:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-26  7:54 calling call_usermodehelper from interrupt context Payasam Manohar
2005-02-26  8:14 ` Andrew Morton
2005-02-26  8:26   ` Payasam Manohar
2005-02-27 22:49 ` linux-os

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®