LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-23-2015, 10:21 PM   #1
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 451

Rep: Reputation: 29
kernel v4


Hi guys prob a silly question...
i only just read now that linux kernel v4 was released about 11 days ago...can any distros upgrade there kernel to 4 or only specific ones?

Is there really a huge benefit in doing so?

should i just lookup the information in the distros web site?
 
Old 04-23-2015, 10:40 PM   #2
whm1974
Member
 
Registered: Apr 2015
Posts: 138

Rep: Reputation: 27
Quote:
Is there really a huge benefit in doing so?
Yes, support for newer hardware is the biggest one.
 
Old 04-24-2015, 12:53 AM   #3
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Quote:
Originally Posted by whm1974 View Post
Yes, support for newer hardware is the biggest one.
It's just a version change. It would have been 3.20 after 3.19. But torvalds thought of changing major number.

Yes. With each version some newer hardwares get supported.
 
Old 04-24-2015, 12:54 AM   #4
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Fedora 22 has picked up this kernel version.
 
Old 04-24-2015, 08:32 AM   #5
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 451

Original Poster
Rep: Reputation: 29
so is it only really the most up to date distros that can take advantage of 4?
could you upgrade centos7,debian wheezy and slackware 14.1 to kernel v4?
 
Old 04-24-2015, 08:49 AM   #6
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Quote:
Originally Posted by sigint-ninja View Post
could you upgrade centos7,debian wheezy and slackware 14.1 to kernel v4?
No one can upgrade/update the kernel for distros but only distro developers can do that. Except for may be distros that are built from source and used.
 
Old 04-24-2015, 08:53 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
You can use the kernel on any distro. If your distro doesn't provide it you can either build it yourself or look out for third party packages.
 
Old 04-24-2015, 04:13 PM   #8
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 451

Original Poster
Rep: Reputation: 29
thanks TobiSGD and all!!!
 
Old 04-24-2015, 06:40 PM   #9
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 2,961

Rep: Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268
The elrepo repository has a 4.0 kernel that is built for CentOS 7 (also one for CentOS 6, which I am using). To use it, go to the elrepo.org site, import the public key, and install the elrepo-release RPM, as instructed on the home page. Then run
Code:
yum --enablerepo=elrepo-kernel install kernel-ml
(To avoid conflict with the standard kernel versions, the elrepo mainline kernel packages are named "kernel-ml".)

It is worthwhile reading the notes and warnings on http://elrepo.org/tiki/kernel-ml.

Last edited by rknichols; 04-24-2015 at 06:43 PM.
 
Old 04-25-2015, 01:46 PM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,542
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Member response

Hi,
Quote:
Originally Posted by veerain View Post
No one can upgrade/update the kernel for distros but only distro developers can do that. Except for may be distros that are built from source and used.
I know that Slackware can be used with a new kernel compiled. Not that much trouble to get the source and configure locally.
 
Old 04-25-2015, 03:20 PM   #11
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 451

Original Poster
Rep: Reputation: 29
will check out the new info...thanks
 
Old 04-25-2015, 04:00 PM   #12
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,008

Rep: Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621
Quote:
Originally Posted by veerain View Post
No one can upgrade/update the kernel for distros but only distro developers can do that. Except for may be distros that are built from source and used.
I'm not sure exactly what you mean by this? I'm running kernel 4.0 on this laptop and kernel 3.19 on my desktop* -- both of which are running Debian Sid which only has kernel 3.16 installable if headers are required. I did so by building .deb packages using the source from kernel.com.

*Problems with NVIDIA dkms not working with kernel 4.0.
 
Old 04-25-2015, 08:10 PM   #13
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 2,324
Blog Entries: 1

Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
Debian has a kernel-package package along with standard build tools. This will let you roll your own kernel package and not have to wait for said distro to adopt a new kernel. Bear in mind that a lot of patches (security wise) are back ported and even though a distros kernel might have an OLD version number, it may not be as OLD as it might seem in the package manager.

The build process is fairly simple if you're familiar with it. Copy the /boot/config, then make oldconfig, and other kernel build procedures. Which haven't changed much in 20+ years. Aside from a lot of girth from a larger source tree. And the resulting size of the kernel. At worst, try it, but keep the OLD kernel to recover with if it doesn't work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel crash after running a stable kernel from kernel.org Saptarshi4031 Linux - Newbie 1 06-05-2013 09:39 AM
LXer: Howto: build Linux kernel module against installed kernel w/o full kernel source tree LXer Syndicated Linux News 0 09-03-2006 09:21 PM


All times are GMT -5. The time now is 05:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration