[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#402701: marked as done (linux-image-2.6.18-3-amd64: Nvidia driver does no longer work on amd64-Debian due to IOMMU config)



Your message dated Tue, 12 Dec 2006 08:22:23 +0100
with message-id <20061212072223.GA9411@wavehammer.waldi.eu.org>
and subject line Bug#402701: linux-image-2.6.18-3-amd64: Nvidia driver does no longer work on amd64-Debian due to IOMMU config
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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:


--- End Message ---
--- Begin Message ---
On Tue, Dec 12, 2006 at 07:44:04AM +0100, Joerg Morbitzer wrote:
> 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) :

You have a tainted kernel, we can't support that in any way.

Bastian

-- 
No one wants war.
		-- Kirk, "Errand of Mercy", stardate 3201.7

--- End Message ---

Reply to: