Ticket #10847 (closed defect: invalid)

Opened 7 years ago

Last modified 7 years ago

when dkms is installed, installing either host or guest additions for kernel >= 3.5.0 removes /usr/src/kernels/*/ file for corresponding kernel-devel package

Reported by: robatino Owned by:
Component: other Version: VirtualBox 4.1.20
Keywords: Cc:
Guest type: Linux Host type: Linux


The summary line should be pretty self-explanatory. I noticed the problem due to the fact that the missing file prevents the deltarpm from the old to new kernel-devel package from being used, so the full package must be downloaded. Comparing rpm -V output with dkms installed vs. not installed, the only difference is one line indicating the missing file when dkms is installed. There is a huge amount of output like

.......T. /usr/src/kernels/3.5.2-1.fc17.x86_64/Kconfig .......T. /usr/src/kernels/3.5.2-1.fc17.x86_64/arch/Kconfig .......T. /usr/src/kernels/3.5.2-1.fc17.x86_64/arch/alpha/Kconfig .......T. /usr/src/kernels/3.5.2-1.fc17.x86_64/arch/alpha/Kconfig.debug .......T. /usr/src/kernels/3.5.2-1.fc17.x86_64/arch/alpha/Makefile .......T. /usr/src/kernels/3.5.2-1.fc17.x86_64/arch/alpha/boot/Makefile .......T. /usr/src/kernels/3.5.2-1.fc17.x86_64/arch/alpha/kernel/Makefile

etc. where only the mtime differs. This output exists even after a reinstall of kernel-devel, so appears to have nothing to do with VirtualBox. I don't know if that's normal. In any case, it obviously makes it hard to notice things like missing files.

Change History

comment:1 Changed 7 years ago by robatino

Note that the mtime output for rpm -V kernel-devel happens even on older kernels. The only thing that seems to have changed with >= 3.5.0 is the missing file.

comment:3 Changed 7 years ago by sergiomb

VirtualBox 4.1.18 compiles fine with kernels 3.5

You may install VirtualBox-guest-4.1.18-1.fc17.x86_64 from rpmfusion and if you find any problem, you should report it on

Please help us on rpmfusion and test our package.

comment:4 Changed 7 years ago by robatino

It appears that kernel-devel's is identical to the corresponding file in /boot, which is owned by kernel (for example, /boot/ and /usr/src/kernels/3.5.2-1.fc17.x86_64/ are identical, except for name and an mtime difference) so copying over the version in /boot is an easy workaround (easier than reinstalling kernel-devel which is what I've been doing).

comment:5 Changed 7 years ago by frank

Sorry, but I don't think this bug is related to VirtualBox.

comment:6 Changed 7 years ago by frank

  • Status changed from new to closed
  • Resolution set to invalid

comment:7 Changed 7 years ago by robatino

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use