Go Back   nV News Forums > Graphics Card Forums > NVIDIA Legacy Graphics Cards

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-28-04, 07:05 PM   #1
siddly
Registered User
 
Join Date: Jul 2003
Location: West Midlands, UK
Posts: 125
Default 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.

Last edited by siddly; 09-29-04 at 03:15 AM. Reason: typo
siddly is offline   Reply With Quote
Old 09-29-04, 07:23 PM   #2
siddly
Registered User
 
Join Date: Jul 2003
Location: West Midlands, UK
Posts: 125
Default 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)
siddly is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:44 AM.


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