Distribution: FC3 Hardware Environment: Latitude D610. MB: intel 915GM Software Environment: Problem Description: Intel's latest driver request remap_page_range function Steps to reproduce: download the driver from intel's home page. Built it by adding the drm_agp_t structure (removed since 2.6.10 from kernel tree) fix the pci_restore_state and pci_save_state too. try to load the module after the compilation: o915: Unknown symbol remap_page_range
Created attachment 4737 [details] Kernel's config file
Created attachment 4738 [details] module list
Created attachment 4739 [details] dmesg file
Created attachment 4740 [details] xorg log file
You'll have to update the Intel driver to use remap_pfn_range instead. It's the same as remap_page_range except that it takes a page frame number instead of a page. Typical change is something like this: --- 1.21/arch/i386/pci/i386.c 2005-03-17 08:37:41 -08:00 +++ 1.22/arch/i386/pci/i386.c 2005-03-17 08:37:41 -08:00 @@ -295,7 +295,7 @@ /* Write-combine setting is ignored, it is changed via the mtrr * interfaces on this platform. */ - if (remap_page_range(vma, vma->vm_start, vma->vm_pgoff << PAGE_SHIFT, + if (remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, vma->vm_end - vma->vm_start, vma->vm_page_prot)) return -EAGAIN;
Problems with external drivers don't belong here.