[dundee] kernel compilation

dundee@lists.lug.org.uk dundee at lists.lug.org.uk
Tue Jul 22 00:28:01 2003


>  from:    Andrew Clayton <andrew@sol-1.demon.co.uk>
>  date:    Mon, 21 Jul 2003 23:21:19
>  to:      dundee@mailman.lug.org.uk
>  subject: Re: [dundee] kernel compilation
> 
> On Mon, 2003-07-21 at 22:07, keirlawson@btopenworld.com wrote:
> > can somebody direct me to a site about kernel compilation (newbie) or email me some instructions as to how to recompile a kernel.  i need to have the latest one to fix the fuzzy sound.
> > 
> > 
> 
> Basically 
> 
> 
> Get the latest kernel source.
> 
> In fact I would recommend using 2.4.22pre7 as it contains various IO
> stall fix's and has reworked sound.
> 
> Get a 2.4.21.tar.bz2 from 
> 
> ftp://ftp.uk.kernel.org:/pub/linux/kernel/v2.4/linux-2.4.21.tar.bz2
> 
> Get the 2.4.22-pre7 patch from
> 
> ftp://ftp.uk.kernel.org:/pub/linux/kernel/v2.4/testing/patch-2.4.22-pre7.bz2
> 
I had hoped to use Kon Colivas's patch set
 (http://members.optusnet.com.au/ckolivas/kernel/)
for better speed. will this work with 2.4.22-pre7? 
> 
> I would create a directory called src in your home dir. Put the above
> files into there.
> 
> Then from src/
> 
> tar -xvjf linux-2.4.21.tar.bz2
> cd linux-2.4.21
> bzcat ../patch-2.4.22-pre7.bz2 | patch -p1
> 
> make menuconfig
> make dep && make bzImage && make modules
> su
> make modules_install
> cp System.map /boot/System.map-2.4.22-pre7
> cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.22-pre7
> cd /boot
> ln -sf System.map System.map-2.4.22-pre7
> 
> 
> edit lilo or grub config to add in new kernel.
> 
> if using lilo, run lilo after you make the changes to lilo.conf. If
> using grub, just edit menu.lst/grub.conf, then reboot.
> 
> 
> 
> > 
> > keir
> 
> 
> --
> Andrew
> 
> 
> _______________________________________________
> Dundee mailing list
> Dundee@lists.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/dundee