All of lore.kernel.org
 help / color / mirror / Atom feed
From: valdis.kletnieks@vt.edu (valdis.kletnieks at vt.edu)
To: kernelnewbies@lists.kernelnewbies.org
Subject: How to contribute (was Re: Kernelnewbies Digest, Vol 77, Issue 7
Date: Wed, 12 Apr 2017 08:34:51 -0400	[thread overview]
Message-ID: <41462.1492000491@turing-police.cc.vt.edu> (raw)
In-Reply-To: <5a737810-7b6b-3859-92a4-c59845088706@gmail.com>

On Wed, 12 Apr 2017 10:30:27 +0800, Tran Ly Vu said:

> How exactly do i start to contribute to linux community, i.e fix bug, etc

Step 0:  Figure out *why* you want to contribute to the Linux kernel.

Did your boss just tell you that you have 6 weeks to write a driver for
your company's new widget?

Do you have a device that doesn't have Linux support?

Is your kernel crashing/misbehaving?

Do you have an intense interest in filesystems, or memory management, or
networking, or process scheduling, or other aspect of kernels?

Do you just want to give back to the community?

Did you think it was a good way to attract members of the appropriate gender?

What you do next will depend on *why* you're here, and what your current
technical skills are.

Note that asking others for what you should do is as bad an idea as
asking people whether you should write a murder mystery or a romance novel,
and for exactly the same reason.  If you're doing it because somebody else
suggested it but you don't care for it, the results will be bad.

Though if you just want to give back to the community, the easiest thing
to do, and the most useful, is to build and boot linux-next kernels and
see if anything breaks on your system.  We have *lots* of people slinging
code, and not so many testing.  And testing is easier than coding. :)

Here's the cheat sheet for linux-next:

$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
$ cd linux
$ 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

(now get a .config file - grabbing your distro's config is a good place
to start. 'make locallmodconfig' if you want a faster build by not building
device driver modules for devices you don't have.
Then do a 'make' and install/boot your kernel.  Google for detailed
instructions for how to build/install your own kernel on your distro

... # later on - do this once every 1-3 weeks or as time permits
$ git remote update
$ make oldconfig
$ make
(install as above)
Boot it, and report any problems.

Do *not* do a 'git pull' to get the most recent linux-next, it won't do what
you think.

Yes, it really *is* that simple.


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

  parent reply	other threads:[~2017-04-12 12:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1.1491926402.21113.kernelnewbies@kernelnewbies.org>
2017-04-12  2:30 ` Kernelnewbies Digest, Vol 77, Issue 7 Tran Ly Vu
2017-04-12 10:29   ` Nan Xiao
2017-04-12 11:32     ` Sébastien Masson
2017-04-12 12:34   ` valdis.kletnieks at vt.edu [this message]
2017-04-12 18:25     ` How to contribute (was " Arthur Brainville (Ybalrid)
2017-04-12 20:47       ` valdis.kletnieks at vt.edu
2017-04-12 21:25         ` Arthur Brainville (Ybalrid)
2017-04-16  6:31     ` Aishwarya Pant
2017-04-16  7:17       ` Amit Kumar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41462.1492000491@turing-police.cc.vt.edu \
    --to=valdis.kletnieks@vt.edu \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.