Re: HOW TO UPCALL IN LINUX 2.6.28?

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

 



On Tue, Jul 28, 2009 at 4:24 PM, krushnaal pai<krisonearth@xxxxxxxxx> wrote:
> i tried to implement an upcall in linux 2.6.28 using the codes given in
> "http://people.ee.ethz.ch/~arkeller/linux/kernel_user_space_howto.html#ss7.1";
> ( i have attached them)
> but it just doesnt work....
>
> it does printk the very first msg but at the call instruction it gives an
> error
>
> also plz help me know about the environment variables
Could you please post error codes and also check if path to callee executable is
correct on your machine?
You need to compile first callee.c (with gcc callee.c -o callee)
then change path to callee executable in usermodehelper.c
and finally compile module usermodehelper.c.

Then insert module with insmod and it should work.
>

good luck,

Marek

-- 
as simple as primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
icq: 290551086
web: http://open-nandra.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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