Error add driver

Status
Not open for further replies.

MotorSport

Dabbler
Joined
Sep 10, 2012
Messages
18
Hello,

I want add my wireless driver to Freenas 8.3. (amd64)
I have check the version of my Freenas ( base to Freebsd 8.3 release P5)
I have install a fresh Freebsd 8.3 amd64 and extract the if_run.ko and copy to my NAS in /boot/kernel/ replace the permission in 555
And load the module with kldload if_run.ko
but I have this error.
"kldload: can't load if_run.ko: Exec format error"
Why
Thanks for your help because I"m noob in BSD.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
When I did some experimenting with some drivers that error meant it was not compatible with the version of FreeBSD you are using.
 

MotorSport

Dabbler
Joined
Sep 10, 2012
Messages
18
okay, I have advanced.
I followed the tutorial as shown.

I installed in a VM FreeBSD 8.3 and I imported sources p5 FreeBSD 8.3 and compiled for my drivers that I put in / boot / kernel /
if_run.ko and everything starts with wlan ...
I also compiled wpa_supliant etc ... and copied to / sbin /
then installed hostapd-2.0

But I have a problem:
Here are the logs:



kernel: run0: <1.0> on usbus0
kernel: run0: MAC/BBP RT3070 (rev 0x0201), RF RT3020 (MIMO 1T1R), address 00:08:ca:31:49:0a
kernel: runfw: could not load firmware image, error 2
kernel: run0: failed loadfirmware of file runfw
kernel: run0: could not load 8051 microcode
kernel: device_attach: run0 attach returned 6

what is load 8051 ?

Thanks for your help.
 

MotorSport

Dabbler
Joined
Sep 10, 2012
Messages
18
for the error above, I forgot to runfw.ko with if_run.ko.
But it is time, I get an error during boot FreeNAS.

"Fatal trap 12: page fault while in kernel mode"

What is this error?

Fatal trap 12.jpg
 
Status
Not open for further replies.
Top