LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-17-2008, 09:14 AM   #1
i.simon
LQ Newbie
 
Registered: Nov 2008
Posts: 2

Rep: Reputation: 0
work around change_page_attr for kernel 2.6.27.x


Hi...

I have an old Intel graphics driver (for the US15W chipset) which does not compile in kernel 2.6.27.x kernel.

One of the offending lines deals with 'change_page_attr'.

I have not found documentation on the subject, or a work around, etc. I wonder if you know of a pointer to places that talks about this? Thanks.

Regards...
 
Old 11-27-2008, 05:43 AM   #2
belveder
LQ Newbie
 
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
Unhappy Driver Patch

Hi,

I tried to compile the drivers from scratch and succeeded. I was mainly exchanging
change_page_attr(..., PAGE_KERNEL_NOCACHE);
with
set_pages_uc(...);
and
change_page_attr(..., PAGE_KERNEL)
with
set_pages_wb(...);

Furthermore I commented out all global_flush_tlb function calls, which I found was also done in a patch to get the fglrx driver to get compiled with recent kernel versions. I still don't know if this is a good thing to do or if one has to find a replacement for this. In pci.c the .nopage function pointer has to be changed to .fault but also the underlying function has to be changed accordingly I guess.

However, although I could compile it I could not manage to get the driver loaded without returning a sementation fault.

Did you succeed in building a driver for your platform?

Regards
Clemens
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiled new 2.6.25 kernel, xorg won't work, will work with old kernel. Romanus81 Linux - Kernel 3 04-23-2008 10:46 PM
kernel not compatible,,,need to work on programs of kernel-2-2.4 ace.adi Linux - Newbie 3 03-01-2007 08:04 PM
kernel-smp hung, kernel-up work fine on RH 4.2, 4.3 DragosD Red Hat 1 05-07-2006 06:03 AM
program compiled under kernel <=2.4 don't work under kernel 2.6 mihaimdl Linux - Software 3 11-08-2005 07:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration