Installing Debian Lenny on a ThinkPad T61
- 1 Hardware
- 2 Overview
- 3 Kernel Configuration
- 4 Sound: AD1984
- 5 Graphics:
- 6 WiFi: Intel 4965AGN
- 7 WiFi: ThinkPad 11a/b/g Wi-Fi wireless LAN Mini-PCIe US/EMEA/LA/ANZ (Atheros)
- 8 Bluetooth
- 9 Fingerprint Sensor
- 10 References
ThinkPad T61 7663-13G
- Version: 2.6.22
Currently, SATA mode is set to "Compatibility" in the BIOS and I'm using the ATA_PIIX driver, which finds both the hard and the cdrom drive. In AHCI mode, the cdrom is not found. I haven't found any information on that, yet.
Running in the AHCI mode worked for me - the hard drive showed up as /dev/sda and the cdrom as /dev/hda. K3b finds it and uses it fine.
Occasionally, I get messages like
irq 23: nobody cared (try booting with the "irqpoll" option) [<c>] __report_bad_irq+0x24/0x80 [<c0156b11>] note_interrupt+0x251/0x290 [<c0155d65>] handle_IRQ_event+0x25/0x50 [<c015725b>] handle_fasteoi_irq+0xbb/0xf0 [<c0106bfb>] do_IRQ+0x3b/0x70 [<c0104b53>] common_interrupt+0x23/0x28 [<f>] acpi_processor_idle+0x21e/0x3e2 [processor] [<f>] acpi_processor_idle+0x0/0x3e2 [processor] [<c>] cpu_idle+0x84/0xe0 [<c0387a3f>] start_kernel+0x2ef/0x370 [<c03871f0>] unknown_bootoption+0x0/0x260 ======================= handlers: [<f888b530>] (usb_hcd_irq+0x0/0x60 [usbcore]) Disabling IRQ #23
Unfortunately, adding irqpoll to the boot command line only leads to frequent losses of Ethernet connectivity.
When the message appears, USB devices will start to behave weird (USB keyboards & mice lag etc). Unloading and loading ehci-hcd fixes this problem, for now.
Temporary Workaround 2
Adding noirqdebug to the kernel commandline at least removes the messages. Let's hope for a BIOS update from Lenovo.
With the BIOS version 2.07-1.08, the IRQ handling issues are gone, the "noirqdebug" commandline options can be removed.
ThinkPad ACPI Extras v0.15-20070723 (). With the latest version, brightness control works under X11.
I checked out both alsa-driver and alsa-kernel from the repositories () and built the modules for my kernel. After installation, sound (both headphone jack & internal speakers) works just fine. Haven't checked the MIC yet.
Debian users (both Stable/Etch and Testing) can use the small script 2 i wrote to patch and build an alsa module package (with module-assistant). --Fpiat 00:52,20 August 2007 (UTC)
With kernel 2.6.23, the workarounds above are not needed any more. --TorstenMarek 11:17, 27 September 2007 (UTC)
NVidia Quadro NVS 140M
- Driver: nvidia
- Version: 100.14.11
The Debian packages work just fine. There seem to be some (known) issues with framebuffers console. OpenGL applications and games work just fine, Darwinia (Darwinia and Defcon () run smoothly at 1440x900.
I installed the drivers using ENVY. It worked, just download the latest package at http://www.albertomilone.com/nvidia_scripts1.html, and run it, the driver's installation it's quite easy.
With 100.14.09 and RenderAccel/Compositing, I occasionally got hard locks after a couple of minutes, not even SysRq can reboot the machine. Only the NumLock LED is blinking, and no suspicious entries are in the logs. With 100.14.11 and no RenderAccel, the lockups are less frequently. I'm still trying to figure out which configuration makes them go away.
- I've tried to pci=nommcconf on the kernel commandline, didn't help.
With 100.14.19, the lockups seem to be a thing of the past.
- Driver: intel
For versions of the intel driver earlier than 2.1.1, the following is required for proper display scaling:
Section "Monitor" Identifier "TV" Option "Ignore" "true" EndSection Section "Monitor" Identifier "Generic Monitor" Option "DPMS" DisplaySize 332 207 EndSection
This bug was fixed in xf86-video-intel 2.1.1.
WiFi: Intel 4965AGN
With kernel 2.6.24RC3 the driver comes part of the kernel and does not need manual installation. You still have to copy and install the firmware though.
- Driver: iwl4965
- Version: 0.0.34
Since mac80211 is already a part of 2.6.22, only the iwlwifi module needs to be compiled. Following the instructions in the source package was sufficient. The module loads & finds some hardware and I can successfully scan for networks. Connecting to our local WiFi access point using WPA works just fine.
- How did you get this to work? I am following the INSTALL file to the letter, and I'm getting errors. Thanks. Aug 21, 2007 02:38 UTC Atoponce
Installation of linux-image-2.6.22-2-686 along with linux-headers-2.6.22-2-686 works with mac80211 8.0.2 patched in (from the mac80211-8.0.2 directory: ln -s /lib/modules/$(uname -r)/build /lib/modules/$(uname -r)/source; make patch_kernel), iwlwifi-4965-ucode-4.44.17 and iwlwifi-0.0.42. Steps for installation are given below.
If you haven't installed the unstable 2.6.22-2-686 kernel yet that needs to be done and reboot into it. Remember to add unstable or sid to your sources.list.
# aptitude install linux-image-2.6.22-2-686
Now install the headers and build/install the driver.
# aptitude install linux-headers-2.6.22-2-686
# ln -s /lib/modules/$(uname -r)/build /lib/modules/$(uname -r)/source
# tar xzf mac80211-8.0.2.tgz
# tar xzf iwlwifi-4965-ucode-4.44.17.tgz
# cd mac80211-8.0.2
# make; make patch_kernel
# cd ../iwlwifi-0.0.42.tgz
# make; make install
# cp iwlwifi-4965-ucode-4.44.17/*.ucode /lib/firmware
# modprobe iwl4965
This same procedure should work with amd64 kernels with the obvious change to the linux-image and linux-header package installations above. The procedure should also work for the 3945 card provided you've removed the ipw3945 drivers before running the modprobe line.
WiFi: ThinkPad 11a/b/g Wi-Fi wireless LAN Mini-PCIe US/EMEA/LA/ANZ (Atheros)
Using madwifi which is very easy or downloading the modules from the page and usig ndviswrapper(not recommended, uncharted waters). Just add "deb ftp://ftp.au.debian.org/debian unstable main contrib non-free" "deb-src ftp://ftp.au.debian.org/debian unstable main contrib non-free" to the repositories in /etc/apt/sources.list and;
then as root:
- apt-get update
- apt-get install madwifi-source
- apt-get install madwifi-tools
- m-a prepare
- m-a a-i madwifi
then its all done, worked for me. For more information http://madwifi.org/
My Logitech Bluetooth mouse works.
Works with ThinkFinger.
- This guide is listed at the TuxMobil Linux laptop and notebook installation guides survey (IBM/Lenovo).