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

From ThinkWiki
Jump to: navigation, search
m (changed laptop mode bullet to point to laptop-mode page)
(repartitioned the page and moved steps which apply to other models as well to their own page)
Line 1: Line 1:
Unfortunately there are no detailed instructions here, yet. During my install of Debian Linux on my T42p I found the following Links to be very, very useful, though:
+
==Links==
 +
During my install of Debian Linux on my T42p I found the following Links to be very, very useful:
  
 
* [http://www.digriz.org.uk/t40p-linux/ A page with instructions for T40p.] Lots of useful info
 
* [http://www.digriz.org.uk/t40p-linux/ A page with instructions for T40p.] Lots of useful info
Line 10: Line 11:
 
* another special and useful kernel module: [[Ibm-acpi | IBM-ACPI]]
 
* another special and useful kernel module: [[Ibm-acpi | IBM-ACPI]]
 
* [[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]
 +
 +
==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 [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 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!)
  
If you want to keep your WinXP partition and you dont want to shell out lots of money for PartitionMagic, you can use [http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html ntfsresize]. The version to be found in kanotix is fairly old and cannot cope well with fragmented volumes so I recommend booting kanotix, getting it online and using the latest version to be found at the ntfsresize link. Be sure to resize your Windows partition AFTER having resized ntfs and TAKE CARE not to make the partition smaller than you made the ntfs.
+
Before you change or repartition your drive, visit the [http://thinkpad.moonflower.de/Installation_steps_which_apply_to_every_Thinkpad_model?section=1  Backup/Rescue-Section].
 +
 
 +
If you want to keep your WinXP partition, take a look at the [http://thinkpad.moonflower.de/Installation_steps_which_apply_to_every_Thinkpad_model?section=2  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.
 
  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.
  
The following Debian packages are relevant to your Thinkpad installation:
+
==Debian Packages==
 +
 
 +
The following packages are relevant to your Thinkpad installation:
  
Kernel:
+
====Kernel:====
  
 
* kernel-source-2.6.8 (or the latest version available)
 
* kernel-source-2.6.8 (or the latest version available)
Line 28: Line 36:
 
* (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]
  
Other:
+
====Other:====
  
 
* sl-modem-daemon (modem)
 
* sl-modem-daemon (modem)
Line 42: Line 50:
 
* laptop-mode-tools (see [[Laptop-mode | laptop-mode]] for further information)
 
* laptop-mode-tools (see [[Laptop-mode | laptop-mode]] for further information)
  
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 fuck up your keyboard during network-io and tremendously slow down network throughput)
  
 
[[Category:T42p]]
 
[[Category:T42p]]

Revision as of 19:46, 26 September 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.

Debian Packages

The following packages are relevant to your Thinkpad installation:

Kernel:

  • kernel-source-2.6.8 (or the latest version available)
  • sl-modem-source (for the built-in modem)
  • ipw2100-source (if you have the "simple" 802.11b WLAN option, otherwise not)
  • thinkpad-source
  • (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)