Author Topic: Having problems getting correct kernel sources  (Read 4685 times)

chrisbirkinshaw

  • Guru
  • ****
  • Posts: 431
    • View Profile
Having problems getting correct kernel sources
« on: December 10, 2007, 02:55:56 pm »

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

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: Having problems getting correct kernel sources
« Reply #1 on: December 15, 2007, 01:20:52 am »
Code: [Select]
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


chrisbirkinshaw

  • Guru
  • ****
  • Posts: 431
    • View Profile
Re: Having problems getting correct kernel sources
« Reply #2 on: December 15, 2007, 03:08:38 pm »
Cool, thanks!