参考来源:
viewtopic.php?f=97&t=110461
https://fanqiangti.appspot.com/berelent ... ernel.html
http://hi.baidu.com/%E5%B0%8F%E5%B7%B7% ... 5a9f5.html
viewtopic.php?f=97&t=226956
http://ubuntuforums.org/showthread.php?t=1014190
http://www.ubuntugeek.com/howto-install ... -lynx.html
https://fanqiangti.appspot.com/berelent ... ernel.html
开始编译内核
这是步骤:
1、下载内核源码
2、下载传说中的BFS补丁,是这个2.6.32-sched-bfs-316.patch
3、然后稍稍装几个工具:
代码: 全选
sudo apt-get install build-essential kernel-package libncurses5-dev fakeroot
代码: 全选
tar -jxf linux-2.6.33.3.tar.bz
cd linux-2.6.31
patch -p1 < ../2.6.31-sched-bfs-316.patch
代码: 全选
make mrproper
make localmodconfig
6、差点忘了,再装点工具
代码: 全选
sudo aptitude install libqt3-headers libqt3-mt-dev libqt3-compat-headers libqt3-mt
打BFS补丁,这几个是必须注意的
*Processor type and features -> Tickless System (Dynamic Ticks) 留空
* Processor type and features -> Preemption Model (Preemptible Kernel(Low-Latency Desktop)) -> 选 Preemptible Kernel (Low-Latency Desktop)
* Processor type and features -> Timer frequency -> 选1000Hz
代码: 全选
make xconfig
代码: 全选
sudo make-kpkg clean
CONCURRENCY_LEVEL=2 fakeroot make-kpkg --initrd --append-to-version=jed0.1 kernel-image kernel-headers
代码: 全选
cd ../
sudo dpkg -i *.deb
代码: 全选
sudo mkinitramfs -o /boot/initrd.img-2.6.33.3-jed0.1 2.6.33.3-jed0.1
1sudo update-grub
sudo reboot
然后是Nvidia显卡驱动
先下载
加几个黑名单
代码: 全选
gksudo gedit /etc/modprobe.d/blacklist.conf
代码: 全选
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv
代码: 全选
sudo apt-get --purge remove nvidia-*
有错误提示时,选跳出去终端
然后登陆,CD到存放新下载驱动的目录,比如
代码: 全选
cd /home/jed/Downloads/
代码: 全选
sudo sh NVIDIA-Linux-x86_64-195.36.24-pkg2.run
代码: 全选
sudo service gdm start