I'm having a very strange problem with dynamic kernel modules, in particular I'm talking about the hwpmc.ko one: I can't seem to load it properly.
When I execute [cmd=]kldload hwpmc[/cmd] it doesn't give any error, and when executing [cmd=]kldstat[/cmd] the output is the following:
which should mean it successfully loaded it. It did not, though.
[cmd=]kldstat -m hwpmc[/cmd] returns
and it is very strange.
On another machine, it worked just fine, and [cmd=]kldstat -m hwpmc[/cmd] showed the right module. I have already tried recompiling both the world and the kernel, but it is not working anyway. What could it be?
Thanks in advance.
When I execute [cmd=]kldload hwpmc[/cmd] it doesn't give any error, and when executing [cmd=]kldstat[/cmd] the output is the following:
Code:
Id Refs Address Size Name
1 5 0xffffffff80200000 11eca90 kernel
2 1 0xffffffff81612000 a96b fuse.ko
3 1 0xffffffff8161d000 e6f0 hwpmc.ko
[cmd=]kldstat -m hwpmc[/cmd] returns
Code:
kldstat: can't find module hwpmc: No such file or directory
On another machine, it worked just fine, and [cmd=]kldstat -m hwpmc[/cmd] showed the right module. I have already tried recompiling both the world and the kernel, but it is not working anyway. What could it be?
Thanks in advance.