[elrepo] fglrx on/for CentOS 6.8
Manuel Wolfshant
wolfy at nobugconsulting.ro
Sun Jul 17 10:56:26 EDT 2016
On July 17, 2016 5:26:53 PM GMT+03:00, jacques klein <jacques.klein at dalim.com> wrote:
>Ok, "about care to elaborate, please ?" , it's the version of kernel
>in
>the post-install script,
>
>my system says:
>
># uname -r
>2.6.32-642.3.1.el6.x86_64
It will be fine. My workstation was not rebooted after this week's kernel update otherwise it would run 642.3.1 too
>I don't know if this version is "dynamically updated" during rpm
>installation, but 573 is definitivelly the kernel version of the CentOS
>6.7 I used before updating.
>
># rpm -qp --scripts kmod-fglrx-15.9-1.el6.elrepo.x86_64.rpm
>postinstall scriptlet (using /bin/sh):
>echo "Working. This may take some time ..."
>if [ -e "/boot/System.map-2.6.32-573.el6.x86_64" ]; then
> /sbin/depmod -aeF "/boot/System.map-2.6.32-573.el6.x86_64"
>"2.6.32-573.el6.x86_64" > /dev/null || :
>fi
>modules=( $(find /lib/modules/2.6.32-573.el6.x86_64/extra/fglrx | grep
>'\.ko$') )
>if [ -x "/sbin/weak-modules" ]; then
> printf '%s\n' "${modules[@]}" | /sbin/weak-modules --add-modules
>fi
>echo "Done."
>preuninstall scriptlet (using /bin/sh):
>rpm -ql kmod-fglrx-15.9-1.el6.elrepo.x86_64 | grep '\.ko$'
>> /var/run/rpm-kmod-fglrx-modules
>postuninstall scriptlet (using /bin/sh):
>echo "Working. This may take some time ..."
>if [ -e "/boot/System.map-2.6.32-573.el6.x86_64" ]; then
> /sbin/depmod -aeF "/boot/System.map-2.6.32-573.el6.x86_64"
>"2.6.32-573.el6.x86_64" > /dev/null || :
>fi
>modules=( $(cat /var/run/rpm-kmod-fglrx-modules) )
>rm /var/run/rpm-kmod-fglrx-modules
>if [ -x "/sbin/weak-modules" ]; then
> printf '%s\n' "${modules[@]}" | /sbin/weak-modules --remove-modules
>fi
>echo "Done."
>
All elrepo kmods take advantage of the stable API provided by the enterprise kernels (RHEL and derivates) via the weak[-modules] symlink mechanism. I cannot provide details because I am on my mobile phone but I encourage you to look for and read about it on the redhat.com site.
Manuel
>
>On Sun, 2016-07-17 at 16:02 +0300, Manuel Wolfshant wrote:
>
>> On 07/17/2016 03:16 PM, jacques klein wrote:
>> > Hello, I have installed a CentOS release 6.8 (Final)
>> >
>> > Now I need to install the AMD driver for my graphic card and do not
>
>> > even think about doing it from the AMD stuf...
>> Good thinking !
>>
>>
>> >
>> > But I also suspect that the elrepo provided rpms are not CentOS 6.8
>
>> > compatible;
>>
>> They are compatiblle.
>> [wolfy at wolfy openvpn]$ uname -a
>> Linux wolfy 2.6.32-642.1.1.el6.x86_64 #1 SMP Tue May 31 21:57:07 UTC
>> 2016 x86_64 x86_64 x86_64 GNU/Linux
>> [wolfy at wolfy openvpn]$ rpm -q centos-release
>> centos-release-6-8.el6.centos.12.3.x86_64
>> [wolfy at wolfy openvpn]$ rpm -qa \*fglrx\*
>> kmod-fglrx-15.12-1.el6.elrepo.x86_64
>> fglrx-x11-drv-15.12-1.el6.elrepo.x86_64
>> [wolfy at wolfy openvpn]$ runlevel
>> N 5
>>
>>
>> > well it's kernel version in fact, see postinstall scripts,
>> > and maybe for other reasons I am not aware.
>> care to elaborate, please ?
>>
>>
>> >
>> > I am looking for any advice,
>> yum install elrepo-release && yum install kmod-fglrx
>>
>> Should you really encounter any issue, feel free to contact us here.
>>
>> Regards,
>>
>> wolfy
>>
>>
>> _______________________________________________
>> elrepo mailing list
>> elrepo at lists.elrepo.org
>> http://lists.elrepo.org/mailman/listinfo/elrepo
>
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>elrepo mailing list
>elrepo at lists.elrepo.org
>http://lists.elrepo.org/mailman/listinfo/elrepo
More information about the elrepo
mailing list