Red Hat Enterprise Linux

From cchtml.com
Revision as of 23:52, 16 December 2008 by 170.35.208.23 (talk) (FIELD_OTHER)

"Red Hat Enterprise Linux is the leading platform for open source computing. It is sold by subscription, delivers continuous value and is certified by top enterprise hardware and software vendors. From the desktop to the datacenter, Enterprise Linux couples the innovation of open source technology and the stability of a true enterprise-class platform." -redhat.com

Please note that Red Hat Enterprise Linux and Fedora Core are distantly related and are not the same product. Please see the Fedora distribution page for more details.

Another option for those wanting the stability of RHEL, there are various RHEL clones, some of them listed below:

- CentOS is a community effort which tracks each RHEL release and update and offers up2date and yum service. All this for free, donations encouraged.

- The StartCom Linux operating systems, are based on the RedHat Enterprise and Fedora source code each modified with reliability, security and efficiency in mind, to fit the tasks assigned to each flavor of StartCom Linux.

Installation Workaround for RHEL clones

Installation of current RPMs like fglrx_6_8_0-8.42.3-1.i386.rpm may fail on RHEL clones with this error message:

  FATAL: Module fglrx not found.
  /var/tmp/rpm-tmp.5182: line 807: [: =: unary operator expected

The problem is that the installation script searches for the string "Red Hat" in /etc/redhat-release. So before installing the RPM simply replace "CentOS" by "Red Hat" in /etc/redhat-release using a text editor. After the RPM has installed successfully I recommend to restore your old /etc/redhat-release. For StartCom Linux create the file /etc/redhat-release with the string "Red Hat" in it. This seems to have been fixed as of CentOS 5.1.

FIELD_MESSAGE_noormon

Red Hat Enterprise Linux 4 Update 6

The ATI GUI installer on a ThinkPad T60 needed to install kernel-devel and rpm-build

  1. up2date -f kernel-devel rpm-build
  2. ./ati-driver-installer-8-4-x86.x86_64.run --listpkg
  3. ./ati-driver-installer-8-4-x86.x86_64.run --buildpkg RedHat/RHEL4

Red Hat Enterprise Linux 5.0 (RHEL 5.0 and CentOS 5.0)

fglrx versions up to and including 8.36.5 require that you install some compatabiliy RPMs.

Here is what I did to get the fglrx driver to run with my FireGX 5150 on CentOS 5.0:

Install ATI driver 8.36.5.

Display all compat-* RPMs if you like:

  yum list "compat-*"

Install the compat RPMs. I installed a bunch of them that I need for other reasons:

  yum install compat-libstdc  -33 compat-glibc compat-gcc-34 compat-readline compat-libf2c

I do not know which if these RPMs are actually needed for fglrx. They appear above ordered from most likely, to least likely to be needed.

As of CentOS 5.1 (and thus, probably, RHEL 5.1) the only compat library required is compat-libstdc++-33. Note that you may need to temporarily disable SELinux (setenforce 0) during the fglrx install or SELinux will block part of the install. I backed out the install (rpm -e), turned off SELinux and re-ran the install so no idea whether it will work if you don't turn off SELinux. Once the install is complete, you can re-enable SELinux with setenforce 1.

The aticonfig program crashes, so you will have to edit /etc/X11/xorg.conf file yourself. All I had to do was change the driver from "vesa" to, "fgrlx":

  Section "Device"
      Identifier "Videocard0"
      Driver  "fglrx"
  EndSection

As of CentOS 5.1 (and probably RHEL 5.1) this is no longer the case. aticonfig --initial works as expected.

Reboot

A couple of notes to the really good summary above... You also need the -devel RPMs for most of the packages listed (and a number not). After that I managed to get the aticonf program to not crash by doing:

   aticonfig --initial=dual-head --screen-layout=right

You also should add the following to your xorg.conf file:

   Section "Extensions"
         Option "Composite" "0"
   EndSection

However there are still problems with the fgrlx driver. Even after all of this and a reboot fglrxinfo still says the system is using Mesa GLX Indirect rendering. Also the ATI Catalyst Control Center (amdcccle) will now restart X when you try to run it. Basically it is a mess and I think we need to wait until an updated driver comes along for RHEL 5.

The above no longer appears to be the case as of centOS 5.1. I did not need any devel rpms and fglrxinfo shows:

[root@bend ~]# /usr/bin/fglrxinfo display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: Radeon X1300/X1550 Series OpenGL version string: 2.1.7276 Release


Tips and Tricks

If you have SELinux enabled and set to enforcing you may need to change the context of the fglrx_dri.so file for it to load properly:

    chcon -t textrel_shlib_t /usr/lib/dri/fglrx_dri.so

Substitute lib with lib64 where appropriate.

Related Resources

Follow link "ATI Driver Installer"


Distribution Neutral Steps

Verifying | Configuring | Troubleshooting