Clean up existing system

If you want to clean up existing orphaned dependencies, then package-cleanup is your friend (from yum-utils).

Take a look at all the packages that are orphaned, and make sure it is sane.

package-cleanup --leaves

If you’re happy with the list, you can just remove them all (after you’ve enabled yum’s new autoremove feature, of course!):

yum erase $(package-cleanup --leaves)

You can instantly see the benefit of this new feature – on my machine this command also removes brand new orphaned dependencies, created by the orphans I’m removing! That’s 59 packages in total.

Powerered by this

XHCI (USB 3.0) kernel Module Prevents Suspend SL6

I have a HP Elitebook 8460p , and the following works flawlessly for me:

1) As root create /etc/pm/sleep.d/20_custom-xhci_hcd with the following contents:

#!/bin/sh
# File: “/etc/pm/sleep.d/20_custom-xhci_hcd”.
TMPLIST=/tmp/xhci-dev-list

case “${1}” in
 hibernate|suspend)
    echo -n ” > $TMPLIST
          for i in `ls /sys/bus/pci/drivers/xhci_hcd/ | egrep ‘[0-9a-z]+:[0-9a-z]+:.*$’`; do
              # Unbind xhci_hcd for first device XXXX:XX:XX.X:
               echo -n “$i” | tee /sys/bus/pci/drivers/xhci_hcd/unbind
           echo “$i” >> $TMPLIST
          done
        ;;
 resume|thaw)
    for i in `cat $TMPLIST`; do
              # Bind xhci_hcd for first device XXXX:XX:XX.X:
              echo -n “$i” | tee /sys/bus/pci/drivers/xhci_hcd/bind
    done
    rm $TMPLIST
        ;;
esac

2) chmod 755 /etc/pm/sleep.d/20_custom-xhci_hcd

Powered by Dale Lukas Peterson (hazelnusse) at bugs

ATI/AMD FGLRX RPM SL6.x

as root do this…

CODE
wget http://www2.ati.com/drivers/linux/ati-driver-installer-11-5-x86.x86_64.run
CODE
chmod a+x ati-driver-installer-11-5-x86.x86_64.run
CODE
./ati-driver-installer-11-5-x86.x86_64.run –buildpkg RedHat/RHEL6_64a
CODE
yum install –nogpgcheck fglrx64_p_i_c-8.85-1.x86_64.rpm
CODE
aticonfig –initial

powered by cxcxc