amd64which is the Debian name for
- Boot from some Live CD like Knoppix or a Ubuntu CD
- repartition the disk (this is very nice with the Ubuntu CDs as it resizes the NTFS partition) and make filesystems. I chose something this partitioning and did not touch the recovery partition sda2
device size [GB] id, type filesystem sda1 15 7, "HPFS/NTFS" NTFS, just resize sda2 4.5 12, "Compaq diagnostics" don't touch sda3 58 5, "Extended" sda5 2 82, "Linux swap/Solaris" swap sda6 8 83, "Linux" ext3, / sda7 48 83, "Linux" ext3, /home
- install, e.g. run
debootstrapand configure the basic debian system as described in the debian installation manual
Kernel compilationI chose to compile a kernel suitable for the ThinkPad, which is easily done with debian's kernel-package using:make-kpkg --rootcmd fakeroot --initrd --revision=t60fug kernel_image kernel_headersUPDATE 2007-02-23 I use version 2.6.20 with this
.config. The important points for me are:
Also made a
- modules where possible
- no ATA/ATAPI/MFM/RLL support
- SATA with ahci and Intel PIIX SATA
- SCSI disk support
- DRI support and Intel AGP support
- no Direct Rendering Manager: if the
drmmodule is loaded, the
fglrxmodule will not load
- support for software suspend
- for cpufreq, select the conservative governor (Intel recommends these in-kernel governors)
kernel-headerspackage for compilation of other modules.
X11 setupFor X11, there is no reasonable open-source driver available for the built-in ATI x1400 card so one is forced to use the closed-source fglrx driver available from ATI. I use version 8.34.8 and created debian packages with:./ati...installer.run --buildpkg Debian/unstableInstallation of the x.org driver caused no problem. UPDATE 2007-02-23 Compilation of the kernel module for 2.6.20 worked after two fixes:
Both fixes are crude but they seem to work. I replaced the file
- Copying an old
unistd.hfrom somewhere (e.g.
#include'ing it in
- Dropping the last argument for
INIT_WORKin the same file.
/usr/src/fglrgr.tar.bz2which is installed by the
fglrx-kernel-srcpackage with a new version including my modifications and then usedmodule-assistant -u /tmp/xy build fglrxto build the module. This is my
/etc/X11/xorg.conf. The package
fglrx-controlshould depend on some 32bit libraries as it needs them to run. Install
ia32-libsto make it run. I have no use for it. With this setup, DRI/OpenGL acceleration and software suspend work.
Problems with the ATI drivers
Summary: ATI is a bad buy for Linux. When I asked my reseller (before buying) why I cannot get a T60 with SXGA+ display and Intel graphics in Europe, he explained that Lenovo sells the T60 in Europe only with ATI cards because of their higher performance compared to the Intel cards. This reasoning seems not to apply to americans somehow. For me the high performance boils down to a lot of heat produced by the graphics chip. One can get this cheaper.
- UPDATE 2007-02-23 With the ATI driver version 8.34.8, also the XVideo extension can be loaded without crashing the server, so it is finally possible to watch movies.
- Running two X-servers with the
fglrxdriver caused a lockup. Therefore, I added the VESA screen to
xorg.conf. As I use
kdmas login manager, I added some lines to make it use the
ATI_Layouton the first display and the
VESA_Layouton the other displays:Using the display resolution of 1400x1050 pixels with VESA works nice if the[X-:*-Core] # ... ServerCmd=/usr/bin/X -layout "VESA_Layout" -br [X-:0-Core] # ... ServerCmd=/usr/bin/X -layout "ATI_Layout" -br TerminateServer=true
fglrxdriver is not loaded. If
fglrxis loaded, 1400x1050 produces a lot of flickering and only 1280x1024 gives useable results. UPDATE 2007-02-23 As I do not need two X servers often, I did not check if this is still true for ATI driver version 8.34.8.
Intel Gigabit EthernetThe card works perfectly once it is recognized. UPDATE 2007-02-23 Lenovo supplies a fix for this problem. After running the script, no more kernel patches are needed.
Intel 3945abg WLANThere are debian packages for the Intel 3945abg WLAN driver which can be built withmodule-assistant -u /tmp/xy ipw3945The "regulatory daemon" and the firmware can be downloaded from Intel and needs to be copied to
/lib/firmware, respecively. Or the
firmware-ipw3945packages can be installed.
ProblemsUp to the most recent versions I did not succeed to make this driver work reliably. It works fine the first time it is loaded, but then it causes problems. If it is loaded, software suspend often fails to resume. Also unloading the module sometimes gives a kernel oops. I do not know how this is related to my habit of booting with the kill switch turned on, i.e. WLAN disabled. There is a discussion on ipw3945.sourceforge.net where this discussion sounds most interesting.
Suspend to DiskSuspend-to-disk (or rather resume-from-disk) works reliably using uswsusp as long as the WLAN driver is not loaded. With the
splashypackage and after installing
libdirectfb-extraI also get a sleeping tux while suspending/resuming.
- I gave up trying to setup the modem with the Linuxant driver. I do not really need the modem. The package provided by Lenovo for the T60p is not for 64bit. I bought an old PCMCIA modem for 2€.
- Works, even for an old Xircom modem card.
- Works (if the kill switch enables wireless connections), no problems beyond installing the right packages.
- Works, but the
nsc-irccmodule needs the option
dongle_id=0x09. A lineoptions nsc-ircc dongle_id=0x09in, e.g.,
/etc/modprobe.d/irda-utilssets this option.
- Fingerprint reader
- It is accessible using the SF.net thinkfinger project and even recognises my index finger, but I did not try to integrate it into password-checking.
- Sound, DVD-RW
- Works fine.
LinksYou might find more information following these links: