News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Having problems getting correct kernel sources

Started by chrisbirkinshaw, December 10, 2007, 02:55:56 PM

Previous topic - Next topic

chrisbirkinshaw


I am trying to recompile the kernel to remove SMP support as the timer bug causes my XP2500 CPU to be maxed at 100% all the time. I apt-get'ed linux-sources-2.6.20 but seem to have got sources for 2.6.20.3-ubuntu1 rather than the 2.6.20-15-generic which is currently running on the machine.

Where can I find the sources for the 2.6.20-15-generic kernel used in Linux MCE? Also, why does LMCE not use the standard Ubuntu kernel?

Thanks,

Chris

Zaerc


wget http://nl.archive.ubuntu.com/ubuntu/pool/main/l/linux-source-2.6.20/linux-source-2.6.20_2.6.20-15.27_all.deb
dpkg -i linux-source-2.6.20_2.6.20-15.27_all.deb

cd /usr/src/
tar xvf linux-source-2.6.20.tar.bz2
cd linux-source-2.6.20
cp -iv /boot/config-2.6.20-15-generic .config
sed 's/^EXTRAVERSION = .3-ubuntu1$/EXTRAVERSION = -15-generic/' -i /usr/src/linux-source-2.6.20/Makefile


And you should be all set to reconfigure and recompile the kernel and/or modules that was included with the original Kubuntu-7.4 as lmce 0704 uses it.

"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]