Game Programming and Development Tools

Kernel hacking – spade89

spade89

Member

Posts: 561
From: houston,tx
Registered: 11-28-2006
hi there guys has anyone ever done kernel hacking because i am thinking of getting into linux kernel stuff.

i know 2 millioni lines of c code can be a little bit hairy but it doesn't hurt to try.

so if anyone has any advice or something like that please feel free to share .

------------------
Matthew(22:36-40)"Teacher, which is the greatest commandment in the Law?" Jesus replied: " 'Love the Lord your God with all your heart and with all your soul and with all your mind. This is the first and greatest commandment. And the second is like it: 'Love your neighbor as yourself.All the Law and the Prophets hang on these two commandments."
Whose Son Is the Christ

steveth45

Member

Posts: 536
From: Eugene, OR, USA
Registered: 08-10-2005
quote:
Originally posted by spade89:
hi there guys has anyone ever done kernel hacking because i am thinking of getting into linux kernel stuff.
so if anyone has any advice or something like that please feel free to share.

On a difficulty scale of 1 to 10, linux kernel hacking is probably a 10.5 . But don't let that stop you. http://kernelnewbies.org/ is probably the place to start. If you actually get code into the main kernel source, then you have something impressive to put on your resume.

------------------
+---------+
|steveth45|
+---------+

spade89

Member

Posts: 561
From: houston,tx
Registered: 11-28-2006
yeah i saw that site, and i think i have downloaded the source for the linux kernel but i think i should take a look at some opne source driver code first.
does anyone know any open source driver code???

i just love low level stuff,i am also trying to learn asm. i just thought i should mix kernel coding and asm.


------------------
Matthew(22:36-40)"Teacher, which is the greatest commandment in the Law?" Jesus replied: " 'Love the Lord your God with all your heart and with all your soul and with all your mind. This is the first and greatest commandment. And the second is like it: 'Love your neighbor as yourself.All the Law and the Prophets hang on these two commandments."
Whose Son Is the Christ

samw3

Member

Posts: 542
From: Toccoa, GA, USA
Registered: 08-15-2006
cool site steve.. i didn't know that was there.

------------------
Sam Washburn

D-SIPL

Moderator

Posts: 1345
From: Maesteg, Wales
Registered: 07-21-2001
quote:
Originally posted by steveth45:
On a difficulty scale of 1 to 10, linux kernel hacking is probably a 10.5 . But don't let that stop you. http://kernelnewbies.org/ is probably the place to start. If you actually get code into the main kernel source, then you have something impressive to put on your resume.



It's not as difficult as you would think. Look at some outstanding tasks, or find some incompatibility that you would like added. Look how other people have implemented a similar feature and then submit it. It's on thing to be a kernel hacker and another to get in the changelog.

Linus is notorious for being very picky about what does and doesn't go in. Due to the fact that he insists on managing the source by himself it takes a while for any potential updates of yours to get included. I wouldn't hold your breath, time and time again I have seen brilliant things get turned down.

------------------
"One World. One Web. One Program." -Microsoft promotional advertisement
"Ein Volk, ein Reich, ein Fuhrer!" -Adolf Hitler
"I believe in freedom... not freedom like America, freedom like a shopping cart"