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

Re: I need a Kernel which supports sounds AND PCMCIA!



On Thursday 24 July 2003 18:58, Peter Salisbury wrote:
> On Thursday 24 July 2003 17:13, you wrote:
> > On Thu, Jul 24, 2003 at 04:39:53PM +0100, Peter Salisbury wrote:
> > > STILL compiling - guess I must have left a LOT out!!
> > > ZZZzzzzzzzzzz
> >
> >  LOL :)
> >
> >  yes, you left out soooooo many things :)
> >
> >  happy waiting :)
>
> Thank you all for the help,
> I've finished compiling (4 hours) the new 2.4.21 kernel and it boots
> successfully.
> I've enable PCMCIA support but there are no pcmcia modules. Do I just
> dselect pcmcia-source? If so, how do I then compile the modules for my new
> kernel?
>
> TIA Peter
In case it helps anyone following this path, here is what I did:
1) install the kernel-image-2.4.18-bf24 package (just for its config file, so 
no need if you installed Woody with the bf24 option)
2) install the kernel-source and pcmcia-source packages. These should end up 
in /usr/src/kernel-source-2.4.21 and /usr/src/modules/pcmcia-cs
3) ln -s /usr/src/kernel-source-2.4.21 /usr/src/kernel
3) cp /boot/config-2.4.18-bf2.4 to /usr/src/kernel/.config
4) cd /usr/src/kernel
5) make menuconfig (I had to install libncurses-dev to get this to work) This 
takes the .config as a starting point. Amazingly you need to find General -> 
PCMCIA support and make sure PCMCIA support is NOT selected (not even as a 
module). Make any other changes required for your hardware (or none for now 
to see if it works!)
6) make-kpkg --revision=mykernel.0.1 kernel_image modules_image (This needs 
kernel-package installed) This takes 4 hours on my 166MHz machine and 
produces two .deb files in /usr/src, one for the kernel and the other for the 
modules.
7) Install these two packages using dpkg -i /usr/src/*.deb
8) Add an option to /etc/lilo.conf to load the /boot/vmlinuz-2.4.21 image and 
run lilo
9) Reboot and select the new kernel



Reply to: