Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×
Programming Software IT Linux Technology

Becoming a Linux Kernel Programmer? 52

Young Grasshoopa asks: "In my 6 years of IT life, I've been a sys admin, perl programmer, and a config. mgmt. engineer. I've recently learned programming in C, and somehow ended up learning a bit of Linux Kernel programming as well. I now have developed a strong motivation to become a Linux kernel developer, but given my background, I am not sure how to approach companies or Open Source Project groups. I ask all those who were in a similar situation - how do you become a full-time kernel developer?"
This discussion has been archived. No new comments can be posted.

Becoming a Linux Kernel Programmer?

Comments Filter:
  • start for free (Score:5, Insightful)

    by gmhowell ( 26755 ) <gmhowell@gmail.com> on Friday August 29, 2003 @01:08AM (#6821435) Homepage Journal
    Start for free. Sure, it sounds odd, but you have to get your foot in two doors. First, the linux kernel proper. Second, a company or position that will pay you for the privilege.

    If your code isn't accepted into Linus' kernel, why should they pay you? I'm sure there's a lkml faq that has answers for the first step. Finding an employer who will pay you... I understand Red Hat will have an opening, now that AC is taking a sabbatical:)
    • Re:start for free (Score:1, Insightful)

      by Anonymous Coward
      anyone who wants to to be a kernel developer can!. isnt that what open source is about anyways!

      why even try to be accepted!

      why dont you just fork. if your patches and fixes are good, people will be comming to you. if they arn't then well you should'nt be getting a change to put them in anyways.

      remember! kernel developers are not doing us a favour, they do what they like and what make them happy. you do the same! and you are a kernel developer.

      that is the ~BEAUTY~ of OPEN SOURCE no controls!
    • Re:start for free (Score:5, Informative)

      by soloport ( 312487 ) on Friday August 29, 2003 @09:40AM (#6823501) Homepage
      Finding an employer who will pay you...

      You make it sound so impossible. However...

      Today's Going Pay Rate for a Kernel Developer:
      * Excellent [dice.com]
      * $110K [dice.com]
      * Market
      * Open [dice.com]
      * $110K-$125K [dice.com]
      * Competetive [dice.com]
      * Open [dice.com]
      * Competetive [dice.com]
      * Market [dice.com]
      * $80K-$95K [dice.com]

      And that's just 10 of 56. And look at some of the salaries! And look at the fact that, it would seem, Linux is beginning to be used everywhere. Therefore, it would seem one might look forward to a long, lucrative career as a Kernel hack. No?
      • I thought Dice went bankrupt and out of business once people realized that Dice was just making up fake job listings that offered $100k to work on OSS and be a kernel developer.

        Oh yea, they did.
        • I thought Dice went bankrupt and out of business... Oh yea, they did.

          That's funny. So the job I just got from a Dice posting is just imaginary?

          Hmmmm. The money I earn spends the same. Bankruptcy or not, Dice works for me!
    • Start for free. Sure, it sounds odd

      Doesn't sound odd to me. IANALKD (I am not a Linux kernel developer, since I just made up the acronym) but I spent many years as a sysprog on mainframe (non-Unix) operating systems. My point is that this kind of thing should be what you do for fun, and if someone wants to pay you for it then you are a very lucky individual.

      The thing to do is to write the best code you can on a couple of projects, put them to one side for 3 months or so, then take another critical look at

  • by leviramsey ( 248057 ) on Friday August 29, 2003 @01:09AM (#6821437) Journal

    KernelNewbies [kernelnewbies.org]?

    If you have, you may want to consider starting out as a kernel janitor (basically doing assloads of grunt work to build a name for yourself).

    • Also, don't forget the kernelnewbies mailing list and IRC channel.

      If you want to learn about the kernel, you're not alone. There are a few thousand people out there willing to learn about the kernel with you...
    • I agree 100%. I'm not a kernel programmer but my experience with other programming positions is along the same lines.

      I am a coder for a MUD. I started out doing the same thing the parent post talks about. I did grunt work. Small bug fixes, small improvements, minor tweaking of here and there. I took any project that came up, even those that nobody wanted. I had the C skills, but had no name made for myself with them. As time went on, I took on bigger and bigger projects and got promoted up the ranks. Now I
  • Kernel Development (Score:5, Informative)

    by kzadot ( 249737 ) on Friday August 29, 2003 @01:17AM (#6821482)
    Well its a strange question to ask, normally one becomes a Kernel Developer, by having a need, usually unsupported hardware, and they write a driver for it.

    I would consider myself a kernel developer at this stage, even before my driver is included in the mainstream kernel versions.

    It sounds like you are at this stage already, so are you actually asking "How do I get a driver included in the kernel as distributed?". Well I think the answer to that is to keep submitting it to the maintainer of the relevant kernel. Things like revelance, and especially quality are important factors too.

    For anyone at an earlier stage, perhaps "normal" programmers who need to learn how it all works in the kernel, I have (reccomend is too strong a word, as I have only read these 2 books on the topic) read 2 OReilly books.

    Understanding the Linux Kernel, 2nd Edition [oreilly.com] and Linux Device Drivers, 2nd Edition [oreilly.com]

    Of course you should also be on the linux kernel mailing list [lkml.org]

    And the rest is dependant on exactly you want to add to the kernel.

    • by sydb ( 176695 ) <[michael] [at] [wd21.co.uk]> on Friday August 29, 2003 @04:09AM (#6821979)
      Well its a strange question to ask, normally one becomes a Kernel Developer, by having a need, usually unsupported hardware, and they write a driver for it... It sounds like you are at this stage already

      To me it sounds like Young Grasshoopa wants to be a kernel developer because [s]he would like to be a kernel developer, not because they have a requirement for features no-one else is working on.

      In which case I would think the first thing [s]he should do is get themselves a purpose. Or, as others have suggested, become a janitor or documentation writer.

      Not that I know what I'm talking about as I'm not a kernel hacker, but I acknowledge that there would be a certain coolness about being one.
      • Motivation? (Score:4, Insightful)

        by Breakerofthings ( 321914 ) on Friday August 29, 2003 @10:56AM (#6824234)
        I think wanting to contribute "just because" is motivation enough ...

        At my POE, we are planning to rewrite a lot of stuff real soon now; when we do so, we intend to create a LOT of generic, reusable components a) for our own benefit, naturally and b) so we can contribute (the now not-so-proprietary) code back to the community, because essentially, without Free Software, we would not be able to operate (and trying to convince the boss to give money is futile ;).

        My point is, simply wanting to contribute back to the community that many of us have benefitted so much from is motivation enough; why would you suggest that someone only contribute when they have a personal need for a feature set? Isn't that sort of selfish? And so what if someone just wants to contribute for "geek points" or ego, or whatever; their code shouldn't make it into the kernel unless it is up to snuff, so to speak, so who the hell cares what their motivation is?
        • Quite right; I simply meant that the motivation "to contribute" will lead nowhere unless it goes hand in hand with a tangible purpose - a pragmatic outlet for magnanimous energies, rather than an aimless outlet.
          • Which sort of brings us back to the original question, doesn't it?

            So give the guy a suggestion, if you have one, to channel his aimless enthusiasm into something more pragmatic.

            That is really the question he was asking, sort of ... "where can I start?"
  • Here's a way... (Score:5, Insightful)

    by Anonymous Coward on Friday August 29, 2003 @01:36AM (#6821547)
    the easiest way would be
    to start as a part time kernel developer.

    find something wrong.
    fix it.
    find who's in charge of that code.
    send it to them.

    if there's not anyone,
    contact one of the high mucky-mucks,
    and let em know.
    maybe the maintainer will be you.
  • I think what he is asking is how does he con his (current|future) employeer into paying him for kernel development.
  • getting acquanted (Score:5, Interesting)

    by bmac ( 51623 ) on Friday August 29, 2003 @02:51AM (#6821743) Journal
    Your best bet (not that I have done this or have any inclination to do so) may be to be a part of documenting the code area(s) you are interested in working on. This will thoroughly acquaint you with the code and provide a much-needed service that may get your foot in the door.

    Just a thought,
    bmac

    Peace be with you all.
    Manual .sig generator v.1.0.
  • LKJP (Score:4, Informative)

    by meowsqueak ( 599208 ) on Friday August 29, 2003 @03:38AM (#6821880)
    The Linux Kernel Janitor Project might be a good place to start.

    http://sourceforge.net/projects/kernel-janitor
  • by snowtigger ( 204757 ) on Friday August 29, 2003 @05:12AM (#6822139) Homepage
    Assuming you want to get paid, I think there are two "easy" ways of getting to do kernel programming.

    The first one being embedded systems. A few friends have already done that. There are lots of companies making their own hardware devices: firewalls, toasters, gadgets, etc. Linux is a popular OS for that market and you're likely to touch different parts of the kernel.

    The other market is device drivers hardware (Printers, webcams, network cards, joysticks, etc ...) Companies making computer hardware need drivers for them and somebody has to code them.

    Good luck !
    ---
    If you're not living on the edge, you're taking up space in the middle
  • Do something (Score:4, Interesting)

    by kinema ( 630983 ) on Friday August 29, 2003 @05:54AM (#6822231)
    Find something that you think the kernel needs or that the kernel needs to do better and work on it. Look at areas of the kernel that you specifically use (i.e. networking, NFS, Netfilter, etc.). Work on something that matters to you and nothing bad can come from it. that.
  • by Anonymous Coward
    A few easy steps on how to become a kernel hacker (with sincere apologies to all kernel hackers):
    • wear sunglasses at night [userfriendly.org]
    • get your caffein IV
    • eat cold pizza
    • 100BaseT IV [userfriendly.org], maybe IEEE802.11g
    • get a plush tux
    • avoid direct sunlight
    • print out the entire kernel code and pin it to the wall (might require additional houses)
    • eat more cold pizza
    • subscribe Playboy(tm)

    Now, I've never met or know any kernel hackers, so the points above are just wild guesses... ;)

  • Prove your sk33lz (Score:4, Informative)

    by n1ywb ( 555767 ) on Friday August 29, 2003 @09:35AM (#6823443) Homepage Journal
    Linux "kernel development" is a pretty broad term. It can mean anything from mucking with the lowest of the low level junk to writing simple device drivers from existing templates, which mostly amounts to filling in some blanks.

    Getting paid to develop low level kernel functions is probably the hardest thing to do. Partly because it's just very challanging programing. In fact a lot of it is less programing and more mathematics. If you haven't taken a class in Discrete Mathematics and done well, it's probably not for you. You may still be able to handle low level hardware interface issues, but forget about coming up with any brilliant new VM algorithms. It's also hard to get a job doing that because companies know that very few people on Earth can do it consistently well. Also, most companies don't see a direct benefit from it and therefor don't care since they can't see past their nose. They don't care that Linux will have 0(1) scheduling in two years if it doesn't increase sales tomorrow. This type of kernel development is typically bleeding edge and reserved for super-geniouses with a vision.

    The easier way to get into kernel programming is probably driver development. There are a lot of companies that design computer hardware, and (hopefully) they'd all like to have Linux drivers for their products. Drivers are relatively easy to develop (once you know how), they all have a lot in common and there's a pretty good body of driver source code you can work from, and a large body of theory available in text books and whatnot. Writing everyday drivers typically isn't bleeding edge work and can be performed by your average sub-genious.

    Either way, getting a job in the computer industry is hard right now. It never hurts to apply for jobs, but your odds of actually getting one will be a whole hell of a lot better if you have some kind of programming portfolio you can use to show off your stuff. Companies will be a lot more likely to hire a tried and true kernel programmer than a wet-behind-the-ears newb. So I recomend you get friendly with some of the kernel maintaners, reverse engineer some hardware, or pick a piece of the kernel and just do some work on it. Produce something good and then you can show it off when you get interviewed. You can't buy that kind of credential.
  • Understanding the mentality of the open-source communities might be of some help. Eric Raymond's [catb.org] essay titled "Homesteading the Noosphere" talks a bit about the hacker cultures surrounding Linux and other open-source projects. I'd also suggest reading his essay titled "The Cathedral and the Bazaar". Both essays are mostly Eric's own observations, experiences, and opinions relating to open-source communities, and the CATB in particular has some insightful reflections on software engineering in general.

    -Nick
  • by movement ( 205310 ) on Friday August 29, 2003 @10:27AM (#6823920) Homepage
    There's nothing unique or special in Linux kernel programming as compared to hacking on, say, Mono, or KDE.

    You get into the projects in exactly the same way: start off doing some small useful things (docs, janitor work, UI design, whatever) and then sooner or later you'll inevitably find yourself maintaining a driver or whatever. Next thing you're making changes to sub system APIs, and you work from there.

    There's no magic and there is no cabal.

    If you're asking about specific organisations to help you on the way in, the other posters have already mentioned kernel janitors and kernel newbies, both of which are good.

    I became a kernel hacker through a rather unusual route: my M.Sc. supervisor spotted missing functionality [sf.net] and suggested I had a crack at it.

    • You get into the projects in exactly the same way: start off doing some small useful things (docs, janitor work, UI design, whatever) and then sooner or later you'll inevitably find yourself maintaining a driver or whatever. Next thing you're making changes to sub system APIs, and you work from there.

      You forgot to mention a couple stages:

      • The "I have a little clout now so I'm going to use my veto power to nix any idea that doesn't mimic the way I want to do things" stage
      • The "You guys are all idiots and
  • Start with drivers (Score:5, Informative)

    by mnmn ( 145599 ) on Friday August 29, 2003 @11:20AM (#6824483) Homepage
    Find a network card that is ill-supported in Linux and start working on it. See if you can find the card in used computer places and start tweaking the code.

    A while ago when I was trying out a new kernel version I saw that one of the cards I had did not compile well. I dug into the code and saw a function name change was all that was required. I had to tweak another kernel a little to get it to compile under a new gcc version. No it didnt run well but it did compile and boot.

    Just exploring like this and reading the kernel hackers guide driver guide and other things will give you a good handle on the internals, at least from the drivers perspective. Several month of kernel tweaking later, the vm, scheduler and the other stuff will become clear as you gain interest. However the market will be biggest for kernel ports to new architectures and drivers for newer network adapters. Keep your skills sharp there, build a portfolio and surf dice.com regularly.
  • by Anonymous Coward
    You have good chance if you're gay or drugged.
  • Why do anything? (Score:4, Insightful)

    by phorm ( 591458 ) on Friday August 29, 2003 @12:13PM (#6824999) Journal
    Make a compilable module for the kernel. It doesn't actually have to be in the kernel-proper code to be useful as lots of companies release 3rd-party kernel-module-source (my fasttrak promise TX2000 pro RAID card, and also the DIGI multiport card for example).

    If it's useful and stable enough to be of benefit to the linux users at large, perhaps you could then lobby to have it put in the base kernel. One trick would simply be to find out a new technology or popular device that is coming out and create a decent driver module for it...
  • Other kernels (Score:3, Interesting)

    by sleepingsquirrel ( 587025 ) * <{Greg.Buchholz} ... ingsquirrel.org}> on Friday August 29, 2003 @12:51PM (#6825392) Homepage Journal
    If by full-time kernel developer you mean you want to get paid to hack on the kernel, then linux is what you want. But if you are just itching a sratch you might also want to have a look at other free kernels. Besides the BSDs you might want to look into the GNU/Hurd. It has a pretty nifty architecture that hasn't really been done before, and since its not polished like Linux, there's still plenty of non-trivial, non-clean-up stuff that newbs can make a meaningful contribution to. And because we're such a small pond, that means you automatically become a big fish. Here's some sites to get you started...

    The official GNU/Hurd [gnu.org] page.

    The help-hurd [gnu.org] mailing list archive.

    • Re:Other kernels (Score:3, Interesting)

      BSD represents some fine code, But I personally would stay away from the GNU/Hurd Kernel its been "almost ready" for 10 years or more, and shows no sign of getting much past that point any time soon. There may be some good ideas in there but it seems to be to a day late and a dollar short.

      If you don't want to muck about in the linux kernel you can also look at a lot of the application code that is floating around. Gnumeric, GIMP, perl, MySQL, apache etc. Once again find something that needs doing and star

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...