Tag Archives: ubuntu

Kubuntu 10.04.1 on Lenovo G550 (freedos version)

Other relevant information

output from lspci

00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 09)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 09)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
00:1f.6 Signal processing controller: Intel Corporation 82801I (ICH9 Family) Thermal Subsystem (rev 03)
04:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
07:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02)

Last week I bought a new Lenovo G550 for my sister. It comes with an Intel Dual Core T4500 at 2.3 GHz with a 250Gb quiet hard drive. Memory where two times two Gb. The LED screen has a resolution of 1366 x 768 Pixel with an actual size of 39 cm (15,6″). The graphic card is a Mobile Intel GMA 4500M and the wireless card is a Broadcom Corporation BCM4312 802.11b/g. All in all the Laptop is well packages and sturdy. Most of the housing as a fine structure, such that you do not leave print marks all over it. The CPU fan only kicks in once in a while and does not bother too much.

Kubuntu 10.04.1

The system I bought came with freedos installed. I just popped in a Kubuntu 10.04.1 boot CD and pressed F12 to get to choose the CD drive. After that I selected as a boot option “nomodeset”, as this was advised in several forums, after the first try got me to a black boot screen. After the installation everything worked but for the wireless link. You need to install some firmware first. “sudo apt-get install bcmwl-kernel-source” will do the trick.

The graphics driver seemed somewhat slow, so I installed a snapshot of the new 1.9 Xorg from the xorg crack pushers PPA. Don’t let the name fool you, the packages are well build. After a reboot the system feels very speedy.

No more changes where necessary. Webcam, Ethernet, Sound and USB work right out of the box.

Getting LIRC to comile with the packages from kernel-ppa

I have the bad habit of liking to try new features in all software I use. That also includes the Linux kernel. To get daily updated kernel packages for ubuntu, I use the packages from  kernel-ppa. But I have run into the issue, that the kernel modules from the main LIRC package do not compile with these kernel packages. I searched for a solution and found it. It seems, that the autoconf.h file is not placed in the right directory by default. This means we need to make a copy in the right directory for it to work. The following is an example I used last night.

sudo cp /usr/src/linux-headers-2.6.34-020634rc5-generic/include/generated/autoconf.h /usr/src/linux-headers-2.6.34-020634rc5-generic/include/linux/autoconf.h

All you need to do is change "linux-headers-2.6.34-020634rc5-generic" to whatever kernel packages you downloaded from the kernel-ppa and the copied file should work for you.

Database backends mismatch!

Everytime I upgrade my system I end up having my cyrus IMAP server borked due to database upgrade problems. The latest was from Ubuntu 9.10 to 10.04 that gave me the following error:

/etc/init.d/cyrus2.2: Database backends mismatch! You must manually
/etc/init.d/cyrus2.2: verify and update the Cyrus databases to the
/etc/init.d/cyrus2.2: new backends.
/etc/init.d/cyrus2.2: Please refer to /usr/share/doc/cyrus-common-2.2/README.Debian
/etc/init.d/cyrus2.2: for instructions.

To fix this I had to edit a bit fo my old instructions for SuSE. The next few steps should get your server working again.

cd /var/lib/cyrus
rm db/*
rm db.backup1/*
rm db.backup2/*
rm deliver.db
rm tls_sessions.db
sudo -u cyrus ctl_mboxlist -d > /tmp/mailboxes.txt
mv mailboxes.db mailboxes.db.old
cvt_cyrusdb /tmp/mailboxes.txt flat /var/lib/cyrus/mailboxes.db skiplist
rm /usr/lib/cyrus/cyrus-db-types.active
sudo chown -R cyrus:mail /var/lib/cyrus
dpkg-reconfigure cyrus-common-2.2