Installing Ubuntu 6.10 (Edgy) on a Thinkpad T60p

Last Updated:12/18/2006

Contents

  • Introduction
  • Ubuntu Installation
  • Network Configuration
  • X11 configuration
  • General Info
  • Content Info
  • Resources
  • Introduction

    Staring out with a new laptop I've decided to go linux all the way this time. I've decided to use Ubuntu as my distro of choice. This is my first time with both the T60p and Ubuntu. To set the stage I was given a new T60p that has been imaged by the IT staff with an 11GB XP image. I have chosen to not use that install and instead started straight to Ubuntu 6.10 - Edge Eft.

    These are the steps I took to setup my system. There are NO GUARANTEES or WARENTEES associated with these instructions. Use at your own risk.

    System Specs

    General Hardware Specifications of T60p:

    Hardware Components
    Status under Linux
    Notes
    Intel Core Duo 2.16 GHz CPU Works No special procedure required during installation.
    14.1 inch TFT Display with 1400x1050 resolution Works Select Generic LCD Display in Installer
    ATI Mobility FireGL V5200 Works Download ATI Linux driver
    3GB RAM Works No special procedure required during installation
    100 GB SATA Drive Works No special procedure required during installation
    Intel Gigabit Ethernet Works No special procedure required during installation
    Internal 56k Modem Untested In progress
    DVD Multi-Recorder Drive Works No special procedure required during installation
    Atheros Communications, Inc. AR5212 802.11abg NIC Works No special procedure required during installation
    UltraNav (Trackpoint/Touchpad combo) Works No special procedure required during installation
    AD1981HD Audio Works

    No special procedure required if using Kernel 2.6.x.

    If there's something you want to figure out that I don't discuss here, you should check Linux On Laptops and/or the ThinkWiki T60p page.

    lspci Output

    00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
    00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express PCI Express Root Port (rev 03)
    00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
    00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
    00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
    00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
    00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)
    00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)
    00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)
    00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)
    00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)
    00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
    00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
    00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
    00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller AHCI (rev 02)
    00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
    01:00.0 VGA compatible controller: ATI Technologies Inc Unknown device 71c4
    02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
    03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
    15:00.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus Controller
    
              

    Ubuntu Installation

    Downloaded the Ubuntu cd from here: Ubuntu.com . The live cd booted up perfectly for me so I started the install process and let it run. I chose all the defaults except for partitioning.

    Disk Partitioning

    The system I recieved was partioned with a 11gb XP image and the 89 GB space was left open. I partioned this to a 3 GB Swap space, 1 gb /boot, a 30 Gb primary disk and a 50 gb disk which I plan to partion later. I kept the XP image just in case I would need it later. This led to the pleasant surprise the Ubuntu automagically mounts the XP drive in read-only mode. Not something I need but useful all the same.

    I usually make use of a drive sled with a spare HD. As a test I was able to load the sled with a NTFS based HD from my T40. The drive mounts as /dev/hda1.

    Network Configuration

    Both the onboard Ethernet and Wifi Worked out of the box with no problems. I am still getting a handle on how Ubuntu handles the network controls. I have installed wifi-radar from the Ubuntu Universe repositories to help me with the wireless connections. Currently the DHCP settings for eth0 work perfectly.

    Error on my part that I felt was worth noting, due to the way I was starting the Wireless driver, eth0 and ath0/wifi0 were both running at the same time. As a result even though eth0 didn't have a connection, it would wake up every so often to find a DHCP address, messing up the routing for the working wireless connection (achieving 33% packet loss across a few hours). Turning off the eth0 (ifconfig eth0 down) fixed the issue for me.

    X11 configuration

    X Configuration Requirements

    Since I wanted to take full advantage of the ATI card on this box, I moved off of the open source driver it uses out of the box and instead used the fglrx driver from ATI. I used the instructions from this page : Ubuntu Edgy Installation Guide from the Unofficial ATI Linux Driver Wiki. For quick reference I've included the info here, but you should probably refer to the source if you run into problems.

    Disable Composite Extension

    In Ubuntu Edgy the Composite extension is enabled by default, however, fglrx does not yet support Composite with DRI. In order to disable Composite you have to edit the xorg.conf file:

    sudo gedit /etc/X11/xorg.conf

    and add these lines at the end of the file:

    File: /etc/X11/xorg.conf
    Section "Extensions"
    
            Option  "Composite" "Disable"
    EndSection

    Installing the driver

    Make sure the restricted repository is enabled in /etc/apt/sources.list or this guide will not work!

    sudo apt-get update
    sudo apt-get install linux-restricted-modules-$(uname -r) #Okay if it is already installed
    sudo apt-get install xorg-driver-fglrx
    sudo depmod -a
    sudo aticonfig --initial
    sudo aticonfig --overlay-type=Xv
    

    Now Reboot your system:

    sudo shutdown -r now
    

    An alternative to the aticonfig --initial command is to edit /etc/X11/xorg.conf and replace the string "ati" with "fglrx" in the "Device" section. This way you won't lose your old "Screen" and "Monitor" settings. Afterwards you can use aticonfig for setting overlay etc.

    Confirm that it works

    fglrxinfo
    display: :0.0  screen: 0
    OpenGL vendor string: ATI Technologies Inc.
    OpenGL renderer string: RADEON 9600 Generic
    OpenGL version string: 2.0.6011 (8.28.8)
    

    General Use

    Content Info

    These are the steps I took to setup my system. There are NO GUARANTEES or WARRENTIES associated with these instructions. Use at your own risk. With that said, if something doesn't work and you figure out a different/better way, please consider posting your own T60p instructions at Linux on Laptops and/or contributing to ThinkWiki.

    Resources

    I found the following sites useful when I was building my system:

    Linux On Laptops