On Wed, Jun 11, 2014 at 12:35 PM, Pranay Srivastava <pranjas@xxxxxxxxx> wrote:
On Wed, Jun 11, 2014 at 11:58 AM, Prudhvee Narasimha SadhaI would suggest get the foundations right first and let's hope you know good C,
<prudhvi.sada@xxxxxxxxx> wrote:
> Hi,
> My name is Prudhvee and I'm purusing my undergraduate second year. I'm
> intrested in kernel development but I'm unable to understand how to get into
> it.
> Can you please help me to become a kernel developer.
tricks are good to know but you should be able to understand code
written by others and be able to integrate the knowledge with what you
already know.
Agree. Ways to do this : -
1. Read/write/understand K&R C language.
2. To understand code written by others you have to start doing that. (I mean practice it).
If you haven't used semaphores or mutexes in user space code then do
that first, understand why is the need. For example why you need to
have a sycall to get a semaphore
but when working with pthreads you probably don't need that.
Understand compiler and make it your friend. Errors you get while
compiling, and things you can do for example why ((struct
mystruct*)(0))->member fails when you run code but &(((struct
mystruct*)(0))->member) works.
Basic idea is to get to understand how would you do it yourself, get
some ideas in your mind see if they should work or not. You may be
able to write code maybe without going through all that but in the
long run it would help.
Take an operating system course first. Get to know the basics then you
>
> I just want to know what I should learn and any suggested books to
> learn kernel programming.
>
can try to understand kernel code. You can start with LDD, i think a
new version is available now, but take an OS course in parallel or
read yourself.
Agree. Ways to do this : -
Get an OS course done, search for courses online, 2 of ones which I know are : -
1. http://www.cs.cmu.edu/~213/
2. CMUs OS course. Get an OS course done, search for courses online, 2 of ones which I know are : -
1. http://www.cs.cmu.edu/~213/
---P.K.S
> Thank you,
> Prudhvee.
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
--
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
- Rohan
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies