View Single Post
Old 12-08-04, 03:51 PM   #3
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: "Failed to initialize the NVIDIA graphics device!" with 1.0-6629 for Linux x86-64

I attached a workaround for this problem; to apply it and install the modified driver:

# sh NVIDIA-Linux-x86_64-1.0-6629-pkg0.run --extract-only
# cd NVIDIA-Linux-x86_64-1.0-6629-pkg0
# patch -p0 < /path/to/NVIDIA_kernel-1.0-6629-1175225.diff.txt
# ./nvidia-installer

An alternative solution (a better one, really) is to modify map_single() in swiotlb.c to page-align mapping requests of size greater than or equal to PAGE_SIZE.
Attached Files
File Type: txt NVIDIA_kernel-1.0-6629-1175225.diff.txt (1.6 KB, 623 views)
zander is offline   Reply With Quote