Re: [PLUG] kernel module compilation

2013-03-11 Thread Sagar Padhye
On 03/08/2013 03:09 PM, Shakthi Kannan wrote: Hi, --- On Thu, Mar 7, 2013 at 12:20 PM, Sagar Padhye wrote: | I am trying to learn linux kernel module programming using this document : | http://www.tldp.org/LDP/lkmpg/2.6/html/index.html \-- Can you try these examples? http://shakthimaan.co

Re: [PLUG] kernel module compilation

2013-03-11 Thread Prashant Shah
> > --- On Thu, Mar 7, 2013 at 12:20 PM, Sagar Padhye wrote: > | I am trying to learn linux kernel module programming using this document : > | http://www.tldp.org/LDP/lkmpg/2.6/html/index.html > \-- try http://lwn.net/Kernel/LDD3/ ___ Pune GNU/Linux Users Gro

Re: [PLUG] kernel module compilation

2013-03-08 Thread Shakthi Kannan
Hi, --- On Thu, Mar 7, 2013 at 12:20 PM, Sagar Padhye wrote: | I am trying to learn linux kernel module programming using this document : | http://www.tldp.org/LDP/lkmpg/2.6/html/index.html \-- Can you try these examples? http://shakthimaan.com/downloads.html#linux-device-driver-programming-

Re: [PLUG] kernel module

2009-07-02 Thread abhi
on Wed, 1 Jul 2009 13:13:53 +0530 Shakthi Kannan replied to : | Now how do i pass args to my module /call it externally? \-- by: |What do you mean by 'call it externally'? Hi shakti, by calling externally, i mean once i've insmoded a module(say the simple hello world), how do i make 'someone'

Re: [PLUG] Kernel module

2009-07-01 Thread Shakthi Kannan
Hi, --- On Wed, Jul 1, 2009 at 1:04 PM, abhi wrote: | Now how do i pass args to my module /call it externally? \-- What do you mean by 'call it externally'? I'd suggest that you read: Jonathan Corbet, Alessandro Rubini, and Greg Kroah-Hartman. Linux Device Drivers. (3rd ed.). O'Reilly. http://lw

Re: [PLUG] Kernel module

2009-07-01 Thread abhi
hi shakti kannan, I got ur code and the tut to passing args to a module. And now after making modifications, my code works. Now how do i pass args to my module /call it externally? Thanks, Cheers -- "The best security against revolution is in constant correction of abuses and the introduction o

Re: [PLUG] kernel module

2009-06-29 Thread Shakthi Kannan
Hi, --- On Mon, Jun 29, 2009 at 2:01 PM, abhi wrote: | MODULE_PARM (agent_name, "s"); | MODULE_PARM (agent_code, "i"); | | make -C /lib/modules/2.6.27.5-117.fc10.i686/build \-- That is a new kernel and MODULE_PARM is deprecated? http://lwn.net/Articles/107303/ Try using MODULE_PARAM_DESC, and ex

[PLUG] kernel module

2009-06-29 Thread abhi
Hi. I have begun writing kernel modules and facing an issue regarding passing args to the module: Here's my code: #include #include #include static char *agent_name = "UNKNOWN"; static int agent_code = 47; MODULE_PARM (agent_name, "s"); MODULE_PARM (agent_code, "i"); static int __init my_init_fu

Re: [PLUG] kernel module usage

2004-08-25 Thread Amit Gud
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 25 August 2004 04:04 pm, Swapnil Nagle wrote: > Hi all, > > Is there any way to know which processes are using a specific kernel > module ? Theres no straight forward way of doing this. Use other info. about the process under considerat

[PLUG] kernel module usage

2004-08-25 Thread Swapnil Nagle
Hi all, Is there any way to know which processes are using a specific kernel module ? Thanks, Swapnil. -- __ Pune GNU/Linux Users Group Mailing List: ([EMAIL PROTECTED]) List Information: http://plug.org.in/mailing-list/lis