Bug 4354 - Intel's latest video driver is broken since kernel 2.6.1x
Summary: Intel's latest video driver is broken since kernel 2.6.1x
Status: REJECTED INVALID
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: i386 Linux
: P2 high
Assignee: Adrian Bunk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-17 02:14 UTC by Michel MENGIS
Modified: 2005-07-15 13:01 UTC (History)
0 users

See Also:
Kernel Version: 2.6.11.4
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
Kernel's config file (12.11 KB, application/octet-stream)
2005-03-17 02:15 UTC, Michel MENGIS
Details
module list (1.52 KB, text/plain)
2005-03-17 02:15 UTC, Michel MENGIS
Details
dmesg file (14.84 KB, text/plain)
2005-03-17 02:16 UTC, Michel MENGIS
Details
xorg log file (62.26 KB, text/plain)
2005-03-17 02:17 UTC, Michel MENGIS
Details

Description Michel MENGIS 2005-03-17 02:14:09 UTC
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
Comment 1 Michel MENGIS 2005-03-17 02:15:18 UTC
Created attachment 4737 [details]
Kernel's config file
Comment 2 Michel MENGIS 2005-03-17 02:15:54 UTC
Created attachment 4738 [details]
module list
Comment 3 Michel MENGIS 2005-03-17 02:16:26 UTC
Created attachment 4739 [details]
dmesg file
Comment 4 Michel MENGIS 2005-03-17 02:17:05 UTC
Created attachment 4740 [details]
xorg log file
Comment 5 Jesse Barnes 2005-03-17 08:38:36 UTC
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; 
 
Comment 6 Adrian Bunk 2005-07-15 13:01:10 UTC
Problems with external drivers don't belong here.

Note You need to log in before you can comment on or make changes to this bug.