Summer of Code is over!!

2008-08-18 Thread Ryan French
Hi all,

As those of you involved in the Google Summer of Code know, today is the last 
day of coding for the project. However, I still have a lot to do on my 
implementation of MPLS, and will continue to work on this until it is 
working. I would like to say thank you to all of those who have helped me 
over the course of the program in trying to get this project up and running.

With that in mind I have submitted the semi-finished code for trying to get 
sending and receiving of packets working. Unfortunately I have come up 
against a bit of a brick wall in terms of trying to figure out the exact 
inner workings of FreeBSD. At the moment, in theory at least, the sending and 
receiving of packets should work, however I am stuck as to how to integrate my 
code properly with the kernel. So far I have created a mpls_init which 
contains a netisr_register function, as well as inserted the appropriate code 
into the ether_demux function, but it still does not appear to be running the 
code when an MPLS packet is received.

If anyone would like to look at the code and give me any feedback on how to 
improve it, or any ideas on how to get it working, it would be greatly 
appreciated, and I understand it is a very big ask of anyone to look through 
it, so I will thank you in advance for your time. 

Thank you for being such a great community and helping me get through this 
summer of code. No doubt you will be hearing from me on the mailing lists as 
I continue to try and get this project working, and possibly even move onto 
other projects.

-Ryan French
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Building custom kernel with new files

2008-08-16 Thread Ryan French
Hi All,

I am currently trying to build a custom kernel for my Google Summer of Code, 
and am running into a bit of a problem. I have all of my code compiling, but 
when I get to the linking stage as soon as it comes to the new files I have 
installed it says the *.o does not exist. I have added the files 
to /conf/files, and well as added the files to /conf/options and /conf/NOTES, 
and the option is set in my Makefile for the kernel. Is there another step I 
need to do before I can build the kernel?

Thanks for any help.

Ryan French.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Building custom kernel with new files

2008-08-16 Thread Ryan French
On Sat, 16 Aug 2008 10:33:09 pm you wrote:
 On Sat, Aug 16, 2008 at 10:10:02PM +1200, Ryan French wrote:
  Hi All,
 
  I am currently trying to build a custom kernel for my Google Summer of
  Code, and am running into a bit of a problem. I have all of my code
  compiling, but when I get to the linking stage as soon as it comes to the
  new files I have installed it says the *.o does not exist. I have added
  the files to /conf/files, and well as added the files to /conf/options
  and /conf/NOTES, and the option is set in my Makefile for the kernel. Is
  there another step I need to do before I can build the kernel?

 how do you build the kernel? adding to conf/files and conf/options should
 be sufficient...

I build the file using

make buildkernel KERNCONF=MPLSKERNEL

while in the /usr/src/ directory.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Building custom kernel with new files

2008-08-16 Thread Ryan French
On Sat, 16 Aug 2008 10:38:24 pm you wrote:
 2008/8/16, Ryan French [EMAIL PROTECTED]:
  Hi All,
 
  I am currently trying to build a custom kernel for my Google Summer of
  Code, and am running into a bit of a problem. I have all of my code
  compiling, but when I get to the linking stage as soon as it comes to the
  new files I have installed it says the *.o does not exist. I have added
  the files to /conf/files, and well as added the files to /conf/options
  and /conf/NOTES, and the option is set in my Makefile for the kernel. Is
  there another step I need to do before I can build the kernel?

 Ryan,
 can you please past the error message?
 More specifically, missing .o are about your newly included files or other?
 This can happen, for example, if the consumer of a subsystem wants to
 use it and the subsystem is not compiled (the stack(9) without STACK
 option, for example).

 Thanks,
 Attilio

The missing .o is about my own files that I have included in the kernel. More 
specifically I have a file 'mpls.h' and as it is the first one in the 
directory as soon as it gets to linking the file I get the error

ld: mpls.o: No such file: No such file or directory
*** Error code 1

This occurs right after the command 

MAKE=make sh /usr/src/sys/conf/newvers.sh MPLSKERNEL

Sorry I cant copy the whole error but I am running the development in a VM and 
I cant copy and paste between the VM and my host machine.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Introducing me!!

2008-04-22 Thread Ryan French
Hi All,

My name is Ryan French. I am a Google Summer of Code participant this year, and 
for my project I will be implementing MPLS in FreeBSD. I am in my 5th year of 
university at the University of Waikato in New Zealand, and this year I am 
working on obtaining my PostGraduate Diploma in Computer Science (equivalent to 
the first year of a masters degree). I'm really looking forward to working on 
this project, as it is also part of my coursework for this year. I'm still in 
the process of getting through all the introduction stuff to the GSoC, but once 
that has been done I'm going to continue working on this project and hopefully 
come up with something that I can be real proud of over the next few months.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]