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

From ThinkWiki
Jump to: navigation, search
(added Category)
 
(10 intermediate revisions by 9 users not shown)
Line 6: Line 6:
 
* [http://pompone.cs.ucsb.edu/~graziano/PowerPlay.html Enabling Powerplay (Radeon Power saving)] in three simple steps for debian XFree packages
 
* [http://pompone.cs.ucsb.edu/~graziano/PowerPlay.html Enabling Powerplay (Radeon Power saving)] in three simple steps for debian XFree packages
 
* the original (closed-source) [[Fglrx | ATI drivers]] [http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html pre-packaged for debian] (to be compiled into a module deb with make-kpkg)
 
* the original (closed-source) [[Fglrx | ATI drivers]] [http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html pre-packaged for debian] (to be compiled into a module deb with make-kpkg)
* An interesting [http://www.sas.upenn.edu/%7Evbraun/computing/T41/power.html
+
* An interesting [http://www.sas.upenn.edu/%7Evbraun/computing/T41/power.html Benchmark Page on Powersaving] with Windows vs Linux and APM vs ACPI
Benchmark Page on Powersaving] with Windows vs Linux and APM vs ACPI
 
 
* 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]] (since kernel versin 2.6.10 this is part of the stock kernel tree!)
 +
* 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] (unfortunately the trackpoint driver seems to be incompatible with the latest 2.6 kernels)
 
* [[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]
 +
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].
  
 
==First steps==
 
==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.
 
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 [http://kanotix.mipooh.net/viewforum.php?f=8 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!)
+
For the first boot and maybe even the first install I recommend a recent [http://kanotix.mipooh.net/viewforum.php?f=8 Image of] [[:Category:Kanotix|Kanotix]] (a [[:Category:Knoppix|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 [[Installation steps which apply to every Thinkpad_model#Backup.2FRescue_CD_Set|Backup/Rescue-Section]].
 
Before you change or repartition your drive, visit the [[Installation steps which apply to every Thinkpad_model#Backup.2FRescue_CD_Set|Backup/Rescue-Section]].
Line 21: Line 22:
 
If you want to keep your WinXP partition, take a look at the [[Installation steps which apply to every Thinkpad_model#Resizing_your_Windows_Partition|Partition-Resizing Section]].
 
If you want to keep your WinXP partition, take a look at the [[Installation steps which apply to every Thinkpad_model#Resizing_your_Windows_Partition|Partition-Resizing Section]].
  
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. I think in 2.6.9 this is fixed.
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.
 
  
 
You might want to change your [[IRQ]] settings in BIOS
 
You might want to change your [[IRQ]] settings in BIOS
Line 32: Line 32:
 
====Kernel:====
 
====Kernel:====
  
* kernel-source-2.6.8 (or the latest version available)
+
* kernel-source-2.6.11 (or the latest version available)
 +
* If you have a kernel version < 2.6.10: 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]
  
Line 45: Line 46:
 
* thinkpad-base
 
* thinkpad-base
 
* acpid
 
* acpid
* waproamd (automatically detects suitable wireless LANs and supports drop-in configuration)
+
* [http://packages.debian.org/testing/net/whereami whereami] (automatically detects suitable LANs and supports drop-in configuration), waproamd is obselete and limited to WEP
 
* ifplugd (automatically detects network connections and brings up your interfaces accordingly)
 
* 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.
 
* 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.
Line 54: Line 55:
 
====DO NOT USE:====
 
====DO NOT USE:====
  
* tleds (this package will fuck up your keyboard during network-io and tremendously slow down network throughput)
+
* tleds (this package will mess up your keyboard during network-io and tremendously slow down network throughput)
  
 
[[Category:T42p]] [[Category:Debian]]
 
[[Category:T42p]] [[Category:Debian]]

Latest revision as of 15:59, 16 February 2009

Links

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

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 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.11 (or the latest version available)
  • If you have a kernel version < 2.6.10: 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
  • whereami (automatically detects suitable LANs and supports drop-in configuration), waproamd is obselete and limited to WEP
  • 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 mess up your keyboard during network-io and tremendously slow down network throughput)