Estou no Linux Mint 18.1 Cinnamon 64-bit.
O DKMS parece estar preso durante a instalação do novo kernel por 30 minutos agora, o que devo fazer?
Mate o processo DKMS? E então, execute dpkg --configure -a
?
Aqui está o mintupdate
log:
(Reading database ... 317520 files and directories currently installed.)
Preparing to unpack .../adobe-flashplugin_1%3a20170110.1-0ubuntu0.16.04.1_amd64.deb ...
Unpacking adobe-flashplugin (1:20170110.1-0ubuntu0.16.04.1) over (1:20161213.1-0ubuntu0.16.04.1) ...
Preparing to unpack .../libwebkit2gtk-4.0-37_2.14.2-0ubuntu0.16.04.1_amd64.deb ...
Unpacking libwebkit2gtk-4.0-37:amd64 (2.14.2-0ubuntu0.16.04.1) over (2.12.5-0ubuntu0.16.04.1) ...
Preparing to unpack .../libjavascriptcoregtk-4.0-18_2.14.2-0ubuntu0.16.04.1_amd64.deb ...
Unpacking libjavascriptcoregtk-4.0-18:amd64 (2.14.2-0ubuntu0.16.04.1) over (2.12.5-0ubuntu0.16.04.1) ...
Preparing to unpack .../gir1.2-webkit2-4.0_2.14.2-0ubuntu0.16.04.1_amd64.deb ...
Unpacking gir1.2-webkit2-4.0:amd64 (2.14.2-0ubuntu0.16.04.1) over (2.12.5-0ubuntu0.16.04.1) ...
Preparing to unpack .../gir1.2-javascriptcoregtk-4.0_2.14.2-0ubuntu0.16.04.1_amd64.deb ...
Unpacking gir1.2-javascriptcoregtk-4.0:amd64 (2.14.2-0ubuntu0.16.04.1) over (2.12.5-0ubuntu0.16.04.1) ...
Selecting previously unselected package linux-headers-4.4.0-59.
Preparing to unpack .../linux-headers-4.4.0-59_4.4.0-59.80_all.deb ...
Unpacking linux-headers-4.4.0-59 (4.4.0-59.80) ...
Selecting previously unselected package linux-headers-4.4.0-59-generic.
Preparing to unpack .../linux-headers-4.4.0-59-generic_4.4.0-59.80_amd64.deb ...
Unpacking linux-headers-4.4.0-59-generic (4.4.0-59.80) ...
Selecting previously unselected package linux-image-4.4.0-59-generic.
Preparing to unpack .../linux-image-4.4.0-59-generic_4.4.0-59.80_amd64.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.4.0-59-generic /boot/vmlinuz-4.4.0-59-generic
Done.
Unpacking linux-image-4.4.0-59-generic (4.4.0-59.80) ...
Selecting previously unselected package linux-image-extra-4.4.0-59-generic.
Preparing to unpack .../linux-image-extra-4.4.0-59-generic_4.4.0-59.80_amd64.deb ...
Unpacking linux-image-extra-4.4.0-59-generic (4.4.0-59.80) ...
Preparing to unpack .../linux-libc-dev_4.4.0-59.80_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.4.0-59.80) over (4.4.0-57.78) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for mintsystem (8.3.0) ...
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Setting up adobe-flashplugin (1:20170110.1-0ubuntu0.16.04.1) ...
update-alternatives: using /usr/lib/adobe-flashplugin/libflashplayer.so to provide /usr/lib/mozilla/plugins/flashplugin-alternative.so (mozilla-flashplugin) in auto mode
Setting up libjavascriptcoregtk-4.0-18:amd64 (2.14.2-0ubuntu0.16.04.1) ...
Setting up libwebkit2gtk-4.0-37:amd64 (2.14.2-0ubuntu0.16.04.1) ...
Setting up gir1.2-javascriptcoregtk-4.0:amd64 (2.14.2-0ubuntu0.16.04.1) ...
Setting up gir1.2-webkit2-4.0:amd64 (2.14.2-0ubuntu0.16.04.1) ...
Setting up linux-headers-4.4.0-59 (4.4.0-59.80) ...
Setting up linux-headers-4.4.0-59-generic (4.4.0-59.80) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 4.4.0-59-generic /boot/vmlinuz-4.4.0-59-generic
E aqui estão dkms
process:
ps aux | grep dkms
root 13671 0.0 0.0 10124 2268 pts/1 S+ 11:54 0:00 /bin/sh /usr/lib/dkms/dkms_autoinstaller start 4.4.0-59-generic
root 13677 0.0 0.0 18540 5840 pts/1 S+ 11:54 0:00 /bin/bash /usr/sbin/dkms autoinstall --kernelver 4.4.0-59-generic
root 16419 0.0 0.0 18580 5636 pts/1 S+ 11:55 0:00 /bin/bash /usr/sbin/dkms autoinstall --kernelver 4.4.0-59-generic
root 16807 0.0 0.0 18600 4956 pts/1 S+ 11:55 0:00 /bin/bash /usr/sbin/dkms autoinstall --kernelver 4.4.0-59-generic
root 16813 0.0 0.0 10124 1904 pts/1 S+ 11:55 0:00 /bin/sh -c make "CC=cc" KBUILD_VERBOSE= -C /lib/modules/4.4.0-59-generic/build M=/var/lib/dkms/nvidia-375/375.26/build ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.4.0-59-generic/build NV_KERNEL_OUTPUT=/lib/modules/4.4.0-59-generic/build NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset nvidia-drm" INSTALL_MOD_DIR=kernel/drivers/video modules
root 16814 0.0 0.0 14296 3828 pts/1 S+ 11:55 0:00 make CC=cc KBUILD_VERBOSE= -C /lib/modules/4.4.0-59-generic/build M=/var/lib/dkms/nvidia-375/375.26/build ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.4.0-59-generic/build NV_KERNEL_OUTPUT=/lib/modules/4.4.0-59-generic/build NV_KERNEL_MODULES=nvidia nvidia-uvm nvidia-modeset nvidia-drm INSTALL_MOD_DIR=kernel/drivers/video modules
root 17124 0.0 0.0 15272 4776 pts/1 S+ 11:55 0:00 make -f ./scripts/Makefile.build obj=/var/lib/dkms/nvidia-375/375.26/build
vlastim+ 17701 0.0 0.0 15720 2132 pts/2 S+ 12:08 0:00 grep --color=auto dkms
Eu notei que isso provavelmente é causado pelo driver Nvidia, mas tanto o driver quanto o kernel trabalharam juntos sem falhas até a atualização de hoje.
Como reverter esta atualização?
EDIT1 :
uname -r
atualmente é:
4.4.0-57-generic
O resultado de:
ls -la /lib/modules/'uname -r'/updates
atualmente é:
drwxr-xr-x 2 root root 4096 Dec 20 21:42 .
drwxr-xr-x 7 root root 4096 Jan 5 05:23 ..
-rw-r--r-- 1 root root 482872 Dec 20 21:42 ndiswrapper.ko
EDIT2 :
O resultado de:
ls -la /var/lib/dkms
atualmente é:
drwxr-xr-x 5 root root 4096 Jan 5 05:22 .
drwxr-xr-x 96 root root 4096 Jan 6 06:38 ..
drwxr-xr-x 3 root root 4096 Jan 11 13:51 bbswitch
-rw-r--r-- 1 root root 6 Jul 8 2008 dkms_dbversion
drwxr-xr-x 3 root root 4096 Jan 11 13:52 ndiswrapper
drwxr-xr-x 3 root root 4096 Jan 5 05:23 nvidia-375
1 .: é um laptop
2 .: o cartão Wi-Fi está disponível, mas não é usado no momento