D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] anyone know what or where __cond_resched comes from?

 

On 18/10/06 16:31:12, Robin Cornelius wrote:
> On 10/18/06, stinga@xxxxxxxxxxxxx <stinga@xxxxxxxxxxxxx> wrote:
> > subject says it all.
> >
> > This is the next phase of my module probelems.
> >
> > I think it has something to do with pre-emtive kernel which I don't
> > have, could it be that the kernel needs recompiling?
> 
> Its to do with the function cond_resched(), which is all part of the
> kernel scheduling system.
> 
> What exactly are the problems?
> 
> Are you building your modules against the kernel source of the
> *running* kernel. You MUST use the correct kernel source to build
> modules (and it must be configured).

Is that stricly true? I thought that was what the force option was for.

We are using an fc4 install with a stock kernel, so I am going to have  
to down grade the kernel so that I can get the module to load.

God knows what the .config should be the vendor is not being very  
helpful at the moment.

-- 
'ooroo

stinga...(:)-)
---------------------------------------------------
Email: stinga@xxxxxxxxxxxxx      o
You need only two tools.        o /////
A hammer and duct tape. If it    /@   `\  /) ~
doesn't move and it should,     >  (O)  X<  ~  Fish!!
use the hammer. If it moves and  `\___/'  \) ~
shouldn't, use the tape.           \\\
---------------------------------------------------


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html