Bug#402701: linux-image-2.6.18-3-amd64: Nvidia driver does no longer work on amd64-Debian due to IOMMU config
Package: linux-image-2.6.18-3-amd64
Version: 2.6.18-7
Severity: normal
Hi all,
yesterday I upgraded my amd64 machine from kernel 2.6.17-2 to
2.6.18-3. After compiling the Nvidia driver the X server
produces the following error messages (happens with
driver version 8776 and 9631) :
(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device PCI:1:0:0.
(EE) NVIDIA(0): Please see the COMMON PROBLEMS section in the README for
(EE) NVIDIA(0): additional information.(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
(EE) NVIDIA(0): *** Aborting ***
The kernel is sometimes showing this in syslog:
titan kernel: NVRM: loading NVIDIA Linux x86_64 Kernel Module 1.0-9631 Thu Nov 9 17:35:27 PST 2006
titan kernel: NVRM: RmInitAdapter failed! (0x25:0xffffffff:1039)
titan kernel: NVRM: rm_init_adapter(0) failed
After some googleing I found a thread in a Gentoo forum saying that the
IOMMU flag is set by default on the AMD64 kernels forcing the kernel agp
driver to use instead of the nvagp from the Nvidia driver.
The intermittent solution is to adjust the file arch/x86_64/Kconfig
within the Linux source: replace this line...
bool "IOMMU support" if EMBEDDED
.... by ...
bool "IOMMU support"
.... and disable "IOMMU" in the kernel config. After compiling the kernel
the Nvidia driver works like expected again.
Regards, Joerg.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages linux-image-2.6.18-3-amd64 depends on:
ii coreutil 5.97-5.2 The GNU core utilities
ii debconf 1.5.2 Debian configuration management sy
ii e2fsprog 1.39+1.40-WIP-2006.11.14+dfsg-1 ext2 file system utilities and lib
ii initramf 0.85b tools for generating an initramfs
ii module-i 3.3-pre3-1 tools for managing Linux kernel mo
linux-image-2.6.18-3-amd64 recommends no packages.
-- debconf information:
shared/kernel-image/really-run-bootloader: true
linux-image-2.6.18-3-amd64/postinst/old-system-map-link-2.6.18-3-amd64: true
linux-image-2.6.18-3-amd64/preinst/initrd-2.6.18-3-amd64:
linux-image-2.6.18-3-amd64/postinst/bootloader-test-error-2.6.18-3-amd64:
linux-image-2.6.18-3-amd64/postinst/kimage-is-a-directory:
linux-image-2.6.18-3-amd64/preinst/abort-overwrite-2.6.18-3-amd64:
linux-image-2.6.18-3-amd64/postinst/depmod-error-initrd-2.6.18-3-amd64: false
linux-image-2.6.18-3-amd64/preinst/lilo-initrd-2.6.18-3-amd64: true
linux-image-2.6.18-3-amd64/postinst/bootloader-error-2.6.18-3-amd64:
linux-image-2.6.18-3-amd64/postinst/old-dir-initrd-link-2.6.18-3-amd64: true
linux-image-2.6.18-3-amd64/preinst/bootloader-initrd-2.6.18-3-amd64: true
linux-image-2.6.18-3-amd64/postinst/old-initrd-link-2.6.18-3-amd64: true
linux-image-2.6.18-3-amd64/preinst/failed-to-move-modules-2.6.18-3-amd64:
linux-image-2.6.18-3-amd64/preinst/elilo-initrd-2.6.18-3-amd64: true
linux-image-2.6.18-3-amd64/prerm/removing-running-kernel-2.6.18-3-amd64: true
linux-image-2.6.18-3-amd64/preinst/overwriting-modules-2.6.18-3-amd64: true
linux-image-2.6.18-3-amd64/postinst/depmod-error-2.6.18-3-amd64: false
linux-image-2.6.18-3-amd64/prerm/would-invalidate-boot-loader-2.6.18-3-amd64: true
linux-image-2.6.18-3-amd64/postinst/create-kimage-link-2.6.18-3-amd64: true
linux-image-2.6.18-3-amd64/preinst/lilo-has-ramdisk:
linux-image-2.6.18-3-amd64/preinst/already-running-this-2.6.18-3-amd64:
linux-image-2.6.18-3-amd64/preinst/abort-install-2.6.18-3-amd64:
Reply to: