Gentoo on Compaq Presario 2516EA

24th March 2008 version

What's new

- everything now reflects kernel 2.6.24-gentoo-r3
- guide to install KDE 4.0.2
- guide to install Vodafone Mobile Connect Card
- previous version of this page is archived here
- if you want information about installing Gentoo on a RedHat 9 system please visit my other page here

| | | | | | | |


- Intel Pentium 4 @ 2,53 GHz
- 512 MB DDR PC 266 MHz (2 x 256 MB)
- 40 GB Hard Disk EIDE, ATA 100
- TFT XGA 15''
- ATI Mobility Radeon M6-C/P (Radeon IGP 345M RS200/RS200M)
- Toshiba DVD-ROM SD-R2312

Gentoo Installation

The best way to install Gentoo is to follow this installation guide.
I made a stage 1 install.
My USE flags.


I'm currently using kernel 2.6.24-gentoo-r3 (.config)
My dmesg is here.


In order to be able to merge KDE 4, you need to configure the package.* files in /etc/portage/
After that just run
emerge -avD kde-base/kde-meta:kde-4

Note: This information was taken from
A screenshot from my KDE 4.0.2 desktop is here


To install DRI in X.Org check this how-to.
I followed it by doing the installation based on the Kernel options. I wasn't able to use the intel-agp module so before compiling the kernel I also selected
Device Drivers -> Graphics Support -> /dev/agpgart (AGP Support) -> ATI Chipset Support
in order to get the ati-agp module.
(Note: using the intel-agp module X.Org couldn't initialize with DRM and the following system error appeared: "[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held"
Don't forget to update your USE flags.
This is also a nice how-to here.


The flags I used to install Gentoo were (defined in /etc/make.conf):
USE="X -gtk -gnome qt kde alsa cdr dvd opengl nptl nptlonly xcomposite"
VIDEO_CARDS="vesa radeon"
CFLAGS="-O2 -march=pentium4 -funroll-loops -pipe"

To update the system run:
emerge --sync
emerge -uDv system
emerge -uDv world

If you want to see first what packages will be installed add the -p option. Example:
emerge -uDvp world

To make sure you are updating all your files run:

To make sure you're package dependencies are correct you should run (once in a while):

(Note: revdep-rebuild comes with the gentoolkit package)

Configure hostname and domain name:

I used this script (Copyright Kalin KOZHUHAROV


I have a Vodafone Globe Trotter 3G+ board. This one.
To install it under Gentoo first download the nozomi driver from,com_forum/Itemid,68/page,viewtopic/t,118/
After that, unpack the sources.
As described in the forum, for this kernel, I had to modify the file nozomi.c:

Line 1515
if ((rval = request_irq(pdev->irq, &interrupt_handler, SA_SHIRQ, NOZOMI_NAME, pdev))) {
if ((rval = request_irq(pdev->irq, &interrupt_handler, IRQF_SHARED, NOZOMI_NAME, pdev))) {

Line 1736
INIT_WORK(&dc->tty_flip_wq_struct, tty_flip_queue_function, dc);
INIT_WORK(&dc->tty_flip_wq_struct, tty_flip_queue_function);

Line 2396
rval = pci_module_init(&nozomi_driver);
rval = pci_register_driver(&nozomi_driver);

make install (as root)

Note: You may need to create the following directories manually if you get an error:
mkdir /lib/modules/2.6.24-gentoo-r3/kernel/drivers/pci
mkdir /lib/modules/2.6.24-gentoo-r3/kernel/drivers/pci/hotplug

Now create the file Vodafone in /etc/ppp/peers/ and the file chat-Vodafone in /etc/ppp/
Finally create a script to start the connection. The one I created is here. Just make the file executable and run it.
I didn't define the PIN anywhere because I removed that option from my SIM card.


My X.Org config file is here.
The output of " lspci -vv " is here.
Screenshots from my desktop: new, old and the oldest.


Gentoo Linux
Best place to get help
Gentoo Linux on Dell 8200

Mesquita (aka Fly)
Email (please replace -at- with @ ; this is just to prevent spamming):

24th March 2008 version
Previous update on 7th January 2005
Online since 3rd March 2004

Valid XHTML 1.1