Давно уже появились проблемы с dkms. Никак не хотел собираться virtualbox.
На днях решил обновить драйвера ati для видео 10.12 получаю следующее.
fglrx-install.logCreating symlink /var/lib/dkms/fglrx/8.801/source ->
/usr/src/fglrx-8.801
DKMS: add Completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
cd /var/lib/dkms/fglrx/8.801/build; sh make.sh --nohints --uname_r=2.6.35-24-generic --norootcheck....(bad exit status: 1)
0
0
[Error] Kernel Module : Failed to build fglrx-8.801 with DKMS
[Error] Kernel Module : Removing fglrx-8.801 from DKMS
------------------------------
Deleting module version: 8.801
completely from the DKMS tree.
------------------------------
Done.
[Reboot] Kernel Module : update-initramfs
Ubuntu 10.10 x86-64 ядро 2.6.35-24
Видеокарта 2600PRO. Предыдущая версия работает стабильно, однако проблемы с nautilus'ом если поставить разные рабочие столы на разные мониторы - файл-менеджер запускается много раз и всё никак не запустится. Можно его убить, но работать без рабочего стола не удобно. Вот подумал, что на новой версии исправят...
По той же причине не устанавливается и 10.11...
Пытаюсь в очередной раз поставить virtualbox 4. Установка проходит в штатном режиме. Но виртуальная машина не запускается. Просит запустить.
sudo
/etc/init.d/vboxdrv setup * Stopping VirtualBox kernel modules * done.
* Uninstalling old VirtualBox DKMS kernel modules * done.
* Trying to register the VirtualBox kernel modules using DKMS
Error! Bad return status for module build on kernel: 2.6.35-24-generic (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/vboxhost/4.0.0/build/ for more information.
Traceback (most recent call last):
File "/usr/share/apport/package-hooks/dkms.py", line 57, in <module>
report.write(open(apport.fileutils.make_report_path(report), 'w'))
IOError: [Errno 2] No such file or directory: '/var/crash/virtualbox-4.0.0.crash'
* Failed, trying without DKMS
* Recompiling VirtualBox kernel modules
* Look at /var/log/vbox-install.log to find out what went wrong
Вот
/var/log/vbox-install.log Uninstalling modules from DKMS
removing old DKMS module vboxhost version 4.0.0
------------------------------
Deleting module version: 4.0.0
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxhost/4.0.0/source ->
/usr/src/vboxhost-4.0.0
DKMS: add Completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=2.6.35-24-generic -C /lib/modules/2.6.35-24-generic/build M=/var/lib/dkms/vboxhost/4.0.0/build....(bad exit status: 2)
0
0
Failed to install using DKMS, attempting to install without
make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -C /lib/modules/2.6.35-24-generic/build modules
/usr/src/linux-headers-2.6.35-24-generic/arch/x86/Makefile:81: stack protector enabled but no compiler support
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/vbox.0
gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.5/include -I/usr/src/linux-headers-2.6.35-24-generic/arch/x86/include -Iinclude -include include/generated/autoconf.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-red-zone -mcmodel=kernel -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -I/lib/modules/2.6.35-24-generic/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /tmp/vbox.0/linux/.tmp_SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/cc1: error while loading shared libraries: libgmp.so.3: wrong ELF class: ELFCLASS32
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Ошибка 1
make[1]: *** [_module_/tmp/vbox.0] Ошибка 2
make: *** [vboxdrv] Ошибка 2
Гуглил на предмет этих ошибок решения не нашёл.