Fedora Linux

I've been using linux since Redhat version 5.0 with the first experience on even older versions. So now it's currently fedora versions that are being used. The intention of this page is to remember various hacks or other things which also could show out to be useful for other people - who knows?

Fedora 9 on E6300 Gigabyte DS3L with ATI 1900 XT

Fedora 8 on T61

This is my log on installing fedora 8 on my T61 starting on November 15th 2007.

Hardware Specification

The laptop has the following hardware specifications.

CPUT7300 (core 2 duo 2.0 GHz, 4 MB, 800 MHz frontside bus)
Harddisk250 GB, Western Digital SATA I, 5400 RPM (not the original)
GraphicsNvidia NVS 140M 512 MB - needs kmod-nvidia to work
AudioIntel audio - works out of the box
LANIntel e1000 - works works out of the box
WifiAtheros Communications, Inc AR5212 802.11abg NIC (rev 01)Intel 3945abg

Day one: 2007.11.15

Made a DVD and installed which is easy. No notes of interest, that can't be found elsewhere...

Day two: 2007.11.16

Extra repositories

Installed the Livna Repo for fedora 8:

rpm -Uvh http://rpm.livna.org/livna-release-8.rpm

Update the entire system before installing anything:

yum update

Jeez - the initial update was very quick. Much faster than fedora 6! Give me a list of all available packages so I can go through them and install the packages I need:

yum list all > yumlist20071116.txt


Install kmod-nvidia

yum install kmod-nvidia

Peachy... :-) Now reboot... I could manually load the kernel module, but this laptop is fast to reboot:


Check if the kernel module has loaded:

dmesg|grep -i nvidia

We don't need to enable the module as this has already been done. Just edit /etc/inittab by changing runlevel from 3 (full multiuser mode) to 5 (X11):

# becomes

Instead of rebooting just type:

init 5

And you should be greeted with the loginscreen.

Wifi - Atheros AR5212

This doesn't work straight out of the box, but installing madwifi packages should make it work.

yum install kmod-madwifi

Startup the Network manager and dispatcher modules and make the automatically startup as well:

chkconfig --level 345 NetworkManager on
chkconfig --level 345 NetworkManagerDispatcher on

Reboot, so we get the kernel modules installed (hopefully). Wohoo. Works. NetworkManager already shows the device in the list. No extra configuration needed other than connect to various networks etc. etc. Excellent!

Ekstra notes 2007.11.21!!! After a lot of hassle trying to connect to my Linksys WAG200G router, I have given up. It connected one time but then it failed miserably all the other times. There seem to be some time-out failures with the the wpa_supplicant. I never had any problems when using the ipw2100-card. Therefore I went out and bought an Intel pro 3945 ABG pci express card and installed it. Only afterwards did I learn, that normally this would not be possible due to the fact that the laptop only accepts specific hardware ids (see this thinkwiki page. Nonetheless this card actually works and it's not an original Lenovo sparepart, but I guess that I was just lucky enough to hit a correct PCI ID. Go figure...

The 3945 card works out of the box with the in fedora 8 included iwlwifi drivers. Sweet. And it has better reception (also in windows xp) than the atheros 5212 card. Why didn't they just go all intel while they were at it!?

Tested now against my Linksys WAG200G with WPA-PSK. Works perfectly. Haven't experienced any hickups.

I would actually wish that I had gotten a laptop with the intel x3100 graphics card as it consumes less power than the nvidia card. I really don't use all those nice GPU-graphics-horsepowers for anything.

Reducing Powerconsumption

Install powertop: "yum install powertop"

This baby is powerhungry like h***! After running powertop and enabling the default suggestions from powertop, it uses around 24 Watts!!!!! Insane. It should only use about half of that.

Nvidia Coolbits

Added the line 'Option "Coolbits" "1"' to the device section of the driver. Then after logging out and in again. I could change the Nvidia clock to 100 MHz (from 167 MHz). This reduced the watt to around 19 Watts. Muuuch better. Though to preseve this option after boot I created a file called: .my-nvidia-settings-rc with the following content:

Nvidia VBlank

Add the option: 'Option "OnDemandVBlankInterrupts" "true"' after the previous option. We're now below 20 Watts, but I'm not impressed. I had a R50 that used 13 Watts and I have a R40, which uses 10 Watts - both with wireless enabled!


eh... doesn't really work. Something with the nvidia driver I guess. Still need to work on that part.

Nvidia beta linux driver 169.04 2007.11.27

Installed the beta driver after first uninstalling the three livna drivers (yum remove kmod-nvidia-100.14.19-18.lvn8 kmod-nvidia- xorg-x11-drv-nvidia-100.14.19-4.lvn8). Then I installed the beta driver after switching to run-level 3 (CTRL-ALT-F1, login as root, type init 3) using the nvidia setup (sh NVIDIA-Linux-x86_64-169.04-pkg2.run) which required the kernel-devel to be installed (yum install kernel-devel, kernel-headers). Now brightness control works and the the power management seems to be improved. I still have problems with getting the darn to resume after hibernation (suspend to disk). And this didn't seem to fix it.

Nvidia 169.04 - updated! 2007.11.29

I had some annoying problems after using the other driver than the driver provided by Livna. I could for example not scale movies in mplayer (full-window). Well this was fixed by adding extra lines to the xorg-configuration file:

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "fbdevhw"
    Load           "glx"
    Load           "record"
    Load           "freetype"
    Load           "type1"

Only "glx" was present in the nvidia-xconfig generated one. Peachy. :-)

