LinuxQuestions.org
Help answer threads with 0 replies.
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, 09:21 PM   #1
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

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, 09:40 PM   #2
whm1974
Member
 
Registered: Apr 2015
Posts: 142

Rep: Reputation: 28
Quote:
Is there really a huge benefit in doing so?
Yes, support for newer hardware is the biggest one.
 
Old 04-23-2015, 11:53 PM   #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-23-2015, 11:54 PM   #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, 07:32 AM   #5
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

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, 07: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, 07:53 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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, 03:13 PM   #8
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

Original Poster
Rep: Reputation: 29
thanks TobiSGD and all!!!
 
Old 04-24-2015, 05:40 PM   #9
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,774

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
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 05:43 PM.
 
Old 04-25-2015, 12:46 PM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
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, 02:20 PM   #11
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

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

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
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, 07:10 PM   #13
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
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 08: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 08:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:08 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
Open Source Consulting | Domain Registration