public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Developing Kernel Code newbie
@ 2003-09-15  7:57 Amir Hermelin
  0 siblings, 0 replies; 7+ messages in thread
From: Amir Hermelin @ 2003-09-15  7:57 UTC (permalink / raw)
  To: linux-kernel

Hi,
I've recently started development on the Linux Kernel, and wondered if
there's any kernel-dev FAQ/Howto/online courses/etc to help me get started
with debugging techniques. Any help would be greatly appreciated.

Thanks,
Amir.




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Developing Kernel Code newbie
@ 2003-09-15  7:59 Amir Hermelin
  2003-09-15  8:35 ` Nick Piggin
  0 siblings, 1 reply; 7+ messages in thread
From: Amir Hermelin @ 2003-09-15  7:59 UTC (permalink / raw)
  To: linux-kernel

Hi,
I've recently started development on the Linux Kernel, and wondered if
there's any kernel-dev FAQ/Howto/online courses/etc to help me get started
with debugging techniques. Any help would be greatly appreciated.

Thanks,
Amir.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Developing Kernel Code newbie
  2003-09-15  7:59 Developing Kernel Code newbie Amir Hermelin
@ 2003-09-15  8:35 ` Nick Piggin
  2003-09-15  9:49   ` Daniel Drake
  0 siblings, 1 reply; 7+ messages in thread
From: Nick Piggin @ 2003-09-15  8:35 UTC (permalink / raw)
  To: Amir Hermelin; +Cc: linux-kernel



Amir Hermelin wrote:

>Hi,
>I've recently started development on the Linux Kernel, and wondered if
>there's any kernel-dev FAQ/Howto/online courses/etc to help me get started
>with debugging techniques. Any help would be greatly appreciated.
>

Understanding the Linux Kernel and Linux Device Drivers (free online I
think) are 2 good books to start with. Also www.kernelnewbies.org.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Developing Kernel Code newbie
  2003-09-15  8:35 ` Nick Piggin
@ 2003-09-15  9:49   ` Daniel Drake
  2003-09-15  9:52     ` Nick Piggin
  2003-09-15 13:55     ` Alan Cox
  0 siblings, 2 replies; 7+ messages in thread
From: Daniel Drake @ 2003-09-15  9:49 UTC (permalink / raw)
  To: Nick Piggin; +Cc: linux-kernel

I'm in a similar situation here.. a C/C++ beginner, very keen to work on 
  the Linux kernel.
Those two books you mentioned, the latest editions cover the 2.4 series 
kernel. Would reading these still be useful for working on the 2.6 (and 
onwards) kernels?

Thanks.

Nick Piggin wrote:
> 
> 
> Amir Hermelin wrote:
> 
>> Hi,
>> I've recently started development on the Linux Kernel, and wondered if
>> there's any kernel-dev FAQ/Howto/online courses/etc to help me get 
>> started
>> with debugging techniques. Any help would be greatly appreciated.
>>
> 
> Understanding the Linux Kernel and Linux Device Drivers (free online I
> think) are 2 good books to start with. Also www.kernelnewbies.org.
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Developing Kernel Code newbie
  2003-09-15  9:49   ` Daniel Drake
@ 2003-09-15  9:52     ` Nick Piggin
  2003-09-15 15:11       ` Daniel Drake
  2003-09-15 13:55     ` Alan Cox
  1 sibling, 1 reply; 7+ messages in thread
From: Nick Piggin @ 2003-09-15  9:52 UTC (permalink / raw)
  To: Daniel Drake; +Cc: linux-kernel



Daniel Drake wrote:

> I'm in a similar situation here.. a C/C++ beginner, very keen to work 
> on  the Linux kernel.
> Those two books you mentioned, the latest editions cover the 2.4 
> series kernel. Would reading these still be useful for working on the 
> 2.6 (and onwards) kernels?


Yes.

If you are a _programming_ beginner, you're setting your sights a too high
and will probably get frustrated.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Developing Kernel Code newbie
  2003-09-15  9:49   ` Daniel Drake
  2003-09-15  9:52     ` Nick Piggin
@ 2003-09-15 13:55     ` Alan Cox
  1 sibling, 0 replies; 7+ messages in thread
From: Alan Cox @ 2003-09-15 13:55 UTC (permalink / raw)
  To: Daniel Drake; +Cc: Nick Piggin, Linux Kernel Mailing List

On Llu, 2003-09-15 at 10:49, Daniel Drake wrote:
> I'm in a similar situation here.. a C/C++ beginner, very keen to work on 
>   the Linux kernel.
> Those two books you mentioned, the latest editions cover the 2.4 series 
> kernel. Would reading these still be useful for working on the 2.6 (and 
> onwards) kernels?

The kernel is cool, but it is a large piece of code with a lot of ideas
in it that some folks find challenging (interrupts, multiprocessing,
threads and locking) [One thing to be said at least the Java taught
university folks understand some of this unlike those they used to feed
pascal]

Have fun but if you find the kernel daunting and hard work, don't give
up but pick up something smaller, easier to understand and use a
debugger on - like desktop applications, then come back and try the
kernel again later.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Developing Kernel Code newbie
  2003-09-15  9:52     ` Nick Piggin
@ 2003-09-15 15:11       ` Daniel Drake
  0 siblings, 0 replies; 7+ messages in thread
From: Daniel Drake @ 2003-09-15 15:11 UTC (permalink / raw)
  To: Nick Piggin, alan, amir; +Cc: linux-kernel



Nick Piggin wrote:
> If you are a _programming_ beginner, you're setting your sights a too high
> and will probably get frustrated.

I'm not a beginner to programming, been doing it since an early age. 
That said, I have very little experience of "pro" programming - I am 
still in full time education.
Still, it is definately a high target, and will take some time getting 
used to.

I wrote my first patch yesterday, very very basic but its a start! (just 
simply makes the usblp driver output its debug info into dmesg when 
CONFIG_USB_DEBUG is set).

Alan Cox wrote:
 > The kernel is cool, but it is a large piece of code with a lot of ideas
 > in it that some folks find challenging (interrupts, multiprocessing,
 > threads and locking) [One thing to be said at least the Java taught
 > university folks understand some of this unlike those they used to feed
 > pascal]
 >
 > Have fun but if you find the kernel daunting and hard work, don't give
 > up but pick up something smaller, easier to understand and use a
 > debugger on - like desktop applications, then come back and try the
 > kernel again later.

I think thats where I'm heading, thanks for the advice.



Amir: Here are a few URL's I have stored for this topic. I have yet to 
study them in detail.

http://jungla.dit.upm.es/~jmseyas/linux/kernel/hackers-docs.html
http://www.kernelnewbies.org
http://en.tldp.org/LDP/khg/HyperNews/get/khg.html

Thanks.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-09-15 15:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-15  7:59 Developing Kernel Code newbie Amir Hermelin
2003-09-15  8:35 ` Nick Piggin
2003-09-15  9:49   ` Daniel Drake
2003-09-15  9:52     ` Nick Piggin
2003-09-15 15:11       ` Daniel Drake
2003-09-15 13:55     ` Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2003-09-15  7:57 Amir Hermelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox