Description of problem: I've installed kernel-linus-2.6.38 today and I had problem with building VirtualBox modules (same situation for rpm from VB site and mageia's ones). Actually modules were building, but kernel could not load them. The problem was (kill me but I don't remember what exactly was written in dmesg, and I also can't find it in logs) with missing module versions (or something like that). I've downloaded kernel-linus-source and unchecked Enable loadable module support -> Module versioning support in kernel config and now it's ok (of course after kernel build, install and reboot ;) ) I'm not sure if the same problem occurs with another kernel packages, as previosly I've used my own one. Version-Release number of selected component (if applicable): kernel as describet above 2.6.38 virtualbox: 4.0.4 Steps to Reproduce: 1. install kernel-linus-2.6.38 2. install virtualbox 3. try to run any machine in VB - the error message 4. have a look at dmesg and see the error about vbox module load failure Reproducible: Steps to Reproduce:
Uninstall kernel-linus-source and install the kernel-linus-devel-2.6.38 then reboot to make DKMS compile the modules (or uninstall then reinstall dkms-virtualbox after install kernel-linus-devel*).
Keywords: (none) => NEEDINFO
I tried with devels at the begining The problem isn't that dkms can't build nodules - it cans (even without rebooting - I just used dkms build + install). The problem is that kernel cannot (in my case) load those modules.
here it is: # modprobe vboxdrv FATAL: Error inserting vboxdrv (/lib/modules/2.6.38-1.mga/dkms/3rdparty/vbox/vboxdrv.ko.gz): Invalid module format # dmesg | tail -n 1 vboxdrv: no symbol version for module_layout
CC: (none) => thierry.vignaudAssignee: bugsquad => tmb
I cant reproduce this. whats the output of rpm -qa kernel* |sort
kernel-firmware-20110314-2.mga1 kernel-linus-2.6.38-1.mga-1-1.mga1 kernel-linus-source-2.6.38-1.mga-1-1.mga1
I cannot reproduce this too and I used the same kernel. You've installed kernel-linus-source instead of kernel-linus-devel though. We used to install kernel*-devel for dkms... Since kernel*source aren't much tested with dkms, that may be your issue... Just remove kernel-linus-source-2.6.38-1.mga-1-1.mga1 and install kernel-linus-devel instead
AFAIK you need kernel-devel for the running kernel to compile kernel modules, kernel-source won't work, c.f. Thomas' comment here: https://qa.mandriva.com/show_bug.cgi?id=57780#c1 (that's what I already said in my previous comment....).
hmm it works now. Maybe I had some mandriva garbage
Status: NEW => RESOLVEDResolution: (none) => WORKSFORME