1
wattOS R8 / NVIDIA Legacy Driver Installation Problems :(
« on: November 28, 2014, 05:47:17 AM »
Hi Ron, Blaze et al,
I was trying to install the driver in the Live USB with Persistence environment.
After poking around on the web and seeing that the nvidia-legacy-96xx-driver (wheezy backport) package was marked as Broken after marking it for installation, I marked the nvidia-glx-legacy-96xx package for installation.
nvidia-detect says that the card is only supported up to the 96.43 legacy driver series. It recommends the installation of the nvidia-glx-legacy-96xx package which is what I have attempted to install.
I initiated the installation and clicked on the Forward button for the 2 dialogue windows that appeared.
At the end of the installation an Error dialogue was displayed with the following text.
The output from the Synaptic terminal is as follows.
No packages were marked as Broken after the install.
I've poked around some more for a solution but haven't been successful. I tried the following without any success.
I've restored the Live USB, to the images I took before I started this install, ready for another go. In this state, the installed linux-image packages are as follows which is the default ISO configuration I believe.
The computer has a Pentium P4 2.66 GHz CPU which supports PAE. It has a 64MB Graphics Card that uses an NVIDIA GeForce 4 MX 440 GPU with AGP 8X.
I'm wondering if I should have performed all available upgrades, except for the udev ones I've already mentioned in a previous topic, before attempting anything with the installation of the NVIDIA drivers?
I'm also wondering which and if any of the following packages or others should be installed to replace those linux-image packages listed above before attempting the NVIDIA Driver installation?
In other words, which packages should be installed/upgraded in order to use NVIDIA drivers with the hardware of the computer?
In what order should I install these packages?
Thanks and hasta pronto, Michael.
I was trying to install the driver in the Live USB with Persistence environment.
After poking around on the web and seeing that the nvidia-legacy-96xx-driver (wheezy backport) package was marked as Broken after marking it for installation, I marked the nvidia-glx-legacy-96xx package for installation.
nvidia-detect says that the card is only supported up to the 96.43 legacy driver series. It recommends the installation of the nvidia-glx-legacy-96xx package which is what I have attempted to install.
I initiated the installation and clicked on the Forward button for the 2 dialogue windows that appeared.
At the end of the installation an Error dialogue was displayed with the following text.
Code: [Select]
E: linux-image-3.2.0-4-rt-686-pae: subprocess installed post-installation script returned error exit status 2
The output from the Synaptic terminal is as follows.
Code: [Select]
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 95047 files and directories currently installed.)
Preparing to replace libc-bin 2.13-38+deb7u1 (using .../libc-bin_2.13-38+deb7u6_i386.deb) ...
Unpacking replacement libc-bin ...
Processing triggers for man-db ...
Setting up libc-bin (2.13-38+deb7u6) ...
(Reading database ... 95047 files and directories currently installed.)
Preparing to replace libc6:i386 2.13-38+deb7u1 (using .../libc6_2.13-38+deb7u6_i386.deb) ...
Unpacking replacement libc6:i386 ...
Setting up libc6:i386 (2.13-38+deb7u6) ...
(Reading database ... 95047 files and directories currently installed.)
Preparing to replace libc6-i686:i386 2.13-38+deb7u1 (using .../libc6-i686_2.13-38+deb7u6_i386.deb) ...
Unpacking replacement libc6-i686:i386 ...
Selecting previously unselected package nvidia-installer-cleanup.
Unpacking nvidia-installer-cleanup (from .../nvidia-installer-cleanup_20120630+3_i386.deb) ...
Setting up nvidia-installer-cleanup (20120630+3) ...
Selecting previously unselected package glx-diversions.
(Reading database ... 95054 files and directories currently installed.)
Unpacking glx-diversions (from .../glx-diversions_0.2.2_i386.deb) ...
Selecting previously unselected package glx-alternative-mesa.
Unpacking glx-alternative-mesa (from .../glx-alternative-mesa_0.2.2_i386.deb) ...
Selecting previously unselected package glx-alternative-nvidia.
Unpacking glx-alternative-nvidia (from .../glx-alternative-nvidia_0.2.2_i386.deb) ...
Selecting previously unselected package libgl1-nvidia-alternatives.
Unpacking libgl1-nvidia-alternatives (from .../libgl1-nvidia-alternatives_304.117-1_i386.deb) ...
Selecting previously unselected package libglx-nvidia-alternatives.
Unpacking libglx-nvidia-alternatives (from .../libglx-nvidia-alternatives_304.117-1_i386.deb) ...
Selecting previously unselected package nvidia-alternative-legacy-96xx.
Unpacking nvidia-alternative-legacy-96xx (from .../nvidia-alternative-legacy-96xx_96.43.23-3_i386.deb) ...
Selecting previously unselected package nvidia-support.
Unpacking nvidia-support (from .../nvidia-support_20120630+3_i386.deb) ...
Selecting previously unselected package libgl1-nvidia-legacy-96xx-glx:i386.
Unpacking libgl1-nvidia-legacy-96xx-glx:i386 (from .../libgl1-nvidia-legacy-96xx-glx_96.43.23-3_i386.deb) ...
Selecting previously unselected package libitm1:i386.
Unpacking libitm1:i386 (from .../libitm1_4.7.2-5_i386.deb) ...
Selecting previously unselected package linux-image-3.2.0-4-rt-686-pae.
Unpacking linux-image-3.2.0-4-rt-686-pae (from .../linux-image-3.2.0-4-rt-686-pae_3.2.63-2+deb7u1_i386.deb) ...
Selecting previously unselected package xserver-xorg-video-nvidia-legacy-96xx.
Unpacking xserver-xorg-video-nvidia-legacy-96xx (from .../xserver-xorg-video-nvidia-legacy-96xx_96.43.23-3_i386.deb) ...
Selecting previously unselected package gcc-4.7.
Unpacking gcc-4.7 (from .../gcc-4.7_4.7.2-5_i386.deb) ...
Selecting previously unselected package gcc.
Unpacking gcc (from .../gcc_4%3a4.7.2-1_i386.deb) ...
Selecting previously unselected package dkms.
Unpacking dkms (from .../dkms_2.2.0.3-1.2_all.deb) ...
Selecting previously unselected package nvidia-kernel-common.
Unpacking nvidia-kernel-common (from .../nvidia-kernel-common_20120630+3_i386.deb) ...
Selecting previously unselected package nvidia-kernel-legacy-96xx-dkms.
Unpacking nvidia-kernel-legacy-96xx-dkms (from .../nvidia-kernel-legacy-96xx-dkms_96.43.23-3_i386.deb) ...
Selecting previously unselected package nvidia-glx-legacy-96xx.
Unpacking nvidia-glx-legacy-96xx (from .../nvidia-glx-legacy-96xx_96.43.23-3_i386.deb) ...
Selecting previously unselected package nvidia-settings-legacy-173xx.
Unpacking nvidia-settings-legacy-173xx (from .../nvidia-settings-legacy-173xx_173.14.35-2_i386.deb) ...
Selecting previously unselected package gcc-4.6-base:i386.
Unpacking gcc-4.6-base:i386 (from .../gcc-4.6-base_4.6.3-14_i386.deb) ...
Selecting previously unselected package cpp-4.6.
Unpacking cpp-4.6 (from .../cpp-4.6_4.6.3-14_i386.deb) ...
Selecting previously unselected package gcc-4.6.
Unpacking gcc-4.6 (from .../gcc-4.6_4.6.3-14_i386.deb) ...
Selecting previously unselected package libc-dev-bin.
Unpacking libc-dev-bin (from .../libc-dev-bin_2.13-38+deb7u6_i386.deb) ...
Selecting previously unselected package linux-libc-dev:i386.
Unpacking linux-libc-dev:i386 (from .../linux-libc-dev_3.2.63-2+deb7u1_i386.deb) ...
Selecting previously unselected package libc6-dev:i386.
Unpacking libc6-dev:i386 (from .../libc6-dev_2.13-38+deb7u6_i386.deb) ...
Selecting previously unselected package linux-headers-3.2.0-4-common.
Unpacking linux-headers-3.2.0-4-common (from .../linux-headers-3.2.0-4-common_3.2.63-2+deb7u1_i386.deb) ...
Selecting previously unselected package linux-kbuild-3.2.
Unpacking linux-kbuild-3.2 (from .../linux-kbuild-3.2_3.2.17-1_i386.deb) ...
Selecting previously unselected package linux-headers-3.2.0-4-686-pae.
Unpacking linux-headers-3.2.0-4-686-pae (from .../linux-headers-3.2.0-4-686-pae_3.2.63-2+deb7u1_i386.deb) ...
Selecting previously unselected package linux-headers-686-pae.
Unpacking linux-headers-686-pae (from .../linux-headers-686-pae_3.2+46_i386.deb) ...
Selecting previously unselected package manpages-dev.
Unpacking manpages-dev (from .../manpages-dev_3.44-1_all.deb) ...
Processing triggers for man-db ...
Processing triggers for menu ...
Processing triggers for desktop-file-utils ...
Setting up libc6-i686:i386 (2.13-38+deb7u6) ...
Setting up glx-diversions (0.2.2) ...
No diversion 'diversion of /usr/lib/debug/usr/lib/xorg/modules/extensions/libglx.so to /usr/lib/mesa-diverted/libglx.so.dbg by glx-diversions', none removed.
No diversion 'diversion of /usr/lib/xorg/modules/extensions/libglx.so to /usr/lib/mesa-diverted/libglx.so by glx-diversions', none removed.
Adding 'diversion of /usr/lib/libGL.so to /usr/lib/mesa-diverted/libGL.so by glx-diversions'
Adding 'diversion of /usr/lib/i386-linux-gnu/libGL.so to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so by glx-diversions'
Adding 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so by glx-diversions'
Adding 'diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by glx-diversions'
Adding 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 by glx-diversions'
Adding 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by glx-diversions'
Adding 'diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by glx-diversions'
Adding 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 by glx-diversions'
Adding 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by glx-diversions'
Setting up glx-alternative-mesa (0.2.2) ...
update-alternatives: using /usr/lib/mesa-diverted to provide /usr/lib/glx (glx) in auto mode
Setting up glx-alternative-nvidia (0.2.2) ...
Setting up libgl1-nvidia-alternatives (304.117-1) ...
Setting up libglx-nvidia-alternatives (304.117-1) ...
Setting up nvidia-alternative-legacy-96xx (96.43.23-3) ...
Setting up nvidia-support (20120630+3) ...
Setting up libitm1:i386 (4.7.2-5) ...
Setting up linux-image-3.2.0-4-rt-686-pae (3.2.63-2+deb7u1) ...
Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-4-rt-686-pae /boot/vmlinuz-3.2.0-4-rt-686-pae
update-initramfs: Generating /boot/initrd.img-3.2.0-4-rt-686-pae
live-boot: core filesystems devices utils memdisk udev wget blockdev.
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-4-rt-686-pae /boot/vmlinuz-3.2.0-4-rt-686-pae
run-parts: executing /etc/kernel/postinst.d/zz-extlinux 3.2.0-4-rt-686-pae /boot/vmlinuz-3.2.0-4-rt-686-pae
P: Checking for EXTLINUX directory... found.
/usr/sbin/extlinux-update: 98: /usr/sbin/extlinux-update: cannot open /etc/fstab: No such file
P: Writing config for /boot/vmlinuz-3.2.0-4-rt-686-pae...
P: Writing config for /boot/vmlinuz-3.13-0.bpo.1-486...
P: Updating /boot/extlinux/linux.cfg...
P: Installing debian theme... done.
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-4-rt-686-pae /boot/vmlinuz-3.2.0-4-rt-686-pae
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-4-rt-686-pae.postinst line 696.
dpkg: error processing linux-image-3.2.0-4-rt-686-pae (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up gcc-4.7 (4.7.2-5) ...
Setting up gcc (4:4.7.2-1) ...
Setting up dkms (2.2.0.3-1.2) ...
Setting up nvidia-kernel-common (20120630+3) ...
update-initramfs: deferring update (trigger activated)
Setting up nvidia-kernel-legacy-96xx-dkms (96.43.23-3) ...
Loading new nvidia-96.43.23 DKMS files...
First Installation: checking all kernels...
Building only for 3.13-0.bpo.1-486
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
Setting up nvidia-settings-legacy-173xx (173.14.35-2) ...
Setting up gcc-4.6-base:i386 (4.6.3-14) ...
Setting up cpp-4.6 (4.6.3-14) ...
Setting up gcc-4.6 (4.6.3-14) ...
Setting up libc-dev-bin (2.13-38+deb7u6) ...
Setting up linux-libc-dev:i386 (3.2.63-2+deb7u1) ...
Setting up libc6-dev:i386 (2.13-38+deb7u6) ...
Setting up linux-headers-3.2.0-4-common (3.2.63-2+deb7u1) ...
Setting up linux-kbuild-3.2 (3.2.17-1) ...
Setting up linux-headers-3.2.0-4-686-pae (3.2.63-2+deb7u1) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-4-686-pae
Setting up linux-headers-686-pae (3.2+46) ...
Setting up manpages-dev (3.44-1) ...
Processing triggers for nvidia-alternative-legacy-96xx ...
update-alternatives: using /usr/lib/nvidia/legacy-96xx to provide /usr/lib/nvidia/nvidia (nvidia) in auto mode
Processing triggers for glx-alternative-nvidia ...
update-alternatives: using /usr/lib/nvidia to provide /usr/lib/glx (glx) in auto mode
Setting up libgl1-nvidia-legacy-96xx-glx:i386 (96.43.23-3) ...
Setting up xserver-xorg-video-nvidia-legacy-96xx (96.43.23-3) ...
Setting up nvidia-glx-legacy-96xx (96.43.23-3) ...
No diversion 'diversion of /usr/lib/xorg/modules/extensions/libGLcore.so to /usr/lib/nvidia/libGLcore.so.xlibmesa by nvidia-glx-legacy-96xx', none removed.
No diversion 'diversion of /usr/lib/xorg/modules/extensions/libGLcore.a to /usr/lib/nvidia/libGLcore.a.xlibmesa by nvidia-glx-legacy-96xx', none removed.
No diversion 'diversion of /usr/lib/xorg/modules/extensions/libglx.a to /usr/lib/nvidia/libglx.a.xlibmesa by nvidia-glx-legacy-96xx', none removed.
Processing triggers for initramfs-tools ...
update-initramfs: /boot/initrd.img-3.13-0.bpo.1-486 has been altered.
update-initramfs: Cannot update. Override with -t option.
Processing triggers for menu ...
Processing triggers for glx-alternative-mesa ...
Errors were encountered while processing:
linux-image-3.2.0-4-rt-686-pae
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up linux-image-3.2.0-4-rt-686-pae (3.2.63-2+deb7u1) ...
Running depmod.
vmlinuz(/boot/vmlinuz-3.2.0-4-rt-686-pae
) points to /boot/vmlinuz-3.2.0-4-rt-686-pae
(/boot/vmlinuz-3.2.0-4-rt-686-pae) -- doing nothing at /var/lib/dpkg/info/linux-image-3.2.0-4-rt-686-pae.postinst line 268.
initrd.img(/boot/initrd.img-3.2.0-4-rt-686-pae
) points to /boot/initrd.img-3.2.0-4-rt-686-pae
(/boot/initrd.img-3.2.0-4-rt-686-pae) -- doing nothing at /var/lib/dpkg/info/linux-image-3.2.0-4-rt-686-pae.postinst line 268.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.2.0-4-rt-686-pae /boot/vmlinuz-3.2.0-4-rt-686-pae
Error! Your kernel headers for kernel 3.2.0-4-rt-686-pae cannot be found.
Please install the linux-headers-3.2.0-4-rt-686-pae package,
or use the --kernelsourcedir option to tell DKMS where it's located
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-4-rt-686-pae /boot/vmlinuz-3.2.0-4-rt-686-pae
update-initramfs: Generating /boot/initrd.img-3.2.0-4-rt-686-pae
live-boot: core filesystems devices utils memdisk udev wget blockdev.
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-4-rt-686-pae /boot/vmlinuz-3.2.0-4-rt-686-pae
run-parts: executing /etc/kernel/postinst.d/zz-extlinux 3.2.0-4-rt-686-pae /boot/vmlinuz-3.2.0-4-rt-686-pae
P: Checking for EXTLINUX directory... found.
/usr/sbin/extlinux-update: 98: /usr/sbin/extlinux-update: cannot open /etc/fstab: No such file
P: Writing config for /boot/vmlinuz-3.2.0-4-rt-686-pae...
P: Writing config for /boot/vmlinuz-3.13-0.bpo.1-486...
P: Installing debian theme... done.
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-4-rt-686-pae /boot/vmlinuz-3.2.0-4-rt-686-pae
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-4-rt-686-pae.postinst line 696.
dpkg: error processing linux-image-3.2.0-4-rt-686-pae (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
linux-image-3.2.0-4-rt-686-pae
No packages were marked as Broken after the install.
I've poked around some more for a solution but haven't been successful. I tried the following without any success.
Code: [Select]
apt-get upgrade
apt-get install -f
apt-get dist-upgrade
I've restored the Live USB, to the images I took before I started this install, ready for another go. In this state, the installed linux-image packages are as follows which is the default ISO configuration I believe.
Code: [Select]
linux-image-3.13-0.bpo.1-486 (Installed and Latest version are the same - 3.13.10-1~bpo70+1 - Linux 3.13 for older PCs)
linux-image-486 (Installed - 3.13+56~bpo70+1, Latest - 3.13+62~bpo70+1 - Linux for older PCs (meta-package))
The computer has a Pentium P4 2.66 GHz CPU which supports PAE. It has a 64MB Graphics Card that uses an NVIDIA GeForce 4 MX 440 GPU with AGP 8X.
I'm wondering if I should have performed all available upgrades, except for the udev ones I've already mentioned in a previous topic, before attempting anything with the installation of the NVIDIA drivers?
I'm also wondering which and if any of the following packages or others should be installed to replace those linux-image packages listed above before attempting the NVIDIA Driver installation?
Code: [Select]
linux-image-3.2.0-4-rt-686-pae (3.2.63-2+deb7u1 - Linux 3.2 for modern PCs, PREEMPT_RT)
linux-image-3.16-0.bpo.2-686-pae (3.16.3-2~bpo70+1 - Linux 3.16 for modern PCs)
linux-image-3.16-0.bpo.3-686-pae (3.16.5-1~bpo70+1 - Linux 3.16 for modern PCs)
linux-image-686-pae (3.2+46 - Linux for modern PCs (meta-package))
linux-image-rt-686-pae (3.2+46 - Linux for modern PCs (meta-package))
In other words, which packages should be installed/upgraded in order to use NVIDIA drivers with the hardware of the computer?
In what order should I install these packages?
Thanks and hasta pronto, Michael.