SPONSORED LINKS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PCMCIA modules with 2 different kernels?



> 
> 
> I am currently running Linux (RedHat 3.0.3) kernel 2.0.25 on my IBM
> Thinkpad 755CD.  I noticed that the pcmcia modules are very sensitive to
> which kernel loads them:
> i.e.  I have 2 kernels, both 2.0.25, one with apm enabled and one without.
> 
> I compiled the pcmcia modules while running the kernel with apm and
> everything works fine during startup.  However, when I boot with the kernel
> without apm, during startup it says "failed to load modules. symbols from
> linux 2.0.25 don't match your linux 2.0.25..."  or something to that
> effect.  Basicly it seems like you can only use PCMCIA with the kernel you
> compiled it with.
> 
> If someone knows a work around, I'd love to hear it!

Well, one somewhat-unsatisfactory workaround would be to compile the
PCMCIA modules with APM support disabled.  If you compile them with
APM support turned on, they will expect a kernel that provides the APM
calls.  But the APM-disabled modules will work on either kernel.

-- Dave Hinds
   dhinds@hyper.stanford.edu