Compiz with Nvidia drivers on CentOS 5

I've just installed my main workstation at home with CentOS 5 ... this one has a nvidia video card (GeForce 6600) and i installed official nvidia drivers ... but after that i was not able to enable desktop-effects (compiz). You need to add something in your /etc/xorg.conf for compiz to work with nvidia drivers ... here they are (verify that they exist in your existing xorg.conf or add them) :

Section "Module"
Load "glx"
Load "extmod"

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"

Section "DRI"
Group 0
Mode 0666

A friday afternoon test

I had foolish idea this friday afternoon. I was at the office and i tested an upgrade from CentOS 4.4 i386 (32 bits) running on a IBM HS20 Blade server to CentOS 5.0 X86_64 ! Some will say (and i agree) that such thing is a silly thing to do , but the sun was shining and i had to reinstall the blade anyway ... But strangely, it worked ! I upgraded with Anaconda (through an NFS install). The only problem i had was related to udev and linuxwacom. I had to remove the old udev package (that was left behind) and verify the newer one ... but after that everything was running perfectly ! Of course that's something i'll never do on production servers ... :o)

IBM Lotus Notes for linux sucks

It's been a while that i've installed the Lotus Notes client for Linux on my laptop ... but because i've reinstalled my laptop from CentOS 4.4 to CentOS 5 , i needed to setup this crappy client once again ... 'crappy client ?' yes . First of all, IBM decided to release such tool only with its own installer (that is java based of course) ... so no RPM available (hmmm, that should have been too easy for stupid end users i guess ...) . The problem with such installer is that it doesn't even verify if you have dependencies ... it only installs a java-based workplace client (by default in /opt) but if you do it as root, it will try to setup the Notes plugin for the root account only ... (hehehe the Lotus notes client for Linux is not multi-users aware yet ...) . So recommandation is to create a /opt/IBM directory and let the user modify this directory ... You launch so the installation as a simple user but when it finishes you think you can now configure the client .... no !

Because no dependencies were checked you have to use ldd and strace to find what it is missing .. (in my case , using ...

CentOS at Linux World Expo in Belgium

Thanks to X-tend , CentOS will be present at the Linux World Expo in Belgium this year. We (Dag Wieers and myself) will distribute flyers and try to show CentOS 5 in action. This was not really scheduled, but it's always a good idea to show CentOS to people who never heard of it ... especially when you know that, unlike the Fosdem that is attracting more geeks, the Linux World Expo tends to attract Enterprise Linux users (by inviting commercial companies like Redhat, Novell, and companies offering support for linux in belgium ). We hope to see people already using upstream distribution to at least be aware that CentOS exists ... Pictures and comments will come after the event ...

Fosdem 2007 is over

I had the chance this year to participate with the CentOS team ... too much people at 'le roy d'espagne' cafe for the beer event so we had to move and go to another bar ... some pictures are available on my website and my presentation is available (with other centos fosdem team members presentations) on the CentOS wiki

vga= in grub.conf

Each time i want  to use framebuffer in console i have to search kernel doc about vesafb about possible vga= entries.

Here they are :

{.alt2 style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 114px"} | 640x480 800x600 1024x768 1280x1024 ----+------------------------------------- 256 | 0x301 0x303 0x305 0x307 32k | 0x310 0x313 0x316 0x319 64k | 0x311 0x314 0x317 0x31A 16M | 0x312 0x315 0x318 0x31B

You can use it like that or convert hex in decimal : 0x317 then becomes 791

Software raid1 and grub failing on CentOS 4.x

I don't like to play with software raid usually (i prefer real hardware raid card on servers ..) but i had to setup a small machine with 2 sata disks in raid 1. The problem is that after the reboot grub will fail to load the kernel (grub error 15).

Solution is to boot in rescue mode , issue a chroot /mnt/sysimage and setup grub manually on each drives :


grub>root (hd0,0)
grub>setup (hd0)
grub>root (hd1,0)
grub>setup (hd1)

Reboot the machine and you'll have grub on each raid device ...

Newer sata controllers on CentOS 4.x and 'all-generic-ide'

I had recently to setup CentOS 4.4 on a Acer desktop machine. Problem was that this machine (acert T180) contains a nvidia nforce chipset that neither centos default kernel or nvidia nforce driver disk ( support ... Solution was to pass the 'all-generic-ide' parameter to the kernel ... it treats sata discs as ide but it works ... and performances seem roughtly the same ... tip : don't forget to give this parameter in grub.conf also so that your machine will reboot after the setup part ....