Advisory: Updated dkms adds support for parallel builds This update adds support for building dkms packaged drivers utilizing multiple threads / cores and thereby shortening build times. In order to take advantage of this support and speedup, the dkms packaged drivers will need to be updated too, which will be done separately after this update. SRPMS: dkms-2.0.19-34.1.mga5.src.rpm i586: dkms-2.0.19-34.1.mga5.noarch.rpm dkms-minimal-2.0.19-34.1.mga5.noarch.rpm x86_64: dkms-2.0.19-34.1.mga5.noarch.rpm dkms-minimal-2.0.19-34.1.mga5.noarch.rpm
Blocks: (none) => 18727
Note to testers, just urpmi a dkms-virtualbox/vboxadditions/xtables-addons/nvidia* to ensure it still builds (technically already tested on bug 18727 on both arches as it comes with prebuilt kmods) separate updates will come for nvidia and fglrx drivers to take advantage of this parallel build support
Confirmed working fine on Mageia 5 i586.
Whiteboard: (none) => MGA5-32-OK
Wanting to test M5 x64 with AMD/Radeon video H/W Apparently the box has 2 CPUs "AMD E1-1200 with Radeon HD Graphics". I currently have installed: dkms-2.0.19-34.mga5 dkms-minimal-2.0.19-34.mga5 dkms-fglrx-15.302-4.mga5.nonfree kernel-desktop-4.4.13-1.mga5-1-1.mga5 kernel-desktop-devel-4.4.13-1.mga5-1-1.mga5 kernel-userspace-headers-4.4.13-1.mga5 kernel-desktop-devel-latest-4.4.13-1.mga5 kernel-desktop-latest-4.4.13-1.mga5 kernel-firmware-20160409-1.mga5 I have no idea whether dkms is involved in all this. Happy to test install this update if that will achieve something useful.
CC: (none) => lewyssmith
Installing one of the dkms-* packages should build & install OK for the running kernel Lewis. You can check afterwards with "dkms status". Testing mga5 64 on old Q6600 quad core with dkms-libafs as it's one which previously always took an age to build (~15-20mins) - NOT OK It shows a bad exit status cleaning build area, possibly from previous testing although never previously on this kernel. The build fails around 7 minutes in. The log isn't really helpful although we've had issues with this module in the past so may not be due to dkms. # urpmi dkms-libafs Creating symlink /var/lib/dkms/libafs/1.6.17-1.mga5/source -> /usr/src/libafs-1.6.17-1.mga5 DKMS: add Completed. Preparing kernel 4.4.13-desktop-1.mga5 for module build: (This is not compiling a kernel, just preparing kernel symbols) Storing current .config to be restored when complete Running Generic preparation routine make mrproper...... using /proc/config.gz make oldconfig..... make prepare.... Building module: cleaning build area....(bad exit status: 2) SMP=SP; eval `grep CONFIG_SMP /boot/config-4.4.13-desktop-1.mga5`; [ -n "$CONFIG_SMP" ] && SMP=MP; ./configure --with-linux-kernel-headers=/lib/modules/4.4.13-desktop-1.mga5/build; make MPS=$SMP; mv src/libafs/MODLOAD-*/libafs.ko .......................................(bad exit status: 1) Error! Bad return status for module build on kernel: 4.4.13-desktop-1.mga5 (x86_64) Consult the make.log in the build directory /var/lib/dkms/libafs/1.6.17-1.mga5/build/ for more information. Error! Could not locate libafs.ko.xz for module libafs in the DKMS tree. You must run a dkms build for kernel 4.4.13-desktop-1.mga5 (x86_64) first. warning: %post(dkms-libafs-1.6.17-1.mga5.noarch) scriptlet failed, exit status 4 ERROR: 'script' failed for dkms-libafs-1.6.17-1.mga5 # cat /var/lib/dkms/libafs/1.6.17-1.mga5/build/make.log DKMS make.log for libafs-1.6.17-1.mga5 for kernel 4.4.13-desktop-1.mga5 (x86_64) Wed 22 Jun 15:15:49 BST 2016 mv: cannot stat âsrc/libafs/MODLOAD-*/libafs.koâ: No such file or directory
Whiteboard: MGA5-32-OK => feedback MGA5-32-OK
dkms-libafs needs to be updated to support kernel 4.4, there is another bug open for that, I'll fix that up there..
Whiteboard: feedback MGA5-32-OK => MGA5-32-OK
Blocks: (none) => 18759
Thanks Thomas. OK & validating. Tested with dkms-fglrx instead.. # urpmi dkms-fglrx ... Creating symlink /var/lib/dkms/fglrx/15.302-4.mga5.nonfree/source -> /usr/src/fglrx-15.302-4.mga5.nonfree DKMS: add Completed. Preparing kernel 4.4.13-desktop-1.mga5 for module build: (This is not compiling a kernel, just preparing kernel symbols) Storing current .config to be restored when complete Running Generic preparation routine make mrproper..... using /proc/config.gz make oldconfig..... make prepare.... Building module: cleaning build area.... sh make.sh --uname_r=4.4.13-desktop-1.mga5 --uname_v=none --kernel-dir=/lib/modules/4.4.13-desktop-1.mga5/build --no-proc-probe --norootcheck...... cleaning build area.... cleaning kernel tree (make mrproper)..... DKMS: build Completed. fglrx.ko.xz: - Installation - Installing to /lib/modules/4.4.13-desktop-1.mga5/dkms/drivers/char/drm/ depmod...... DKMS: install Completed. # dkms status -m fglrx fglrx, 15.302-4.mga5.nonfree, 4.4.13-desktop-1.mga5, x86_64: installed # urpme dkms-fglrx removing dkms-fglrx-15.302-4.mga5.nonfree.x86_64 -------- Uninstall Beginning -------- Module: fglrx Version: 15.302-4.mga5.nonfree Kernel: 4.4.13-desktop-1.mga5 (x86_64) ------------------------------------- Status: Before uninstall, this module version was ACTIVE on this kernel. fglrx.ko.xz: - Uninstallation - Deleting from: /lib/modules/4.4.13-desktop-1.mga5/dkms/drivers/char/drm/ - Original module - No original module was found for this module on this kernel. - Use the dkms install command to reinstall any previous module version. depmod..... DKMS: uninstall Completed. ------------------------------ Deleting module version: 15.302-4.mga5.nonfree completely from the DKMS tree. ------------------------------ Done. removing package dkms-fglrx-15.302-4.mga5.nonfree.x86_64 1/1: removing dkms-fglrx-15.302-4.mga5.nonfree.x86_64 ################################################# # dkms status -m fglrx | wc -l 0
Keywords: (none) => validated_updateWhiteboard: MGA5-32-OK => has_procedure MGA5-32-OK mga5-64-okCC: (none) => sysadmin-bugs
Advisory done.
Whiteboard: has_procedure MGA5-32-OK mga5-64-ok => has_procedure advisory MGA5-32-OK mga5-64-ok
An update for this issue has been pushed to the Mageia Updates repository. http://advisories.mageia.org/MGAA-2016-0095.html
Status: NEW => RESOLVEDResolution: (none) => FIXED