2007.11.21: Microsoft True Type Fonts Install

Follow guide on http://corefonts.sourceforge.net/ or do the following (you might not need all the steps, but I did).

yum install rpm-build cabextract chkfontpath
wget http://corefonts.sourceforge.net/msttcorefonts-2.0-1.spec
rpmbuild -bb msttcorefonts-2.0-1.spec
rpm -ivh /usr/src/redhat/RPMS/noarch/msttcorefonts-2.0-1.noarch.rpm

Citrix Client

The citrix client requires opentif: Get it from here: ftp://ftp.ics.com/openmotif/2.3/2.3.0/openmotif-2.3.0-1.fc6.x86_64.rpm Openmotif requires libXp.so.6

 yum install libXp
rpm -Uvh openmotif-2.3.0-1.fc6.x86_64.rpm
rpm -Uvh --nodeps ICAClient-10.6-1.i386.rpm

Lightning 0.7 for Thunderbird 2007.11.27

Urk... the lightning module does not work out of the box for thunderbid x86_64 on fedora 8. Downloaded the lightning package:

wget http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/0.7/source/lightning-sunbird-0.7-source.tar.bz2
tar xjf lightning-sunbird-0.7-source.tar.bz2
cd mozilla/

Configure barfs some times for missing stuff... install extra stuff:

yum install gtk2-devel libIDL-devel

Run configure with some flags and then make:

./configure --enable-application=mail

compiles for a loooong time... and dies...
So I tried this link using these options:

make distclean
export CFLAGS="-O2 -pipe -fPIC"
export CHOST="x86_64-pc-linux-gnu"
export MAKEOPTS="-j3"
ac_cv_visibility_pragma=no ./configure --enable-application=mail --enable-extensions=default,lightning

And it dies with errors in gtk2xtbin.c ... *sigh*... Alright - shortcut... Downloaded it instead and installed it from http://www.devzero.net/thunderbird/lightning-0.7-x86_64.xpi.

After this the add-on "provider for google calendar" (see here) installs with no problems.

libgnomebreakpad.so error

I've been annoyed by the following error:

Gtk-WARNING **: Failed to load module "libgnomebreakpad.so": libgnomebreakpad.so: cannot open shared object file: No such file or directory

As it turns out, this file is part of bug-buddy package. However this is already installed, but as I'm running x86_64 kernel, I need to install the i386 version. This is not in the repo - DANG!

Found the file here: http://download.fedora.redhat.com/pub/fedora/linux/releases/8/Fedora/i386/os/Packages/bug-buddy-2.20.1-1.fc8.i386.rpm

The package was installed with:

yum localinstall bug-buddy-2.20.1-1.fc8.i386.rpm

Which also resolves a dependancy on the fly... :-) However, this wasn't enough. So after some searching I found this link, where I resolved this issue by creating two files and running ldconfig as root

echo "/usr/lib/gtk-2.0/modules" > /etc/ld.so.conf.d/gtk-2.0-i386.conf
echo "/usr/lib64/gtk-2.0/modules" > /etc/ld.so.conf.d/gtk-2.0-x86_64.conf

... and now it finally stopped bitching.... :-)

NVIDIA driver from Livna working since Dec. 22. 2007

Today, February 18th 2008, I installed the livna kmod-nvidia driver since it was updated to 169.0x December 22nd 2008. It works like a charm. I simply did a:

yum install kmod-nvidia
init 3
nvidia-config-display enable

Now that's easy and it just works... :-) So no more annoying manual installations of the Nvidia module after kernel updates...

Valid XHTML 1.0 Transitional