KLD hello.ko: depends on kernel - not available or version mismatch
james toy
nil at opensesame.st
Thu Feb 11 02:25:46 UTC 2010
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 ./hello.ko
kldload: can't load ./hello.ko: Exec format error
dmesg reads:
dontpanic# kldload ./hello.ko
kldload: can't load ./hello.ko: Exec format error
and finally uname -a:
FreeBSD dontpanic.union.edu 9.0-CURRENT FreeBSD 9.0-CURRENT #1
r198859: Wed Feb 10 09:59:54 EST 2010
james at dontpanic.union.edu:/usr/obj/usr/src_klog/sys/DONTPANIC amd64
any information pointing me to being able to load this driver would be
greatly appreciated.
respectfully,
james toy
More information about the freebsd-hackers
mailing list