Skip to contentSkip to conversation

How to fast master kernel

DISCUSSION Aric 4 participants 6 messages May 10, 2016

lore
Share & tools
lore
#1 lore raw

Aric,

You might want to start by reading all the documentation and correlated how to's on the following website:
http://kernelnewbies.org/. This would probably be a good start.

Happy kernel hacking.

--

Kind regards,
Matthew Bobrowski

Quoted 17 lines · Aric

Hi all,

I'm a newcomer, hope to learn linux kernel together. How can I
contribute to kernel programming? Any good tutorials and tranings ? Why so silence this mail-alias.

/BRs

Aric Wang

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

#2 lore raw
In reply to Aric
Quoted 3 lines · Aric

I'm a newcomer, hope to learn linux kernel together. How can I contribute to kernel programming? Any good tutorials and tranings ? Why so silence this mail-alias.

Step 0: Figure out *why* you want to contribute. The answer you seek depends a lot on why you're asking the question....

Just because it sounds cool?

You bought something on Ebay and discovered it doesn't have a driver?

Your employer just told you that your company's new widget needs a driver?

You have a particular interest in filesystems, or crypto, or hypervisors, or whatever?

You just want to give back to the community?

(If the latter, I suggest just building a new linux-next kernel every week or so, and report any issues. We need more testers more than we need more code, and the learning curve for testing is a *lot* lower...)

In fact, here's the learning curve:

$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
$ git remote add linux-next git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
$ git fetch linux-next
$ git fetch --tags linux-next

(build and boot a test kernel)

... # later on a week or so later...

$ git remote update     (note that 'git pull' does *not* work for linux-next)
(mount and boot a test kernel)

Yeah, it really *is* that simple.. :)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160510/f1d26f07/attachment.bin

#3 lore raw
Quoted 8 lines · Valdis.Kletnieks at vt.edu
Quoted 3 lines · Aric

I'm a newcomer, hope to learn linux kernel together. How can I contribute to kernel programming? Any good tutorials and tranings ? Why so silence this mail-alias.

Step 0: Figure out *why* you want to contribute. The answer you seek depends a lot on why you're asking the question....

... snip ...

not sure who it was (maybe even valdis) who once said, "Saying you
want to get into kernel programming but have no idea where to start so can someone give you suggestions is like saying you want to write a book but don't know what to write about so can someone give you any ideas."

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#4 lore raw
Quoted 5 lines · Robert P. J. Day

not sure who it was (maybe even valdis) who once said, "Saying you
want to get into kernel programming but have no idea where to start so can someone give you suggestions is like saying you want to write a book but don't know what to write about so can someone give you any ideas."

Yeah, that was me...

I'm also the one who said that we're approaching the point where the number
of people who are actually qualified to do serious hacking on the kernel
innards (like the scheduler, vfs, etc, not just a driver) is on the
same order of magnitude as the number of people qualified to be Formula-1
race car mechanics....
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160510/8ad8d07f/attachment.bin

#5 lore raw
Quoted 8 lines · Valdis.Kletnieks at vt.edu
Quoted 5 lines · Robert P. J. Day

not sure who it was (maybe even valdis) who once said, "Saying you
want to get into kernel programming but have no idea where to start so can someone give you suggestions is like saying you want to write a book but don't know what to write about so can someone give you any ideas."

Quoted 7 lines

Yeah, that was me...

I'm also the one who said that we're approaching the point where the number of people who are actually qualified to do serious hacking on the kernel innards (like the scheduler, vfs, etc, not just a driver) is on the same order of magnitude as the number of people qualified to be Formula-1 race car mechanics....

all those F-1 race cars run linux, anyway, so ... no big deal.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================