Re: Sending signals to user space program from kernel space

2009-02-02 Thread Paraneetharan Chandrasekaran
Hi, You can write a netlink socket interface between your char driver and userspace program. User space program can be made to wait in "recvfrom" system call. Whenever even number comes in "i", a netlink messages can be send to user space program. -- Paraneetharan C 2009/2/3 Sandeep

Re: file system for streaming data

2009-02-02 Thread Sandeep K Sinha
On Tue, Feb 3, 2009 at 10:53 AM, pradeep singh wrote: > On Tue, Feb 3, 2009 at 10:26 AM, Sharanagouda Biradar > wrote: >> >> hi everyone >> can anyone please let me know how a file system handels a streaming data ? > > Streaming data? Is it very different from normal "data"? > I doubt if filesys

Re: Sending signals to user space program from kernel space

2009-02-02 Thread Sandeep K Sinha
On Tue, Feb 3, 2009 at 6:59 AM, Pei Lin wrote: > why not use copy_from_user and copy_to_user? > DIdn't understand what you meant, but the question is regarding a signal not data? Am I missing something ??? > 2009/2/1 Sandeep K Sinha : >> Write a daemon in userspace which runs in background and c

Re: file system for streaming data

2009-02-02 Thread pradeep singh
On Tue, Feb 3, 2009 at 10:26 AM, Sharanagouda Biradar wrote: > > hi everyone > can anyone please let me know how a file system handels a streaming data ? Streaming data? Is it very different from normal "data"? I doubt if filesystems on Linux distinguish between streaming data and normal data. O

file system for streaming data

2009-02-02 Thread Sharanagouda Biradar
hi everyone can anyone please let me know how a file system handels a streaming data ? as i am not getting any information on google . references to good websites or links are appreciated -- regards sharan

Re: How printf output messages to kernel with uclibc lib

2009-02-02 Thread loody
> This message is in elf2flt utility: > > # grep 'No relocations in code' /usr/bin/* > bfin-linux-uclibc-elf2flt:No relocations in code!, relocs=0x%04xCan't open > output file %s > bfin-uclinux-elf2flt:No relocations in code!, relocs=0x%04xCan't open output > file %s > > This is a problem of your

Re: sector size in block device drivers

2009-02-02 Thread Greg Freemyer
On Mon, Feb 2, 2009 at 3:42 AM, nidhi mittal wrote: > sorry but my question it seems wsnt clear ... > as my ques was > > suppose i have this function > > blk_queue_hardsect_size( > request_queue_t *queue , unsigned short max ); > or some other function takes sector as parameter > there in any of t

Re: Who originated the SI ?

2009-02-02 Thread Mulyadi Santosa
Hi On Sun, Feb 1, 2009 at 4:52 PM, Raz wrote: > I am having a storm of softirqs every few seconds. > How can I tell which tasklet/softirq is responsible for a burst of SI in top ? By "top" you mean "top" utility? well you can't. All of them will be seen as been running inside ksoftirqd. BTW, ho

Re: streaming file system

2009-02-02 Thread Sandeep K Sinha
Hey Biradar, Look into: grid.hust.edu.cn/chengbin/document/HPCAsia05(CHENGBin).ppt www.freshpatents.com/Seek-minimized-recoverable-streaming-file-system-dt20090108ptan20090012929.php msdn.microsoft.com/en-us/library/aa940014(WinEmbedded.5).aspx members.driverguide.com/driver/detail.php?driverid=

streaming file system

2009-02-02 Thread Sharanagouda Biradar
hi everyone i would like to know every thing about streaming file system .i am not getting any information on streaming file system on net .please help me find the resources on net as i am planning to build a benchmark for streaming file systems -- thanks & regards sharan

Re: trouble git'ting the kernel source thru an http proxy

2009-02-02 Thread pradeep singh
On Thu, Jan 22, 2009 at 8:13 PM, Robert P. J. Day wrote: > > i recently set up my account on an internal corporate network to use > an HTTP proxy to allow git to grab the kernel source, then ran > > $ git clone http://www.kernel.org/pub/...etc etc ... > > which gets as far as getting the pack li

Re: deadlock hrtimers

2009-02-02 Thread pradeep singh
[...] > When I try to use the module in qemu everything seems to work (the > computation continue and the results are as I aspected) but I had a > sort of warning on the emulator. > In attachement I add this messages. > Otherwise when I try the module on real pc the machine hang on in a > deadlock,

Re: Information about some task_t members

2009-02-02 Thread Henrik Austad
On Saturday 31 January 2009 19:13:38 Andreas Leppert wrote: > Hello, Hi! First off, which version of the kernel are you looking at? > could you give me some information about these members of the > task_struct structure in sched.h? What do they mean? I have written down > what I do understand ..

Re: sector size in block device drivers

2009-02-02 Thread nidhi mittal
sorry but my question it seems wsnt clear ... as my ques was suppose i have this function blk_queue_hardsect_size(request_queue_t *queue , unsigned short max ); or some other function takes sector as parameter there in any of these functions how do i decide that whether i should send number sect