[ltp] PNPBIOS oops at bootup

wes schreiner linux-thinkpad@linux-thinkpad.org
Mon, 05 May 2003 20:49:14 -0500


Ken Restivo wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>I pulled out Thomas Hood's pnpbios patch from the 2.4.18-ac3 kernel patch, creating my own little "pnpbios-only" patch. It applied and built: so far so good. 
>
>Of course the simplest possible case (pnpbios-only patch) oopses at bootup :-(. I'm now tracking down a ksymoops to find out why.
>
>Before I chase this rabbit too long:
>
>	1) Is there, anywhere, a clean, normal, non-ac, pnpbios-only patch somewhere? I've got kernel 2.4.18 with the stock Woody patches, and that's what I want to stick with for the time being. So any working pnpbios patch against a stock 2.4.18 and/or Woody kernel would be great.
>  
>

As Tino pointed out, you can get the pnpbios functionality if you are 
building your pcmcia modules, it's just a configure option to the pcmcia 
source. Since you are on Debian I'm guessing you are already using 
make-kpkg to build your kernels. Just apt-get the pcmcia-source package 
and edit /usr/src/modules/pcmcia-cs/debian/rules. Find the calls to 
"Configure" and add "--pnp" to those lines (I think the first one is the 
one usually used, the second is for debugging). Then make-kpkg 
modules_image as usual, and you will have pcmcia modules that provide 
pnpbios support. If you need pcmcia modules anyway this is a lot easier 
than extracting a patch. I have this working with 2.4.20 mainline with 
only the low-latency patches applied.

wes