| Summary: | problems with loading virtualbox modules - module version missing | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | MichaÅ Walenciak <Kicer86> |
| Component: | RPM Packages | Assignee: | Thomas Backlund <tmb> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | thierry.vignaud |
| Version: | Cauldron | Keywords: | NEEDINFO |
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | kernel-linus-2.6.38-1.mga1.src.rpm, virtualbox-4.0.4-3.mga1.src.rpm | CVE: | |
| Status comment: | |||
|
Description
MichaÅ Walenciak
2011-03-16 15:15:52 CET
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
Thierry Vignaud
2011-03-17 14:29:37 CET
CC:
(none) =>
thierry.vignaud 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
Thierry Vignaud
2011-03-24 14:30:09 CET
Status:
NEW =>
RESOLVED |