Difference between revisions of "MAS kernel patch compilation"
m (MAS OS configuration moved to MAS kernel patch compilation: reorganization of installation documentation) |
|
(No difference)
|
Revision as of 15:19, 5 March 2008
E-mail templates:
Contents
[hide]OS Installation
- Boot from the 6.06 LTS server disk - Default install. Reformat boot partition. Make data partition!
sudo apt-get update sudo apt-get install build-essential subversion emacs21
Sources list
- If you get trouble from apt-get because it can't/won't read the Ubuntu disk, or you don't have it anymore, like this:
Media change: please insert the disc labeled 'Ubuntu-Server 6.06.1 _Dapper Drake_ - Release i386 (20060807.1)'
then remove (comment) the line
deb cdrom:[Ubuntu-Server 6.06.1 _Dapper Drake_ - Release i386 (20060807.1)]/ dapper main restricted
from /etc/apt/sources.list and do
apt-get sudo update
Kernel patch + compile
- Get linux sources - Apply bigphys patch (don't add the -bigphys in the Makefile, do it in the make-kpkg!) - Follow the instructions here:
http://www.howtoforge.com/kernel_compilation_ubuntu
sudo rm /bin/sh sudo ln -s /bin/bash /bin/sh apt-get update apt-get install kernel-package libncurses5-dev fakeroot wget bzip2 tar xjf linux-2.6.18.1.tar.bz2 ln -s linux-2.6.18.1 linux cd /usr/src/linux bzip2 -dc /usr/src/patch-2.6.19-rc4.bz2 | patch -p1 --dry-run bzip2 -dc /usr/src/patch-2.6.19-rc4.bz2 | patch -p1 cp /boot/config-`uname -r` ./.config make menuconfig make-kpkg clean sudo make-kpkg --initrd --append-to-version=-bigphys kernel_image kernel_headers
(Can't use fakeroot in this last step, since the .deb are written to /usr/src.)
Binary kernel package installation
The .deb's that come out of the compilation above are incomplete, be we install them anyway. They are missing arch/i386/Makefile.cpu, and Modules.symvers. They might be missing other things too, but MAS really misses those ones. These have been put into a patch; which must be applied at the end.
The steps are:
- Install the kernel packages
New boot options are: "bigphysarea=8192 acpi=off"
Without acpi=off, loading the DSP driver will crash the system really badly. This has been observed in at least 2 machines.
After the new kernel
For Ubuntu 6.06 LTS, add repository "Community maintained".