Re: stopping kernel after preprocessing...

2008-09-27 Thread Mulyadi Santosa
On Sat, Sep 27, 2008 at 7:50 AM, Om [EMAIL PROTECTED] wrote: Hi, How do we stop the kernel make right after preprocessing stage? I have a module, which gives me a strange message and I would like to see the preprocessor output. I knew how to produce preprocessed files in the kernel. I can't

Re: Resource acquiring by contending processes.

2008-09-27 Thread Mulyadi Santosa
Hi... On Wed, Sep 17, 2008 at 6:23 PM, Himanshu Chauhan [EMAIL PROTECTED] wrote: Hello all, Suppose I have a circular buffer in a driver and there are 3 threads/processes sleeping for the data in it. Now when data arrives in circular buffer and I post a wakeup, what will happen? Only one of

Re: stopping kernel after preprocessing...

2008-09-27 Thread Rene Herman
On 27-09-08 02:50, Om wrote: How do we stop the kernel make right after preprocessing stage? I have a module, which gives me a strange message and I would like to see the preprocessor output. I knew how to produce preprocessed files in the kernel. I can't recall it. If anybody knows, please

external driver and struct device

2008-09-27 Thread Ramagudi Naziir
hello all, i am writing an external driver (not in-tree) and many kernel APIs need a struct device. for example - clock API and DMA API... so how can I have it ? I currently don't have a probe function that gives me a device pointer... should I fake a device ? or maybe I better register a

block allocation

2008-09-27 Thread Vineet Agarwal
hello everybody, I want to allocate few blocks from a blockgroup in ext2 within a range of offset specified by user. Is it possible of doing so if yes then can someone please explain.As i know balloc.c and ialloc.c are responsible for it and they work on entire file system can i somehow

Re: A new buddy in kernel programming

2008-09-27 Thread आलोक राज
Hi you can go to sourceforge.net and pick up some projects there. Regards Alok On Wed, Sep 24, 2008 at 5:30 AM, Sandeep K Sinha [EMAIL PROTECTED]wrote: So, When you have a pretty good idea of the linux kernel, then start wetting your hands and feet now !! Take onto some good projects and