Re: nopage mm.h

Previous thread: Hard lockup with kernel 2.6.25 and 2.6.25.1 by Malte on Saturday, May 3, 2008 - 3:52 pm. (9 messages)

Next thread: [PATCH] default to n for GROUP_SCHED and FAIR_GROUP_SCHED by Parag Warudkar on Saturday, May 3, 2008 - 5:42 pm. (24 messages)
From: Justin Mattock
Subject: nopage mm.h
Date: Saturday, May 3, 2008 - 4:29 pm

Hello; I have a question about the nopage function that was removed in
the kernel.
What would be the best way for me to build a module that has a nopage
funtion in it?
Right now I went and undid what you had done to the kernel,to atleast
have the module not give me errors,
but, am wondering if I should try to take the module and remove the
nopage function in it , and add the functions that is relevent.
to keep the module up-to date.
regards;

-- 
Justin P. Mattock
--

From: Adrian Bunk
Date: Saturday, May 3, 2008 - 4:38 pm

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

--

From: Justin Mattock
Date: Saturday, May 3, 2008 - 4:48 pm

The module is fglrx.
regards;


-- 
Justin P. Mattock
--

From: Adrian Bunk
Date: Saturday, May 3, 2008 - 4:56 pm

Please ask AMD for support with your problem.


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

--

From: Justin Mattock
Date: Saturday, May 3, 2008 - 5:15 pm

Cool, thanks for the response,
I'll have to do more reading.
regards;


-- 
Justin P. Mattock
--

From: Jiri Slaby
Date: Sunday, May 4, 2008 - 12:42 am

use .fault instead
--

From: Justin Mattock
Date: Sunday, May 4, 2008 - 9:12 am

Hello thanks for the response, I'll have a look into that. The problem
I'm confronted with right now is the module is not going to
install due to it being a non-GPL module. After doing some reading I
was unawre that the kernel was going GPL-only in 2008, so with that in
mind I need to comply with the regulations. So the question I have now
is: Is there a module that is GPL approved that will give me 3D for
the macbook pro. And also recover from suspend?
regards;

-- 
Justin P. Mattock
--

From: Nick Piggin
Date: Sunday, May 4, 2008 - 8:28 pm

Hopefully the driver vendor should provide an update soon. Otherwise,
possibly you could patch back in the .nopage stuff? (It is just a
single commit which does nothing but remove nopage, try reverting it).


--

From: Justin Mattock
Date: Sunday, May 4, 2008 - 8:47 pm

Hello; thanks for the info, I did revert the nopage back into the
kernel, but after all of that, I'm confronted with
the module not being a GPL-only module  `init_pid_ns'.
I've looked in kernel/pid.c and am noticing  EXPORT_SYMBOL_GPL(init_pid_ns);
With that in mind I'm more concerned about the module not being
GPL-only, is this in full enforcement, or just a thaught
that irritated a bunch of people.
regards;



-- 
Justin P. Mattock
--

From: Nick Piggin
Date: Sunday, May 4, 2008 - 9:19 pm

OK, not sure about that one... but if it is just your personal kernel,
and not for redistribution, then you are of course free to make any
changes you like. Including changing EXPORT_SYMBOL_GPL. Maybe it is
a reasonable temporary measure for you until you get some better
drivers.

--

From: Justin Mattock
Date: Sunday, May 4, 2008 - 10:07 pm

Cool; yes this is just for personal use only, not redistribution.
Then in that case I'll have a look into seeing if I can get up and running again
with 2.6.26-rc1.
regards;

-- 
Justin P. Mattock
--

From: Nick Piggin
Date: Monday, May 5, 2008 - 1:28 am

Great to see you are keen on testing the bleeding edge ;) Good luck!
--

Previous thread: Hard lockup with kernel 2.6.25 and 2.6.25.1 by Malte on Saturday, May 3, 2008 - 3:52 pm. (9 messages)

Next thread: [PATCH] default to n for GROUP_SCHED and FAIR_GROUP_SCHED by Parag Warudkar on Saturday, May 3, 2008 - 5:42 pm. (24 messages)