Re: Beginner guide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Prudhvee,

I would suggest first start with Kernel Basic and O.S Concept to understand where Kernel really fits in O.;S and then gradually speed up to learn How Kernel works by referring interesting books like Kernel Development by Robert Love and also have source code handy to map the Kernel source code with Book to understand the functionality.I Bet you that once you done with  Kernel Development by Robert Love then you can start working in community and then will let you know next step.

Regards
Sanjeev Sharma


On Wed, Jun 11, 2014 at 12:51 PM, Rohan Puri <rohan.puri15@xxxxxxxxx> wrote:



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 Sadha
<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.

I would suggest get the foundations right first and let's hope you know good C,
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.

>
>      I just want to know what I should learn and any suggested books to
> learn kernel programming.
>

Take an operating system course first. Get to know the basics then you
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.

>  Thank you,
>  Prudhvee.
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



--
        ---P.K.S

_______________________________________________
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


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux