FC4 on the HP Pavilion zv5000z
This document was last updated: 6 August 2006.
Fedora Core 4
Installing the x86-64 port of Fedora Core 4 will require absolutely no tweaking unless you need to use your PCMCIA slot for a cardbus adapter. After all the trouble I went through with Fedora Core 3, I was very pleasantly surprised to see so much done right with FC4.
You will probably still want to replace the open source nv X.org driver with the proprietary accelerated nvidia driver provided by NVidia.
To make use of the PCMCIA slot, add the following lines to the /etc/pcmcia/config.opts file:
include port 0x3000-0x7fff
That’s pretty much it. Everything else just works.
FC4 Configuration notes
Below are some more detailed instructions on what may need to be tweaked to get the zv5000z working optimally with Fedora Core 4.
NVidia has been kind to the Linux community by providing accelerated X drivers and chipset drivers. Thanks NVidia.
Out of the box, the zv5000z will use the open source nv X video driver. This works, but there are two downsides. First, the nv driver is only a 2D driver. Second, once you’ve got the system into graphical mode, you can’t go back to text mode. Well, you can, but text mode is an unreadable mess. This isn’t a problem with the nv driver—it switches fine between text and graphical modes on most systems—but with the nv driver in this laptop.
I recommend grabbing the AMD64 Linux drivers from NVidia. You can get those from the following URL: <http://www.nvidia.com/object/linux.html>
NVidia distributes a .run file containing the driver and installer. You should download it, run it as root with the sh command.
This will run the installer application that will ask you a few questions. Just go along with just about everything it asks and you’ll be fine. Make sure you have the development packages installed prior to this because you’ll be compiling kernel modules.
When the NVidia installer is all done, there will be some great documentation in the /usr/share/doc/NVIDIA_GLX-1.0 directory.
Because the NVidia driver is a kernel driver, you’re going to run into video problems every time you upgrade to a new kernel. For example, if you use yum or up2date to upgrade to a new kernel and then reboot, you’ll want to boot into runlevel 3 (text mode) and run the NVidia installer again to built the NVidia driver for the new kernel.
You will want to add this line to your /etc/modprobe.conf file:
There were udev issues when running the zv5000z with Fedora Core 3. You had to disable the Red Hat Graphical Boot (rhgb) in your grub configuration and/or copy the /dev/nvidia* device files to the /etc/udev/devices/ directory. Not anymore! FC4 requires none of this!
See the next section on how to get X.org to use the nvidia driver.
The amount of custom configuration has been greatly reduced from FC3. The Fedora installer now knows about the 1680x1050 display resolution and lets you choose it during the firstboot process. It may also let you choose the next higher resolution too, but I don’t know because I don’t have a display that “resolute.”
So... the X.org configuration only needs to be tweaked if you’re using the proprietary video driver supplied by NVidia.
First, comment out the section in the /etc/X11/xorg.conf file that loads the dri module.
Section "Module" Load "dbe" Load "extmod" Load "fbdevhw" Load "glx" Load "record" Load "freetype" Load "type1" # Load "dri" EndSection
Next, comment out the line that specifies the nv driver and add a line that specifies the nvidia driver.
Section "Device" Identifier "Videocard0" # Driver "nv" Driver "nvidia" VendorName "Videocard vendor" BoardName "NVIDIA GeForce 4 (generic)" EndSection
The PCMCIA controller is a Texas Instruments PCI1620 PC Card Controller. I had problems getting Linux to recognize the controller under Fedora Core 1 (2.4 kernel), but FC2 and FC3 seem to recognize it okay.
You have to add some I/O port ranges and memory ranges to the config.opts file to get the PCMCIA subsystem working properly.
I figured these out by booting into Windows 2000 and looking at the resources being used by the PCMCIA controller in the hardware device properties. Comparing notes with other users of these laptops helped narrow it down as well.
Specifically, these two lines need to be added to the stock /etc/pcmcia/config.opts:
include port 0x3000-0x7fff