Difference between revisions of "Installing Debian Sid (September 2004) on a ThinkPad T42p"

From ThinkWiki
Jump to: navigation, search
(added Category)
m (updated page contents)
Line 10: Line 10:
 
* A page documenting the first attempts to get [http://r300.sf.net/ hardware acceleration for the R300 GPU] (the one built into the T42p) running without the closed-source ATI drivers.
 
* A page documenting the first attempts to get [http://r300.sf.net/ hardware acceleration for the R300 GPU] (the one built into the T42p) running without the closed-source ATI drivers.
 
* another special and useful kernel module: [[Ibm-acpi | IBM-ACPI]]
 
* another special and useful kernel module: [[Ibm-acpi | IBM-ACPI]]
 +
* Quite some interesting add-ons for thinkpad-users, namely an extended Trackpoint driver with graphical configuration tool can be found here: [http://tpctl.sf.net tpctl home page]
 
* [[BIOS_Upgrade | BIOS Updates]] [http://www-3.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-55386 from IBM]
 
* [[BIOS_Upgrade | BIOS Updates]] [http://www-3.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-55386 from IBM]
  
Line 22: Line 23:
  
 
If you compile a new kernel (recommended), you can use [http://fionn.de/config-t42p-2.6.8
 
If you compile a new kernel (recommended), you can use [http://fionn.de/config-t42p-2.6.8
  this 2.6.8 kernel-configuration] as a starting point if you like. For kernel 2.6.8 you will also need to apply [http://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8-rc3/2.6.8-rc3-mm1/broken-out/bk-cpufreq.patch this patch] and [http://gort.metaparadigm.com/cpufreq/cpufreq-speedstep-dothan-3.patch this one], too. Otherwise speedstep will not work on your Dothan CPU.
+
  this 2.6.8 kernel-configuration] as a starting point if you like. For kernel 2.6.8 you will also need to apply [http://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8-rc3/2.6.8-rc3-mm1/broken-out/bk-cpufreq.patch this patch] and [http://gort.metaparadigm.com/cpufreq/cpufreq-speedstep-dothan-3.patch this one], too. Otherwise speedstep will not work on your Dothan CPU. I think in 2.6.9 this is fixed.
  
 
You might want to change your [[IRQ]] settings in BIOS
 
You might want to change your [[IRQ]] settings in BIOS
Line 32: Line 33:
 
====Kernel:====
 
====Kernel:====
  
* kernel-source-2.6.8 (or the latest version available)
+
* kernel-source-2.6.9 (or the latest version available)
 +
* ibm-acpi-source (see [[Ibm-acpi | IBM-ACPI]])
 
* sl-modem-source (for the built-in modem)
 
* sl-modem-source (for the built-in modem)
* ipw2100-source (if you have the "simple" 802.11b WLAN option, otherwise not)
+
* ipw2100-source (if you have the "simple" 802.11b WLAN option, otherwise you either need the atheros or ipw2200 drivers!)
* thinkpad-source
+
* thinkpad-source (optional, I have yet to find a feature that thinkpad-modules offer and the more modern ibm-acpi does not)
 
* (optional) the closed-source [[Fglrx | ATI drivers]] [http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html pre-packaged for debian]
 
* (optional) the closed-source [[Fglrx | ATI drivers]] [http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html pre-packaged for debian]
  

Revision as of 14:06, 8 December 2004

Links

During my install of Debian Linux on my T42p I found the following Links to be very, very useful:

Benchmark Page on Powersaving] with Windows vs Linux and APM vs ACPI

First steps

Unfortunately there are no detailed instructions here, yet. Visit the links above if you feel the present set of information is too terse for your taste.

For the first boot and maybe even the first install I recommend a recent Image of Kanotix (a Knoppix descendant with lots of notebook-specific extensions built-in, so it should boot your Thinkpad with most bells and whistles right out of the box!)

Before you change or repartition your drive, visit the Backup/Rescue-Section.

If you want to keep your WinXP partition, take a look at the Partition-Resizing Section.

If you compile a new kernel (recommended), you can use [http://fionn.de/config-t42p-2.6.8

this 2.6.8 kernel-configuration] as a starting point if you like. For kernel 2.6.8 you will also need to apply this patch and this one, too. Otherwise speedstep will not work on your Dothan CPU. I think in 2.6.9 this is fixed.

You might want to change your IRQ settings in BIOS

Debian Packages

The following packages are relevant to your Thinkpad installation:

Kernel:

  • kernel-source-2.6.9 (or the latest version available)
  • ibm-acpi-source (see IBM-ACPI)
  • sl-modem-source (for the built-in modem)
  • ipw2100-source (if you have the "simple" 802.11b WLAN option, otherwise you either need the atheros or ipw2200 drivers!)
  • thinkpad-source (optional, I have yet to find a feature that thinkpad-modules offer and the more modern ibm-acpi does not)
  • (optional) the closed-source ATI drivers pre-packaged for debian

Other:

  • sl-modem-daemon (modem)
  • tpb (for the thinkpad buttons a nifty OSD, actually alot nicer than the WinXP one!)
  • tpctl (needed to control some functions of the thinkpad kernel extensions)
  • thinkpad-base
  • acpid
  • waproamd (automatically detects suitable wireless LANs and supports drop-in configuration)
  • ifplugd (automatically detects network connections and brings up your interfaces accordingly)
  • powernowd (Use this OPTIONS line in /etc/init.d/powernowd: OPTIONS="-q -m 0 -l 35 -p 500 -s 200000") and viola, there you got nice, all-automatic speedstepping.
  • bluez-utils (for bluetooth)
  • wireless-tools (for wlan)
  • laptop-mode-tools (see laptop-mode for further information)

DO NOT USE:

  • tleds (this package will fuck up your keyboard during network-io and tremendously slow down network throughput)