Nux!


Home » Stella » Report a problem or request a feature » Centos Plus kernel for Stella
Centos Plus kernel for Stella [message #2838] Tue, 23 December 2014 12:02 Go to next message
constantin is currently offline  constantin
Messages: 82
Registered: July 2014
Location: Ukraine
Member
I have a proposition to rebase Stella to centosplus kernel.
Some times ago, I have found, that EL7 stock kernel leaks support of some hardware (for example, b43 based wifi) .
For now, EL6 504, 504.1.3 and 504.3.3 stock kernels do not work with some webcams (uvcvideo driver is broken).
In both cases centosplus kernel works well with this HW, remaining the most compatible with stock RHEL kernel.
Re: Centos Plus kernel for Stella [message #2839 is a reply to message #2838] Tue, 23 December 2014 16:36 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1659
Registered: January 2012
Senior Member
Administrator

Constantin, do the two types of kernels conflict each other?
Re: Centos Plus kernel for Stella [message #2840 is a reply to message #2839] Tue, 23 December 2014 19:37 Go to previous messageGo to next message
constantin is currently offline  constantin
Messages: 82
Registered: July 2014
Location: Ukraine
Member
In EL6 centosplus kernel is named 'kernel' and replaces stock kernel, version is designated as 2.6.32-504.3.3.el6.centos.plus , for example. In EL7 it's named 'kernel-plus' and co-exists with stock kernel. I have not detected any conflicts. And centosplus kernel is the most compatible with stock, unlike, for example elrepo's or Oracle's ones.
Re: Centos Plus kernel for Stella [message #2843 is a reply to message #2838] Wed, 24 December 2014 01:36 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1659
Registered: January 2012
Senior Member
Administrator

Yes, but elrepo's kernel-ml is actually the "new" stuff, might go a longer way to support new hardware.
The idea is not bad, but need to decide between plus and elrepo..
Re: Centos Plus kernel for Stella [message #2844 is a reply to message #2843] Wed, 24 December 2014 07:52 Go to previous messageGo to next message
constantin is currently offline  constantin
Messages: 82
Registered: July 2014
Location: Ukraine
Member
Here are a few arguments in favor of centosplus.

RH backports drivers for some new hardware to kernel. Their 2.6.32 may have some code from 3.17 Smile. CentOS plus kernel has some bugfixes made by CentOS team (now they are working in RH too Smile ) between RH kernel releases and has also some hardware drivers, not present in stock kernel and remains 100% binary compatible with it. It means also, that 3rd party binary drivers for RHEL with a high degree of probability will work with centosplus kernel.

ELRepo's -ml kernel is 3.18 for now (is newer than in Fedora 21) and may be not compatible with 3.10 or 2.6.32.

I can not say anything about elrepo, but I have faced with some hw (inexpensive and common Realtek network adapter in that case), working well with RH-compatible kernel in Oracle Linux (another twin of CentOS) and not working well (many packages lost, unstable) with Oracle's own -UEK kernel, based on 3.8 for EL6.

[Updated on: Wed, 24 December 2014 08:55]

Report message to a moderator

Re: Centos Plus kernel for Stella [message #2847 is a reply to message #2838] Wed, 24 December 2014 11:29 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1659
Registered: January 2012
Senior Member
Administrator

Roger that, good points. I'll have to think about it.
Re: Centos Plus kernel for Stella [message #2981 is a reply to message #2838] Sun, 25 January 2015 16:12 Go to previous messageGo to next message
Milozzy is currently offline  Milozzy
Messages: 24
Registered: January 2015
Junior Member
Hi guys, I would like to test Centos Plus Kernel on my system...

I have take a look at http://wiki.centos.org/AdditionalResources/Repositories/Cent OSPlus and man yum.conf but the includepkgs= and exclude= options are still rather obscure for me...

Could you please help me understand how should I set up my /etc/yum.repos.d/CentOS-Base.repo to install and keep updated only the kernel-plus package?

Thank you very much in advance.
Re: Centos Plus kernel for Stella [message #2982 is a reply to message #2838] Sun, 25 January 2015 18:24 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1659
Registered: January 2012
Senior Member
Administrator

Try
yum --enablerepo=centosplus install kernel-plus
Re: Centos Plus kernel for Stella [message #2983 is a reply to message #2982] Sun, 25 January 2015 19:17 Go to previous messageGo to next message
Milozzy is currently offline  Milozzy
Messages: 24
Registered: January 2015
Junior Member
nux wrote on Sun, 25 January 2015 19:24
Try
yum --enablerepo=centosplus install kernel-plus



Actually it was more simple that what it seemed.

I just enabled the CentOS Plus repo in /etc/yum.repos.d/CentOS-Base.repo and added

includepkgs=kernel-plus*


That way now yum only sees the kernel-plus related packages from CentOS plus, ignoring all the rest!

Sorry and thank you for your patience!

Re: Centos Plus kernel for Stella [message #2991 is a reply to message #2982] Fri, 30 January 2015 08:18 Go to previous messageGo to next message
mogga
Messages: 9
Registered: October 2014
Location: Los Angeles, CA
Junior Member
This didn't work for me as written -
Package name is just kernel, not kernel-plus

yum install --enablerepo="centosplus" kernel


Then get headers and devel (if you need them - these need the full package name)

yum install  --enablerepo="centosplus" kernel-devel-2.6.32-504.8.1.el6.centos.plus
yum install  --enablerepo="centosplus" kernel-headers-2.6.32-504.8.1.el6.centos.plus

Re: Centos Plus kernel for Stella [message #2992 is a reply to message #2991] Fri, 30 January 2015 08:20 Go to previous messageGo to next message
mogga
Messages: 9
Registered: October 2014
Location: Los Angeles, CA
Junior Member
BTW the plus kernel fixed webcams not working for me in el6.6 as bug reported in dec 2014 - at least until it gets fixed upstream
Re: Centos Plus kernel for Stella [message #2994 is a reply to message #2983] Fri, 30 January 2015 11:14 Go to previous message
constantin is currently offline  constantin
Messages: 82
Registered: July 2014
Location: Ukraine
Member
The packages are named kernel-plus* in EL7 plus repo; for EL6 they are named just kernel*...
If You set enabled=1 for centosplus (EL6) repo, exclude=kernel,kernel-*,perf,python-perf option for Base and updates repos in EL6 is reccomended to avoid updates when CentosPlus kernel is not built yet (it may be built 1-2 hours later, than main kernel packages in updates)

[Updated on: Fri, 30 January 2015 11:30]

Report message to a moderator

Previous Topic: Avidemux Problems in Centos 7
Next Topic: Upgrade fails missing x264-libs
Goto Forum:
  


Current Time: Thu Sep 19 09:18:12 BST 2019

Total time taken to generate the page: 0.01406 seconds