[opensuse-kernel] Unknown symbols for vboxsf kernel module

Hi all, I got a problem with loading vboxsf (virtualbox-guest-kmp-* package) kernel module in KDE liveCD (build1001) - iso downloaded from http://download.opensuse.org/factory/iso/: after liveCD boot up, "modprobe vboxsf" gives me : vboxsf: no symbol version for RTSemFastMutexCreate vboxsf: Unknown symbol RTSemFastMutexCreate (err -22) vboxsf: no symbol version for VBoxGuestIDCCall .... etc a lot of missing symbols but these missing symbols are present in symbols exported by kernel (e.g. RTSemFastMutexCreate ): grep RTSemFastMutexCreate /proc/kallsyms .... f0fafed0 T RTSemFastMutexCreate [vboxguest] vboxguest module which exports these symbols is loaded : lsmod | grep vboxguest vboxguest 177648 6 and dependency is properly set : grep vboxguest /lib/modules/2.6.37-rc7-default/modules.dep updates/vboxguest.ko: updates/vboxsf.ko: updates/vboxguest.ko so I don't understand why "vboxsf: no symbol version for" errors occurs ... thanks for tips -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org

On 12.1.2011 12:38, Michal Šebeň wrote:
Hi all, I got a problem with loading vboxsf (virtualbox-guest-kmp-* package) kernel module in KDE liveCD (build1001) - iso downloaded from http://download.opensuse.org/factory/iso/: after liveCD boot up, "modprobe vboxsf" gives me : vboxsf: no symbol version for RTSemFastMutexCreate vboxsf: Unknown symbol RTSemFastMutexCreate (err -22) vboxsf: no symbol version for VBoxGuestIDCCall .... etc a lot of missing symbols
but these missing symbols are present in symbols exported by kernel (e.g. RTSemFastMutexCreate ): grep RTSemFastMutexCreate /proc/kallsyms .... f0fafed0 T RTSemFastMutexCreate [vboxguest]
Can you post the whole output of the grep? It seems that the vboxguest module is compiled without modversions somehow. Michal -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org

On 12.1.2011 13:11, Michal Marek wrote:
On 12.1.2011 12:38, Michal Šebeň wrote:
Hi all, I got a problem with loading vboxsf (virtualbox-guest-kmp-* package) kernel module in KDE liveCD (build1001) - iso downloaded from http://download.opensuse.org/factory/iso/: after liveCD boot up, "modprobe vboxsf" gives me : vboxsf: no symbol version for RTSemFastMutexCreate vboxsf: Unknown symbol RTSemFastMutexCreate (err -22) vboxsf: no symbol version for VBoxGuestIDCCall .... etc a lot of missing symbols
but these missing symbols are present in symbols exported by kernel (e.g. RTSemFastMutexCreate ): grep RTSemFastMutexCreate /proc/kallsyms .... f0fafed0 T RTSemFastMutexCreate [vboxguest]
Can you post the whole output of the grep? It seems that the vboxguest module is compiled without modversions somehow.
Actually, the consumer (vboxsf) is missing the version info. Can you post the output of /sbin/modprobe --dump-modversions /path/to/vboxsf.ko I guess the problem is that the modules are built separately and the second build does not see the Module.symvers file of the first build. Michal -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org

thanks for hint! you are right, virtualbox.spec file contains small typo, which breaks copying of Module.symvers during build phase have a nice day :) thanks! On Wed, Jan 12, 2011 at 1:17 PM, Michal Marek <mmarek@suse.cz> wrote:
On 12.1.2011 13:11, Michal Marek wrote:
On 12.1.2011 12:38, Michal Šebeň wrote:
Hi all, I got a problem with loading vboxsf (virtualbox-guest-kmp-* package) kernel module in KDE liveCD (build1001) - iso downloaded from http://download.opensuse.org/factory/iso/: after liveCD boot up, "modprobe vboxsf" gives me : vboxsf: no symbol version for RTSemFastMutexCreate vboxsf: Unknown symbol RTSemFastMutexCreate (err -22) vboxsf: no symbol version for VBoxGuestIDCCall .... etc a lot of missing symbols
but these missing symbols are present in symbols exported by kernel (e.g. RTSemFastMutexCreate ): grep RTSemFastMutexCreate /proc/kallsyms .... f0fafed0 T RTSemFastMutexCreate [vboxguest]
Can you post the whole output of the grep? It seems that the vboxguest module is compiled without modversions somehow.
Actually, the consumer (vboxsf) is missing the version info. Can you post the output of /sbin/modprobe --dump-modversions /path/to/vboxsf.ko
I guess the problem is that the modules are built separately and the second build does not see the Module.symvers file of the first build.
Michal
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
participants (2)
-
Michal Marek
-
Michal Šebeň