Re: Kernel programming

2001-01-22 Thread Tim McMillen


Are you looking for something more than:
http://www.freebsd.org/handbook/kerneldebug.html
I don't know if there is any.  There are a fair amount of undocumented 
system calls in the FreeBSD kernel as I understand it.  Chapter 22 of 
the handbook may be helpful too.
There may also be some articles in say daemonnews or something, but 
basically the source code is going to be what you'll have to go on.

Tim

On Monday January 22, 2001 22:16, Yonny Cardenas B. wrote:
> Hello
>
> I am adding a set the new system calls to FreeBSD kernel,
> but to compile and to test new source code within the kernel
> is a little hard  when there is some problem.
>
> Is there anybody knows some reference (URL), tools or some help
> to programming and debugging in the kernel FreeBSD?
> That is some suggestions, examples, etc., different to
> kernel?s source code of course.
>
> Thanks.
>
> +--+
>
> | YONNY CARDENAS B. Apartado Aereo  22828  |
> | Systems Engineer  Santafe de Bogota D.C. |
> |   Colombia - South America   |
> | Student M.Sc. Tel:   +571 6095477|
> | UNIVERSIDAD DE LOS ANDES  mailto: [EMAIL PROTECTED]   |
> |   [EMAIL PROTECTED]  |
> |   http://www.geocities.com/ycardena  |
>
> +--+
> UNIX is BSD, and FreeBSD is an advanced 4.4BSD
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Kernel programming

2001-01-23 Thread Alexander Langer

Thus spake Yonny Cardenas B. ([EMAIL PROTECTED]):

> Is there anybody knows some reference (URL), tools or some help 
> to programming and debugging in the kernel FreeBSD?

Try http://www.freebsd.org/tutorials/

Andrew W. Reiter has written a nice kernel mod tutorial.

There recently (last week or something) was a thread here or on
another mailinglist on how to debug kernel moduls, which is a little
bit tricky.

Just search the archives.

Alex


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Kernel programming

2001-01-23 Thread Dag-Erling Smorgrav

[EMAIL PROTECTED] (Alexander Langer) writes:
> There recently (last week or something) was a thread here or on
> another mailinglist on how to debug kernel moduls, which is a little
> bit tricky.

It's also documented in the handbook.

DES
-- 
Dag-Erling Smorgrav - [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Kernel programming

2001-01-23 Thread Alexander Langer

Thus spake Dag-Erling Smorgrav ([EMAIL PROTECTED]):

> > There recently (last week or something) was a thread here or on
> > another mailinglist on how to debug kernel moduls, which is a little
> > bit tricky.
> It's also documented in the handbook.

Well, actually debugging modules is a little bit more tricky than
debugging kernels with statically linked drivers.

This is what I meant.

Alex
-- 
cat: /home/alex/.sig: No such file or directory


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Kernel programming

2001-01-23 Thread Dag-Erling Smorgrav

Alexander Langer <[EMAIL PROTECTED]> writes:
> Thus spake Dag-Erling Smorgrav ([EMAIL PROTECTED]):
> > Alexander Langer <[EMAIL PROTECTED]> writes:
> > > There recently (last week or something) was a thread here or on
> > > another mailinglist on how to debug kernel moduls, which is a little
> > > bit tricky.
> > It's also documented in the handbook.
> Well, actually debugging modules is a little bit more tricky than
> debugging kernels with statically linked drivers.

It's still documented in the handbook. I don't see where you find a
contradiction here.

DES
-- 
Dag-Erling Smorgrav - [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Kernel programming

2001-01-23 Thread Felix-Antoine Paradis

You can refer to the FreeBSD Handbook (www.freebsd.org/handbook)
On Mon, 22 Jan 2001, Yonny Cardenas B. wrote:

> Hello
>
> I am adding a set the new system calls to FreeBSD kernel,
> but to compile and to test new source code within the kernel
> is a little hard  when there is some problem.
>
> Is there anybody knows some reference (URL), tools or some help
> to programming and debugging in the kernel FreeBSD?
> That is some suggestions, examples, etc., different to
> kernel?s source code of course.
>
> Thanks.
>
> +--+
> | YONNY CARDENAS B. Apartado Aereo  22828  |
> | Systems Engineer  Santafe de Bogota D.C. |
> |   Colombia - South America   |
> | Student M.Sc. Tel:   +571 6095477|
> | UNIVERSIDAD DE LOS ANDES  mailto: [EMAIL PROTECTED]   |
> |   [EMAIL PROTECTED]  |
> |   http://www.geocities.com/ycardena  |
> +--+
> UNIX is BSD, and FreeBSD is an advanced 4.4BSD
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
>

. . . . . . . . . . . . . . . . . . . . . . . . . . . .  .
.   Felix-Antoine Paradis.  cell:1-418-261-0865  .
.  IRC:   reel @ DALnet  .  job:Idemnia Network  .
.  Email: [EMAIL PROTECTED]  .  *** www.FreeBSD.org ***  .
. . . . . . . . . . . . . . . . . . . . . . . . . . . .  .



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: kernel programming

2005-04-19 Thread Joseph Koshy
> where's a good place for kernel programming documentation ?

In no particular order:

1. The FreeBSD Developer's Handbook.
2. The FreeBSD Architecture Handbook.
3. The book 'The Design and Implementation of the FreeBSD
   Operating System', by Kirk McKusick and George
   Neville-Neil.
3. The section 9 manual pages.
4. The source code :).

You may want to browse: http://www.freebsd.org/docs.html

-- 
FreeBSD Volunteer, http://people.freebsd.org/~jkoshy
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: kernel programming

2005-04-19 Thread neuro
yeah thanks for that, i figured the code was a good start.  Now that I 
know the docs i know where to go, cheers for that

--neuro
On Wed, 20 Apr 2005, Joseph Koshy wrote:
where's a good place for kernel programming documentation ?
In no particular order:
1. The FreeBSD Developer's Handbook.
2. The FreeBSD Architecture Handbook.
3. The book 'The Design and Implementation of the FreeBSD
  Operating System', by Kirk McKusick and George
  Neville-Neil.
3. The section 9 manual pages.
4. The source code :).
You may want to browse: http://www.freebsd.org/docs.html
--
FreeBSD Volunteer, http://people.freebsd.org/~jkoshy
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: kernel programming

