Kernel hacking

This is a discussion on Kernel hacking within the C Programming forums, part of the General Programming Boards category; Hello, where should I go to learn about advanced topics like driver development, memory mapping, etc? I do find some ...

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    41

    Kernel hacking

    Hello,

    where should I go to learn about advanced topics like driver development, memory mapping, etc? I do find some information in the net, but they are usually more theoretic and require that I already now how to do all this funky stuff... While the "standard" C documentation and especially my 600 pages of worthless crap (called a "book") don't even remotely touch those issues. I need something in between. Or just some place to ask dumb questions and actually get smart answers.
    My main objective is the Hurd (GNU Mach), I would like to learn how to write or port graphics drivers (mainly VESA) for it and then create something like the framebuffer device for Linux. Probably to tough for me right now, but I finally have to start with something.

  2. #2
    Unregistered
    Guest
    You might ask the linux.dev.kernel usenet newsgroup.

    I doubt anyone can jump on a direct answer, but I'd think someone there could at least suggest some books.

    I don't know how Linux kernel programming compares with Windows kernel programming, but if they're very similiar, you could probably just shoot yourself in the leg with a pistol and get the same pain with much less trouble.

  3. #3
    Registered User
    Join Date
    Jun 2002
    Posts
    14

    I SUGGEST THESE!

    hey if you really awnt to go through advanced programming.

    then try these books by a very well known indian author:"YPK"

    "WRITING TSR's THROUGH C" by "YPK"
    "C COLOUMN COLLECTION: BY "YPK"
    "C PEARLS!" BY "YPK"

    YPK stands for "Yashvant Prabhakar Kanitkar"

    his site is:
    www.funducode.com

    try them out.
    they'r all amazing!
    Ruchit,
    think big,think ahead,
    go big,go ahead,

    ISN'T IT TOO FUNNY ABOUT MICROSOFT WINDOWS,THAT
    WHENEVER YOU WANT TO DO SOMETHING YOU CLICK ON "START" BUTTON AND THE FIRST OPTION YOU ARE HAVING IS
    "SHUT DOWN"...

  4. #4
    Registered User
    Join Date
    Nov 2001
    Posts
    23
    The page mentioned at the URL is not found.

    Perhaps there was a typo error?

    thanks in advance.

  5. #5
    Guilty Spark 343
    Guest
    You're going to have a hard time finding much information. It isn't taught at all now, or barely even publsihed. Mostly, only "old timers" have this know-how now.

    At the very least, learn assembly well. Most of that stuff will become obvious to you if you really understand assembly.

  6. #6
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    Probably the best resource for Kernel development that I've seen is the Linux Core Kernel Commentary which includes the source code and explanations of each part in detail. You should have a firm grasp of C and assembly for it to make enough sense to learn from though.

    -Prelude
    My best code is written with the delete key.

  7. #7
    Registered User
    Join Date
    Nov 2001
    Posts
    23
    to be good at assembly might be a tall order for me but thanks for the advice. will attempt to master assembly.

  8. #8
    Registered User
    Join Date
    May 2002
    Posts
    41
    Darn, almost forget to check this thread back.
    Thanks for your answers. Does anyone know a good source for learning assembly programming (the concepts)? Preferably an online source because I don't want to buy a book for it yet. I still have enough other books waiting to be read and work waiting to be done. But I would like to get slowly into it whenever I feel like it. Assembly knowledge really is something that I'm still lacking. I always wanted to learn that but never did... Whenever I wanted to, I didn't find the information, then lost the idea, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Kernel Hacking Issue
    By NuNn in forum Linux Programming
    Replies: 1
    Last Post: 03-31-2009, 01:54 PM
  2. SOS - Can a monolithic kernel be used in a micro-kernel style OS?
    By sean in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 11-20-2008, 09:30 AM
  3. kernel hacking, plz help
    By micke_b in forum Linux Programming
    Replies: 8
    Last Post: 02-18-2008, 04:49 PM
  4. more kernel hacking, the check_preempt_curr_rt() func
    By micke_b in forum Linux Programming
    Replies: 2
    Last Post: 02-18-2008, 11:03 AM
  5. CreateThread ?!
    By Devil Panther in forum Windows Programming
    Replies: 13
    Last Post: 11-15-2005, 10:55 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21