Comment 12 for bug 144210

Revision history for this message
dunDer (dunder) wrote :

Ubuntu Gutsy 7.10 Tribe 5
Unofficial Lowlatency Kernel Package
for Thinkpad T30 laptop with Docking Station support
[not tested on any other T series laptops but may also work]
by Adam Brożyński ( www.dunder.pl / <email address hidden> )

1. First we need to install new downloaded kernel and kernel headers:

 dpkg -i ./linux-image-2.6.22.7-t30-rt_2.6.22.7-t30-rt-10.00.Custom_i386.deb
 dpkg -i ./linux-headers-2.6.22.7-t30-rt_2.6.22.7-t30-rt-10.00.Custom_i386.deb

2. To build and start realtime module, boot from the new kernel and type:

 $ sudo -s
 # apt-get remove apparmor
 # rmmod apparmor
 # rmmod commoncap
 # m-a update
 # m-a prepare
 # m-a get realtime-lsm
 # m-a build realtime-lsm
 # m-a install realtime-lsm
 # echo realtime >> /etc/modules
 # modprobe realtime

3. To install MadWifi drivers for Atheros (only if you are using one, because they are not included in kernel package) type:

 $ sudo -s
 # wget http://downloads.sourceforge.net/madwifi/madwifi-0.9.3.2.tar.gz
 # cd madwifi-0.9.3.2
 # make clean && make && make install
 # echo ath_pci >> /etc/modules

4. Reboot laptop to test new kernel:

 $ sudo reboot

5. In IBM BIOS -> Config -> Power, change Power Mode options to Customize and LCD Close Suspend to OFF, because we want standby mode when closing LCD panel.

6. Boot from new kernel (you can add vga=791 kernel parameter to use framebuffer console at 1024x768 - fbcon is compiled into kernel)

7. Even if you see some irq errors, USB#2 in Dock, PCI and PCMCIA cards should work. If not, try to boot with PCMCIA USB 2.0 with connected devices card plugged in and after boot, connect device you need in Dock USB#2 port.

 $ sudo -s
 # rmmod ohci_hcd && rmmod uhci_hcd && modprobe uhci_hcd && modprobe ohci_hcd

8. You don't have to do additional changes to /etc/modules or /etc/initrd-tools/modules or start kernel with any additional parameters.

9. Remember that if you have any Ubuntu kernel installed from any repository, your menu.lst will change and default kernel option can be replaced after update.

10. This kernel is unofficial, so don't bother Ubuntu team about it - you can bother me instead, but you are using it at your own risk.