Re: KLD hello.ko: depends on kernel - not available or version mismatch

2010-02-12 Thread james toy
On Thu, Feb 11, 2010 at 08:06, Andrew Brampton wrote: > On Thu, Feb 11, 2010 at 2:25 AM, james toy wrote: >> Hello Hackers, >> >>    I am working on learning to write FreeBSD drivers; however, I have >> some practice writing IOKit drivers for MacOSX (they are entirely >> different I know!).  The

Re: KLD hello.ko: depends on kernel - not available or version mismatch

2010-02-11 Thread Andrew Brampton
On Thu, Feb 11, 2010 at 2:25 AM, james toy wrote: > Hello Hackers, > >    I am working on learning to write FreeBSD drivers; however, I have > some practice writing IOKit drivers for MacOSX (they are entirely > different I know!).  The code I am working with can be found here: > > http://pastebin.

Re: KLD hello.ko: depends on kernel - not available or version mismatch

2010-02-10 Thread Julian Elischer
james toy wrote: Hello Hackers, I am working on learning to write FreeBSD drivers; however, I have some practice writing IOKit drivers for MacOSX (they are entirely different I know!). The code I am working with can be found here: http://pastebin.com/m2bbb393c and I am getting the error:

Re: KLD hello.ko: depends on kernel - not available or version mismatch

2010-02-10 Thread Andrey V. Elsukov
On 11.02.2010 5:25, james toy wrote: any information pointing me to being able to load this driver would be greatly appreciated. Probably you have source code with different __FreeBSD_version. Check output of these commands: > grep __FreeBSD_version /usr/src/sys/param.h > sysctl kern.osreldate

KLD hello.ko: depends on kernel - not available or version mismatch

2010-02-10 Thread james toy
Hello Hackers, I am working on learning to write FreeBSD drivers; however, I have some practice writing IOKit drivers for MacOSX (they are entirely different I know!). The code I am working with can be found here: http://pastebin.com/m2bbb393c and I am getting the error: dontpanic# kldload