Re: ieee papers

2010-02-19 Thread Krushnaal Pai
, 2010 at 8:13 PM, Manish Katiyar mkati...@gmail.com wrote: On Fri, Feb 19, 2010 at 12:47 AM, Krushnaal Pai krisonea...@gmail.com wrote: OK... SORRY FOR USING UR PORTAL FOR IEEE PAPERS WONT DO IT AGAIN And typing in caps is again *something to avoid* while posting

ieee papers

2010-02-18 Thread Krushnaal Pai
Anybody got any full sample ieee papers/abstracts?... Plz mail me guyz..

Re: ieee papers

2010-02-18 Thread Krushnaal Pai
:04 PM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: On Thu, Feb 18, 2010 at 4:24 PM, Krushnaal Pai krisonea...@gmail.com wrote: Anybody got any full sample ieee papers/abstracts?... Plz mail me guyz.. Since when kernelnewbies becomes the new

kernel to kernel read page reading less bytes

2009-10-02 Thread krushnaal pai
i created a kernel to kernel tcp socket sent 4096 bytes from server , but in client on printing using %s it prints only 980 bytes can anyone plz tell me why its happening? Am i missing anything?

different processes using same file object

2009-09-29 Thread krushnaal pai
i have 2 completely different processes A and B (they do not have any relationship) suppose A opens a file with file descriptor 4 and B opens another file with file descriptor 5 can process A use the fd 5 (i.e using the file object of processs B) by any means.. if suppose i let the fd 4 of

Re: different processes using same file object

2009-09-29 Thread krushnaal pai
even if process A does recv the file descriptions thru sockets how will it use the file object of process B? On Tue, Sep 29, 2009 at 2:58 PM, Luciano Rocha luci...@eurotux.com wrote: On Tue, Sep 29, 2009 at 02:20:00PM +0530, krushnaal pai wrote: i have 2 completely different processes A and B

Re: different processes using same file object

2009-09-29 Thread krushnaal pai
then proc B does a dup2(5,4) sys call .//dup2(oldfd,newfd) so would proc A be reading/writing the contents of fd=5(file opened by proc B) when it does a read/write on fd=4(file opened by proc A)? On Tue, Sep 29, 2009 at 3:48 PM, krushnaal pai krisonea...@gmail.comwrote: even if process

copy_from_user and copy_to_user example

2009-09-20 Thread krushnaal pai
Dear all, I wonder if anyone could provide the example for the usage of copy_from_usr and copy_to_usr including the programs both in kernel space and in user space. how to define the memory or buffer where the data is communicated. thanks very much, k

making a global structure

2009-09-14 Thread krushnaal pai
hello i am a newbie, i know about exporting variables between modules, but what i am trying right now is to export a structure( i want to make a global structure) i wrote this in one module. Code: struct abc{ int y; int a[10]; int *z[10]; }; struct abc *x; EXPORT_SYMBOL(x); then i tried to

system calls that require disk access

2009-08-31 Thread krushnaal pai
can sumone plz give me a complete list of the system calls(according to linux kernel 2.6.18 or above) that makes disk access at some point of time. For eg. read sys call makes a disk access when it doesnt find the page in page cache.

Re: how to check whether execve is successful or not?

2009-08-29 Thread krushnaal pai
the app termination. On Sat, Aug 29, 2009 at 10:10 AM, krushnaal pai krisonea...@gmail.comwrote: what im trying to do is executing an app from a user mode handwritten app using execve sys call and then i want to ack the kernel whether the execve was succ or not. but as we know that the execve

executables and its dependencies?

2009-08-28 Thread krushnaal pai
can someone plz list down all the dependencies of an executable.

how to check whether execve is successful or not?

2009-08-28 Thread krushnaal pai
i tried to printf the return values of error codes but that wont work bcoz the elf does run successfully(no errors) As execve doesnt return anything on a successful execve sys call,is there a way to check whether it was successful or not. neglect the fact that i can see the elf running

Re: how to check whether execve is successful or not?

2009-08-28 Thread krushnaal pai
it. is there any other way to do so? On Sat, Aug 29, 2009 at 3:31 AM, Matthias Kaehlcke matth...@kaehlcke.netwrote: El Sat, Aug 29, 2009 at 12:40:18AM +0530 krushnaal pai ha dit: i tried to printf the return values of error codes but that wont work bcoz the elf does run successfully

Re: elf working info?

2009-08-27 Thread krushnaal pai
PM, krushnaal pai wrote: with respect to the very large linux applications available on the net when we install on a particular directory,the dir will contain *many files and an executable*(elf). now tell me, are the *files* required to be on the computer before execv is issued against

elf working info?

2009-08-26 Thread krushnaal pai
with respect to the very large linux applications available on the net when we install on a particular directory,the dir will contain *many files and an executable*(elf). now tell me, are the *files* required to be on the computer before execv is issued against the executable(i mean if those

howto sendpages over network

2009-08-21 Thread krushnaal pai
by converting the char *buffer into pages i want to send pages over the network thru socket. how to?

creating global variables in kernel

2009-08-17 Thread krushnaal pai
i want to create global variables /pointers in kernel which should be accessible to all kernel modules ( i.e all kernel modules should be sharing the same copy ) how to?

sending pid of user process to kernel

2009-08-14 Thread krushnaal pai
i want to send the pid of a user process from user space to kernel in the actual read function without using sockets. how to?

single server multiple clients at kernel level

2009-08-08 Thread krushnaal pai
i want to create a socket program in which there is single server at kernel level serving multiple clients which are also at kernel level.? can anyone plz tell me howto ? if not , tell me the modifications required to be done in the user space single server multiple clients program to make it

Re: HOW TO UPCALL IN LINUX 2.6.28?

2009-07-29 Thread krushnaal pai
i mean when i modified the callee function to return '5' instead of '0' , however the usermodehelper module does not receive 5,instead it receives 0 and yet says 'everything all right', all i want is that it(module) should receive 5. On Wed, Jul 29, 2009 at 1:03 PM, Belisko Marek

HOW TO UPCALL IN LINUX 2.6.28?

2009-07-28 Thread krushnaal pai
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

ksocket problem

2009-07-14 Thread krushnaal pai
i tried ksocket when i tried to to do make for the makefile in sample/tcp/srv it gave me the foll error,plz help [r...@localhost srv]# make make -C /lib/modules/2.6.28/build M=/home/k/ksock/sample/tcp/srv modules make[1]: Entering directory `/usr/src/linux-2.6.28' CC [M]

is i386 and m32r equivalent?

2009-07-11 Thread krushnaal pai
i used 2.6.11 and found codes written fro pentium 32 bit architecture in i386, but now i moved to 2.6.28 but thr is no i386 folder in arch dir.. *so can u tell me which is the i386 equivalent directory in arch dir of 2.6.28? *

how to create our own system calls?

2009-06-28 Thread krushnaal pai
can sumone plz tell me in detail or gimme any reference for how to create our own system calls ? i want to write my own new system call.

Fwd: how to call function in one module frm another?

2009-06-14 Thread krushnaal pai
im new to linux can sumone plzz tell me* how to call a function defined in one module frm another module?* *also i have made some changes in the kernel itself and from there i have made a call to the function defined in a new module,now everytime i make some changes to this new module do i have

linux kernel assembly language

2009-06-14 Thread krushnaal pai
the asm language used in linux kernel is a bit different from 8086 assembly language so can anyone suggest an e-book or reference material on the asm language( i want to understand the language)

D_LOOKUP in REAL_LOOKUP?

2009-03-31 Thread krushnaal pai
in kernel 2.6.11 to retrieve a particular file the kernel calls d_lookup to check cache but if it is not found in dcache ,kernel calls real_lookup to search the hard disk. however inside real_lookup the kernel again calls d_lookup . can someone plz explain why?

d_lookup in real_lookup

2009-03-31 Thread krushnaal pai
in kernel 2.6.11 to retrieve a particular file the kernel calls d_lookup to check cache but if it is not found in dcache ,kernel calls real_lookup to search the hard disk. however inside real_lookup the kernel again calls d_lookup . can someone plz explain why?

d_lookup in real-lookup?

2009-03-31 Thread krushnaal pai
in kernel 2.6.11 to retrieve a particular file the kernel calls d_lookup to check cache but if it is not found in dcache ,kernel calls real_lookup to search the hard disk. however inside real_lookup the kernel again calls d_lookup . can someone plz explain why?

d_lookup in real-lookup?

2009-03-31 Thread krushnaal pai
in kernel 2.6.11 to retrieve a particular file the kernel calls d_lookup to check cache but if it is not found in dcache ,kernel calls real_lookup to search the hard disk. however inside real_lookup the kernel again calls d_lookup . can someone plz explain why?

understanding the linux code

2009-03-26 Thread krushnaal pai
can someone plz tell me how to understand the linux hardware dependent code when we analyse all the functions that are nested one into another we finally arrive at the inline functions and macros ,so how do we understand those functions and macros

filesystem info

2009-03-14 Thread krushnaal pai
is there any link/e-book where the filesystem source code of 2.6.* kernel is explained or plz suggest an ebook on linux 2.6 filesystems( in detail )

elf working

2009-03-13 Thread krushnaal pai
can somebody plz give me detailed info on how an elf works? wht all happens when i run an elf? can somene give me the code that is used to run an elf for reference plz suggest books/links