can't load snd_uaudio.ko: Exec format error

I have FreeBSD 9.2 x64. I want to load snd_uaudio.ko module. When I run kldload snd_uaudio.ko I get error:
Code:
can't load snd_uaudio.ko: Exec format error
I tried to add this module to /boot/loader.conf but it doesn't load successfully on system start too.
 
This happens when the modules are not in sync with the kernel. For some reason the modules and the kernel are from different versions, that's why you get the "exec format" error.
 
I built and installed new kernel. I added snd_uaudio to my kernel configuration.
Code:
snd_uaudio_load="YES"
is still in /boot/loader.conf.
But still no sound. kldstat doesn't show snd_uaudio is loaded.
kldload snd_uaudio.ko still returns:
Code:
can't load snd_uaudio.ko: Exec format error

So what should I do now?
 
If you have updated source, do a full update: buildworld, kernel, installworld, mergemaster -Ui.
 
Also make sure you haven't specifically excluded or included certain kernel modules via make.conf and/or src.conf.
 
I've executed everything from list: " buildworld, kernel, installworld, mergemaster -Ui".
Also I rechecked /etc/make.conf and /etc/src.conf. snd_uaudio is not excluded.
Now I have new kernel, new world. But there is still:
Code:
kldload: can't load /boot/kernel/snd_uaudio.ko: Exec format error

So. What should I do now?
 
Back
Top