#32 rivatv: Unknown symbol remap_page_range

closed-fixed
Stefan Jahn
None
5
2005-06-17
2005-06-17
a.dobricza
No

This issue appears to affect most 2.6.x kernel versions
and all recent rivatv modules in my case. It had last
worked for me in the 2.4 days.

Kernel: 2.6.11-r9 (Gentoo-sources)
Module: rivatv-0.8.5
Video: GeForce4 Ti 4200

Problem: The issue appears to be that the function
'remap_page_range' has been renamed/changed in the
kernel to 'remap_pfn_range'. Zander's post on 06-03-05,
10:54 AM @
http://www.nvnews.net/vbulletin/showthread.php?t=51319
indicated this to me. Searching through my kernel
sources confirms this.

Resolution: I've replaced all instances of
'remap_page_range' with 'remap_pfn_range' in the rivatv
sources, namely in: src/v4l-riva.c & 'remap_pfn_range'.
Recompiled and to my surprise I have video in again.
Hope this helps.

G'luck,
Adrian

Discussion

  • Stefan Jahn
    Stefan Jahn
    2005-06-17

    • assigned_to: nobody --> ela
    • status: open --> closed-fixed
     
  • Stefan Jahn
    Stefan Jahn
    2005-06-17

    Logged In: YES
    user_id=80302

    This is already done in CVS. Please reopen the bug if it is
    not.