Installation instructions for the ThinkPad T60p

From ThinkWiki
Revision as of 22:09, 16 August 2006 by Derf (Talk | contribs) (Installing Gentoo 2006.0)
Jump to: navigation, search

Installing Ubuntu Dapper

To get it going:

  • Get Dapper i386 (I used the Daily ISO DVD).
  • Install the default distribution.

It will work, but you need an SMP kernel, and accelerated and higher resolution graphics, so:

  • Install the i686-smp kernel (search for 'linux-kernel' in synaptic).
  • Search for fglrx in synaptic, and install the fglrx modules, X driver and ATI control panel.
  • Edit /etc/X11/xorg.conf, so each of the "Modeline" entries contains a 1600x1200 resolution as well (or whatever the top resolution of your LCD panel is), and change the driver section as follows:
Section "Device"
    Identifier "ATI Technologies, Inc. ATI Default Card"
    Driver "fglrx"               <----- ADD THIS LINE
    #Driver "vesa"               <---- COMMENT OUT THIS LINE
    BusID "PCI:1:0:0"
    ChipID 0x71c5                <----- MAYBE ADD THIS LINE
EndSection


[On my UXGA t60p the ChipID line was actually fatal to getting fglrx to start up (/var/log/Xorg.0.log showed the driver falling back to VESA and fgl_glxgears would crash). Without that ChipID line my chip was identified as:

Chipset: "MOBILITY FireGL V5200 (M56 71C4)" (Chipset = 0x71c4)

which appears to correspond exactly to my machine's spec, and fgl_glxgears worked fine.]

Reboot, and you should be done. Check "cat /proc/cpuinfo" shows two CPUs, and run fgl_glxgears and check you get around 580 frames a second.

I've reported bug 46527 on the lack of screen driver detection, so hopefully this will get even easier.

Note you do NOT need to install ATI drivers from the ATI site. The Ubuntu drivers are sufficient.

Thanks to Rich Tango-Lowy (see below) for the hint re chip detection.

Kubuntu Dapper Live CD

If you're trying to install from the Kubuntu Desktop CD, you'll never make it to the login screen because the ATI display driver isn't recognized.

  • Ctrl-Alt-F1
  • sudo nano /etc/X11/xorg.conf
  • change the display driver line that looks like:
         Driver    "ati"

to

         Driver    "vesa"

[I think I remember that it was "ati", but I could be wrong. In any case this is very clearly the only Driver line in the ATI device specification section]

  • Save and exit
  • sudo /etc/init.d kdm restart

Now you get a login screen.


Installing Gentoo 2006.0

Upon booting off the live cd you will come to the kernel selection prompt. Enter:

   gentoo doscsi

I had some trouble getting the wired NIC to be linked to the driver, often getting an error that the EEPROM failed a check. If this happens, you can try re-inserting the module,

   >rmmod e1000; modprobe e1000

or rebooting and trying again. The wireless card isn't supported by the live cd so you're going to have to stick to wired for now.

In your make.conf make sure you have the following:

   CFLAGS="-march=prescott -O2 -pipe -msse3 -fomit-frame-pointer
   VIDEO_CARDS="fglrx vesa fbdev"
   INPUT_DEVICES="keyboard mouse synaptics"
   FEATURES="sandbox ccache distlocks autoaddcvs parallel-fetch"

and make sure that your USE variable includes USE="ibm". For a more complete discussion of the CFLAGS to use for a Core Duo processor, see this forum thread.

When setting up the kernel ensure the following:
In Processor Type and Feature

  • You have your chip arch set to Pentium4
  • Turn on SMP
  • Turn the timer frequency to 100Mhz since this is a desktop system

In power managment under ACPI

  • Enable it along with all the other settings
  • Don't forget the IBM Thinkpad extras
  • Turn on freq scaling along with Intel ICH chipset support

In Bus options

  • Turn on PCI Express support
  • Enable Message Signaled Interupts
  • Enable PCMCIA support and the yenta driver

In networking

  • Enable IrDA with the associated drivers and protocols
  • Enable Bluetooth with the associated drivers and protocols

In device drivers

  • Turn off parallel port support (You don't have one)
  • Turn OFF ATA support (you have SATA)
  • Turn on scsi disk, cdrom, and generic support
  • Set Probe All LUNs under scsi support (this helps especially with memory card readers)
  • Under scsi low level drivers select sata, AHCI, and Intel ICH support
  • Turn OFF Ethernet 10/100 support
  • Turn ON Etherenet 1000 support along with the Intel PRO/1000 driver
  • Turn ON Wireless Lan support and nothing else (more on this later)
  • Turn off agpgart support
  • Turn off Direct Rendering Manager
  • Turn on HD Audio under Sound->Alsa
  • Turn on TPM devices and enable to National driver under charachter devices

In crypto options:

  • Michael MIC cypher (for wifi)

That should do it. (I know, that's it.) That should make sure that you have all the drivers necessary to boot the system and be able to use all your hardware (almost).

After you install the kernel and reboot you will need to emerge the rest of the drivers that aren't part of the kernel. As of 07Aug2006 you'll need to add the following lines to /etc/portage/package.unmask and /etc/portage/package.keywords

   >=x11-drivers/ati-drivers-8.27.10-r1

since for some reason the latest "stable" version is 8.21. Type:

   emerge ati-drivers

Next you will need to install the ipw3945 drivers. Type:

   emerge ipw3945 ipw3945d wireless-tools

This will install a package called ieee80211 which will complain that you have the old ie not theirs, 80211 system and you need to remove it. Just cut and paste the command that they give you and run the previous emerge again.

That should do it for now, I'll post how to get X11 working when I get there. ;)

External Sources