Everything is Broken

Big Switch 3: Tweaking and Troubleshooting

OK, so we did the research and installed the chosen distribution in the last part. Now we’re going to fix some of the problems.

As I mentioned before, this Thinkpad R51e doesn’t play nice with Linux. I tried several distributions on it, and none of them worked perfectly out of the box, leading me to believe that Lenovo had slipped some non-standard hardware in there.

The first problem to fix was the boot sequence, which threw up a couple of errors. First of all there was the problem with the grub splash screen. I can’t recall the exact message, but it was unable to find the file /boot/grub/message.mint, and the boot sequence halted until I hit a key. This was caused by the fact I had my /boot directory mounted on a different partition to the root (/) partitions. I fixed this by booting into the OS and editing the grub menu file:

sudo  gedit /boot/grub/menu.lst

The line which refers to /boot/grub/message.mint needs to be changed to /grub/message/mint, and the message.mint file needs to be copied from elsewhere on the file system into the /boot/grub directory.

cp /etc/grub/message.mint /boot/grub/message.mint

And next time you reboot, all is good.

Secondly there was an error message about a BIOS bug: ” MP-BIOS bug 8245: timer not connected to IO-APIC”. After some research this was fixed by editing the boot command and appending noapic to the end of it.

A third bug also required the same solution: towards the end of the boot, the sequence stalled for about 2-3 minutes. Some more research on the Ubuntu forums suggested that appending ec_intr=0 to the end of the boot command would help this. OK so to do both of these, we need to edit grub’s menu.lst file:

sudo  gedit /boot/grub/menu.lst

and change the line which says

kernel  /boot/vmlinuz-2.6.22-14-generic root=/dev/hda5 ro quiet splash

for one which says

kernel  /boot/vmlinuz-2.6.22-14-generic root=/dev/hda5 ro quiet noapic ec_intr=0 splash

To make sure that Linux puts these commands on the end of every new line it adds to your menu.lst file you can also add it to the line starting kopt. Eg.

kopt=root=/dev/hda1 ro noapic ec_intr=0

OK now we get a trouble-free boot, and everything looks good.

Now its time to fix the other hardware problem I had, and set up the wireless, which was a bit of a show-stopper. The hardware was listed by Lenovo as Intel PRO/Wireless 2200bg, 2915abg, 3945bg, 3945abg, 4965ag, 4965agn Mini PCI adapter, and by Linux’s lspci command as Ethernet controller: Atheros Communications, Inc. AR5212/AR5213 Multiprotocol MAC/baseband processor (rev 01). The problem was that the hardware was detected and seemed to be working properly, but wouldn’t connect to my Access Point. In fact that wasn’t entirely accurate – I could connect without any encryption on the AP, but as soon as I put encryption on it, no dice. By contrast, I could plug in a spare WiFi card (an old Buffalo Airstation) and using that connection, everything was fine.

In the end I fiddled with this for a day or so,  but decided to continue using a wired connection and come back to this later. In a corporate setting I’d be disappointed with Lenovo, as I think the fault lies with the choice of hardware and the drivers available to Linux.

More next time on the software setup …

This entry was posted on Tuesday, February 12th, 2008 at 2:28 pm and is filed under General IT, Linux. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

« Big Switch 2: Installation Day
Sorry Sir, your phone is broken »

Leave a Reply

CAPTCHA Image CAPTCHA Audio
Refresh Image
  • Recent Posts

    • ClamAV reporting Outdated version
    • Adventures in unbricking a router
    • One Line Guitar Tuner
    • Captcha Madness
    • Ubuntu upgrade 9.04 to 9.10
  • Sing for your supper

  • Static

    • About
    • Privacy Policy
  • Tags

    apathy apple calendar chkconfig collanos cross-platform eee evolution firmware google grub hotspot id card lightning Linux Mandriva notebook partitioning pclinuxos pclinuxos 2008 Philippines power management re-install sane scanner scheduleworld script Security slow sysv-rc-conf thinkpad thunderbird trust ubuntu ultraportable usb virtualisation vmware vpn wifi wireless workspace sharing xsane yahoo zombie
  • Blogroll

    • Datalude
    • Digital Life
    • Engage the World
  • Archives

    • May 2010
    • April 2010
    • March 2010
    • November 2009
    • October 2009
    • June 2009
    • May 2009
    • April 2009
    • February 2009
    • January 2009
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • April 2008
    • March 2008
    • February 2008

Everything is Broken runs on WordPress. Theme by Bob. All content Copyright © Datalude 2008+.