2005-04-20 Thread Zera William Holladay
On Wed, 20 Apr 2005 [EMAIL PROTECTED] wrote:

> yeah thanks for that, i figured the code was a good start.  Now that I
> know the docs i know where to go, cheers for that
>
> --neuro
>
> On Wed, 20 Apr 2005, Joseph Koshy wrote:
>
> >> where's a good place for kernel programming documentation ?
> >
> > In no particular order:
> >
> > 1. The FreeBSD Developer's Handbook.
> > 2. The FreeBSD Architecture Handbook.
> > 3. The book 'The Design and Implementation of the FreeBSD
> >   Operating System', by Kirk McKusick and George
> >   Neville-Neil.
> > 3. The section 9 manual pages.
> > 4. The source code :).

I like these too (the above is a good list):

man 7 development

gives a nice model and tutorial to setup an environment.

man 7 build

documents some of the /usr/src/ targets for make.

Good luck, Zera Holladay
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: kernel programming

2003-03-01 Thread Tuomas Makinen
On Sat, 2003-03-01 at 02:19, Jay Sern Liew wrote:
> Greetings,
>  Just wanted to ask a qwik question. I'm keen on programming FreeBSD, from
> simple tools, to kernel modules and the kernel itself. I don't find much
> help/resource on this for FreeBSD in general, but tonnes for Linux.
>  My question is, will I be wasting my time reading docs like those written
> for Linux because Linux is a UNIX clone and FreeBSD is a UNIX derivative?
> 
>  If someone can point me to any resource on programming FreeBSD, I'd greatly
> appreciate that. Thanks in advance! :)

Look to the FreeBSD documentation: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/index.html

Tuomas M


signature.asc
Description: This is a digitally signed message part


Re: Kernel programming (fwd)

2001-01-24 Thread AARON J MARKS

Have you tried remote gdb kernel debugging yet? It's documented in the
handbook also. I found it to be very easy to do and *much* better than
debugging on the same machine. All you need is a serial cable and a spare
FreeBSD machine. I used it to debug a module, but it would work just as
well on the kernel itself.

-A.

On Tue, 23 Jan 2001, Ronald G Minnich wrote:

> -- Forwarded message --
> Date: Tue, 23 Jan 2001 12:20:56 +0100
> From: Alexander Langer <[EMAIL PROTECTED]>
> To: Dag-Erling Smorgrav <[EMAIL PROTECTED]>
> Cc: Yonny Cardenas B. <[EMAIL PROTECTED]>, [EMAIL PROTECTED],
>  [EMAIL PROTECTED]
> Subject: Re: Kernel programming
> 
> Thus spake Dag-Erling Smorgrav ([EMAIL PROTECTED]):
> 
> > > There recently (last week or something) was a thread here or on
> > > another mailinglist on how to debug kernel moduls, which is a little
> > > bit tricky.
> > It's also documented in the handbook.
> 
> Well, actually debugging modules is a little bit more tricky than
> debugging kernels with statically linked drivers.
> 
> This is what I meant.
> 
> Alex
> -- 
> cat: /home/alex/.sig: No such file or directory
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
> 
> 




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message