|
|
#1 | |
|
Registered User
Join Date: Jul 2003
Location: West Midlands, UK
Posts: 125
|
Changed all instances of NV_REMAP_PAGE_RANGE to NV_REMAP_PFN_RANGE and nv_remap_page_range to nv_remap_pfn_range in nv.c, nv-linux.h, os-agp.c and os-interface.c as redifined in /usr/src/linux-2.6.9-rc2-mm4/include/linux/mm.h. The module builds and installs without problems, but on init 5, I get thrown back to vt1, /var/log/XFree86.0.log gives the error:-
(--) NVIDIA(0): Linear framebuffer at 0xD8000000 (--) NVIDIA(0): MMIO registers at 0xE1000000 (II) NVIDIA(0): NVIDIA GPU detected as: GeForce FX 5200 (--) NVIDIA(0): VideoBIOS: 04.34.20.42.01 (--) NVIDIA(0): Interlaced video modes are supported on this GPU (II) NVIDIA(0): Detected AGP rate: 8X (EE) NVIDIA(0): Failed to allocate config DMA context (II) UnloadModule: "nvidia" (II) UnloadModule: "vgahw" (II) Unloading /usr/X11R6/lib/modules/libvgahw.a (EE) Screen(s) found, but none have a usable configuration. Fatal server error: no screens found ------------------------------- Any help appreciated. Last edited by siddly; 09-29-04 at 03:15 AM. Reason: typo |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Jul 2003
Location: West Midlands, UK
Posts: 125
|
In addition to the patches from http://00f.net/blogs/index.php/2004/...linux_2_6_9_mm I've changed NV_REMAP_PAGE_RANGE to NV_REMAP_PFN_RANGE and remap_page_range to remap_pfn_range in nv-linux.h, nv.c, os-agp.c, and os-interface.c, the missing piece -- see below. I may get around to posting patches to the nvidia forum later today.
I'm not sure if I can divulge the name of my helper in case he gets showered by unwanted email, but a suggested additional change to nv-linux.h has fixed it. #define NV_REMAP_PFN_RANGE(from, offset, x...) \ remap_pfn_range(vma, from, ((offset)) >> PAGE_SHIFT), x) |
|
|
|
|
![]() |
| Thread Tools | |
|
|