nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Legacy Graphics Cards (http://www.nvnews.net/vbulletin/forumdisplay.php?f=37)
-   -   kernel 2.6.9-rc2-mm4 and nvidia 1.0-6111 (http://www.nvnews.net/vbulletin/showthread.php?t=37662)

siddly 09-28-04 08:05 PM

kernel 2.6.9-rc2-mm4 and nvidia 1.0-6111
 
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.

siddly 09-29-04 08:23 PM

Re: kernel 2.6.9-rc2-mm4 and nvidia 1.0-6111
 
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)


All times are GMT -5. The time now is 06:48 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.