LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   The Latest Kernel Release. (https://www.linuxquestions.org/questions/slackware-14/the-latest-kernel-release-4175597503/)

cwizardone 01-15-2017 08:00 AM

The Latest Kernel Release.
 
As suggested by Monsieur Didier Spaier, a Slackware Forum thread dedicated to Linux kernel release testing.


The 4.4.43 kernel has been released.

The change log, https://cdn.kernel.org/pub/linux/ker...angeLog-4.4.43


Also, the 4.9.4 kernel has been issued. Still no word on whether or not it will be the next long term release.

The change log, https://cdn.kernel.org/pub/linux/ker...hangeLog-4.9.4

GazL 01-15-2017 08:27 AM

Thanks Cwiz' I'm inclined to agree: a dedicated thread for us "kernel watchers" is probably better than littering the current-requests thread with kernel news.


Right then... Off to build 4.9.4 I go!...


P.S. FWIW, 4.9.y series has proven solid for me so far.

55020 01-15-2017 08:36 AM

Announcing Dave's Unofficial SlackBuilt Kernels -- https://blog.idlemoor.tk/dusk/

4.4.43 for x86_64 is already available at https://dusk.idlemoor.tk/linux-4.4/x86_64/
The others (4.4.43 for i686, and 4.9.4 for x86_64 and i686) should follow in the next couple of hours

This is entirely automatic and still quite experimental. Testing? I've heard of it. Feedback welcome ;)

GazL 01-15-2017 08:57 AM

A configs/ directory on that site would be a nice addition. :)

montagdude 01-15-2017 08:58 AM

Haha, I literally just built 4.9.3 this morning, upgrading from the last 4.8 release. Oh well, at least I don't have to go through choosing features in the 'make oldconfig' process again. :)

PS Don't ask me why I'm keeping up with the latest kernel release. I guess I just enjoy it for some reason.

Bindestreck 01-15-2017 09:46 AM

Quote:

Originally Posted by montagdude (Post 5655285)
Haha, I literally just built 4.9.3 this morning, upgrading from the last 4.8 release. Oh well, at least I don't have to go through choosing features in the 'make oldconfig' process again. :)

PS Don't ask me why I'm keeping up with the latest kernel release. I guess I just enjoy it for some reason.

Me too! :D

bassplayer69 01-15-2017 12:22 PM

Man, I just upgraded to 4.4.42 yesterday evening. lol :)

mats_b_tegner 01-15-2017 12:51 PM

Quote:

Originally Posted by 55020 (Post 5655279)
Announcing Dave's Unofficial SlackBuilt Kernels -- https://blog.idlemoor.tk/dusk/

4.4.43 for x86_64 is already available at https://dusk.idlemoor.tk/linux-4.4/x86_64/
The others (4.4.43 for i686, and 4.9.4 for x86_64 and i686) should follow in the next couple of hours
This is entirely automatic and still quite experimental. Testing? I've heard of it. Feedback welcome ;)

Swell, I just finished building and installing 4.4.43...My guess is that 4.4.44 and 4.9.5 will be released next week...

Edit,
I'm going to stick with kernel 4.4.x since the proprietary legacy nVidia R340 drivers/modules won't build on kernel 4.9.x.

ponce 01-15-2017 12:58 PM

MFW I see Greg releasing a new stable kernel just after three days from the previous one with the note: "All users of the 4.9 kernel series must upgrade."

https://www.youtube.com/watch?v=MVv7o1ePo4U

dwblas 01-15-2017 01:12 PM

Quote:

Originally Posted by bassplayer69 (Post 5655346)
Man, I just upgraded to 4.4.42 yesterday evening. lol :)

Same here.

USUARIONUEVO 01-15-2017 01:49 PM

Hi , for me , the only good branch is 4.10 in rc series at time.

Cause 4.4.x NO HAVE GTX 1000 SERIES native support in nouveau , only vesa.
4.8 - 4.9 BUG , in cursor (patched in 4.10) , i waiting to see that patch is backported to 4.9.x series cause read probably this go to LTS.

My card is GTX 1070...is knowed bug , but patched only in 4.10.

dr.s 01-15-2017 03:29 PM

Quote:

Originally Posted by cwizardone (Post 5655274)
...
Also, the 4.9.4 kernel has been issued. Still no word on whether or not it will be the next long term release.
...

Looks like 4.9 will be an LTS.
https://linux.slashdot.org/story/16/...-kroah-hartman

https://fossbytes.com/its-confirmed-...kernel-branch/

bassmadrigal 01-15-2017 03:57 PM

Quote:

Originally Posted by dr.s (Post 5655409)

Contrary to both of those articles, it hasn't been confirmed yet. Kroah-Hartman basically stated that the plan is for 4.9 to be LTS back in August, giving developers plenty of time to finalize what they want in the kernel. But in the past, this has lead to developers trying to push unfinished code that doesn't belong in an LTS just so it can be in there. Kroah-Hartman said that if developers don't throw crap into 4.9, it'll likely be LTS, but if they do, he'll likely pick either 4.8 or 4.10. As far as I've found, he hasn't said any more on the topic since August (and I do some minor searches every week or so since the 4.9 stable dropped).

Quote:

As I briefly mentioned a few weeks ago on my G+ page, the plan is for the 4.9 Linux kernel release to be the next “Long Term Supported” (LTS) kernel.

Last year, at the Linux Kernel Summit, we discussed just how to pick the LTS kernel. Many years ago, we tried to let everyone know ahead of time what the kernel version would be, but that caused a lot of problems as people threw crud in there that really wasn’t ready to be merged, just to make it easier for their “day job”. That was many years ago, and people insist they aren’t going to do this again, so let’s see what happens.

I reserve the right to not pick 4.9 and support it for two years, if it’s a major pain because people abused this notice. If so, I’ll possibly drop back to 4.8, or just wait for 4.10 to be released. I’ll let everyone know by updating the kernel.org releases page when it’s time (many months from now.)

If people have questions about this, email me and I will be glad to discuss it.

SOURCE: 4.9 == Next LTS Kernel
(Emphasis mine)

USUARIONUEVO 01-15-2017 04:16 PM

4.8 series gets EOL , then 4.9 or 4.10 i hope 4.10 :=)

alex14641 01-16-2017 12:06 PM

I think this thread should be made sticky.

mzsade 01-16-2017 12:23 PM

Running 4.9.3 using the config wih debian patches from linux-source-4.9 (4.9.2-2) trimmed as much as understood and could safely do so, for my laptop..seems to be working great except for the random mouse and keyboard freezes when streaming videos..wonder if i should wait for an upgrade to the source before compiling for 4.9.4. Also, is 4.9 gong to be LTS or not, nobody seems to know for sure, Greg-Hartman's blog, if it's genuine said it was..

Edit: Oops, sorry to intrude, saw something about the kernel and jumped right in without thinking, have been a little on edge running the unstable version of Debian, my apologies.

bassmadrigal 01-16-2017 01:27 PM

Quote:

Originally Posted by mzsade (Post 5655783)
Also, is 4.9 gong to be LTS or not, nobody seems to know for sure, Greg-Hartman's blog, if it's genuine said it was..

Nobody knows until Kroah-Hartman announces if he will make 4.9 LTS... last update I could find was in August when he stated his intention on making 4.9 LTS if developers don't add a bunch of "crud" into it just to make the LTS. Now we just need to wait until he decides if there's minimal enough "crud" for him to make it LTS.

alex14641 01-16-2017 02:30 PM

Running 4.9.4, with a hand-rolled .config file: no issues so far.

cwizardone 01-17-2017 04:11 AM

Release candidate 4 of the 4.10 kernel has been issued, https://www.kernel.org

ponce 01-19-2017 08:07 AM

Quote:

Originally Posted by bassmadrigal (Post 5655415)
Contrary to both of those articles, it hasn't been confirmed yet. Kroah-Hartman basically stated that the plan is for 4.9 to be LTS back in August, giving developers plenty of time to finalize what they want in the kernel. But in the past, this has lead to developers trying to push unfinished code that doesn't belong in an LTS just so it can be in there. Kroah-Hartman said that if developers don't throw crap into 4.9, it'll likely be LTS, but if they do, he'll likely pick either 4.8 or 4.10. As far as I've found, he hasn't said any more on the topic since August (and I do some minor searches every week or so since the 4.9 stable dropped).

well, it seems in the end he felt like stating it explicitly.

cwizardone 01-19-2017 11:07 AM

Thank you Ponce!
:hattip:

Yes, it is official.

https://www.kernel.org/category/releases.html

bassmadrigal 01-19-2017 02:29 PM

Quote:

Originally Posted by ponce (Post 5657298)
well, it seems in the end he felt like stating it explicitly.

I figured he would do it soon. Hopefully we see a config in testing/ soon :) (or an actual 4.9 kernel in -current)

I'm lazy and just want to wait for Pat's config before I upgrade my system. I missed some new features in the 3.18 kernel (mainly overlayfs) that caused me to rebuild it once Pat's config came out, so I don't want a repeat. He seems to have the eye to get all the pertinent options.

GazL 01-20-2017 05:57 AM

v4.4.44 & v4.9.5 are out.

kjhambrick 01-20-2017 09:15 AM

Thanks GazL.

commit b9d6631395a1e25b210ce112b1bc10f3c665ea20 in Linux 4.4.44 fixes CVE-2016-919 and
commit 3490e72ad6d02cf396894d1139dc800e1d9fca83 fixes CVE-2017-2584


Building a local version here but maybe an official Slackware 14.2 update is in order ?

-- kjh

Code:

# grep CVE linux-4.4.44-ChangeLog
    Fixes CVE-2016-9191, proc_sys_readdir doesn't drop reference
    The calltrace of CVE-2016-9191:
    fxrstor, sgdt, and sidt.  This fixes CVE-2017-2584, a longstanding
    This is CVE-2017-2583.  On Intel this causes a failed vmentry because


GazL 01-20-2017 09:26 AM

I don't know what Pat will do. I'm surprised he's stayed with 4.4 in current this long, but I'll be moving to 4.10 when it comes out anyway, so it doesn't bother me either way.

Anyway, fwiw, 4.9.5 running ok here.

kjhambrick 01-20-2017 09:46 AM

GazL --

I am still on 14.2 ... I imagine Pat will stay with 4.4.x there.

I actually missed a CVE in the grep command ... there is a third CVE fixed
by commit 816307c80d4ddad5414a05ff5861f063d29cda6f ...

-- kjh

GazL 01-20-2017 09:52 AM

Ahh, silly me, yes. I'm so used to following current that I sometimes forget that the stable release even exists. :doh:

55020 01-20-2017 11:23 AM

Unofficial 4.4.44 and 4.9.5 now up at https://dusk.idlemoor.tk -- I don't intend to spam this thread every time, but as suggested by GazL (thanks!), there's also now a config directory, and the config is now included with the other gubbins in each kernel dir. For 4.9.5 the configs are completely unoffical, but derived from the 4.6 config in testing/.

GazL 01-20-2017 11:51 AM

Quote:

Originally Posted by 55020 (Post 5657863)
there's also now a config directory, and the config is now included with the other gubbins in each kernel dir.

Thanks Dave. I'm sure many folks will find them useful given how often I've seen people ask for them in the forum.

mats_b_tegner 01-20-2017 07:26 PM

Quote:

Originally Posted by kjhambrick (Post 5657815)
commit b9d6631395a1e25b210ce112b1bc10f3c665ea20 in Linux 4.4.44 fixes CVE-2016-9191 and
commit 816307c80d4ddad5414a05ff5861f063d29cda6f fixes CVE-2017-2583 and
commit 3490e72ad6d02cf396894d1139dc800e1d9fca83 fixes CVE-2017-2584

Building a local version here but maybe an official Slackware 14.2 update is in order ?

-- kjh

I just posted a note in the Slackware-security thread about the CVE-fixes in 4.4.44.

cwizardone 01-22-2017 09:53 AM

Quote:

Originally Posted by GazL (Post 5657820)
.....Anyway, fwiw, 4.9.5 running ok here.


Some of the changes in the 4.9.5 kernel:

Quote:

......Linux kernel 4.9.5 appears to be a big milestone that changes a total of 132 files, with 1515 insertions and 821 deletions. There are numerous improvements implemented in this fifth Linux 4.9 maintenance update, but first we'd like to remind you that Greg Kroah-Hartman recently marked this kernel branch as long-term supported (LTS)............

"Radeon SMC firmware selection updated for Southern Islands family"

From the appended shortlog, we can notice that the biggest part of the Linux kernel 4.9.5 patch includes updated drivers. This time, the developers managed to improve the support for open-source Radeon, Intel i915, Tegra, and VC4 graphics drivers, but there are also updated I2C, CPUFreq, ACPI, DMA, InfiniBand, Ethernet (Mellanox MLX5), wireless (Intersil), NVM Express (NVMe), PINCTRL, USB, TTY, and remoteproc drivers.

Other than that, Linux kernel 4.9.5 includes various PowerPC (PPC), x86 (KVM changes mostly), ARM64/AArch64, Btrfs, NFS, OCFS2, and XFS improvements, along with the usual mm and core kernel noise, tooling fixes, and an updated networking stack with a fix for the new 802.11 netlink interface public header.....
http://news.softpedia.com/news/linux...s-512050.shtml

gmgf 01-22-2017 10:46 AM

4.9.5 work perfectly here, now ;)

dr.s 01-22-2017 11:04 AM

Quote:

Originally Posted by gmgf (Post 5658626)
4.9.5 work perfectly here, now ;)

Ditto, been using 4.9.x for a while now on a laptop with Slackware 14.2, no issues so far.

masonm 01-22-2017 05:34 PM

I've been running 4.9.5 for a few days now and the Intel graphics support is great.

cwizardone 01-23-2017 09:22 AM

The 4.10-rc5 mainline kernel is available for testing,
https://www.kernel.org/

PROBLEMCHYLD 01-23-2017 11:15 AM

Is the unofficial Kernel built as if it was done by Slackware Devs? What I mean, do you use the same commands/flags etc...? Are they equivalent to each other? I normally don't play around with the kernel.

bassmadrigal 01-23-2017 02:46 PM

Quote:

Originally Posted by PROBLEMCHYLD (Post 5659084)
Is the unofficial Kernel built as if it was done by Slackware Devs? What I mean, do you use the same commands/flags etc...? Are they equivalent to each other? I normally don't play around with the kernel.

The commands are really all the same.

Code:

cp /location/to/kernel/config .config
make menuconfig  # If you want to make any changes to the default config
make modules bzImage  # Build the kernel and modules
make modules_install  # Install the modules
cp arch/x86/boot/bzImage /boot/vmlinuz-generic-4.9.5  # Copy the kernel to the boot directory
# Edit bootloader (lilo, grub, etc) to support new kernel

There is some wiggle room with that and additional things you can do, but those are the basic commands to build a kernel.

David (55020) has automated this process and instead of installing kernels manually, he generates Slackware packages for them. As with normal kernel packages, it is generally recommended to installpkg the new kernels rather than upgradepkg so if the new kernels don't work, you can boot into your old one. You'll still need to edit your bootloader configs with these packages.

The main difference would be in the configs used to build the kernel as each major series can see substantial changes to the options in the config. For these, David took the 4.6 kernel config that Pat provided in testing/ and modified it the best he could to 4.9's options. It is likely what he thinks is similar to what Pat would/will provide if/when he provides configs for 4.9 (whether that is just configs in testing/ or actually new kernels in -current, we'll need to wait and see). However, it seems he is only providing generic configs, so you'll be on your own if you don't want an initrd. (Pat highly suggests running generic kernels over huge and only provides huge as a starting point.)

PROBLEMCHYLD 01-23-2017 03:40 PM

bassmadrigal, Thanks!!!!!

I'm going to download and install them. I'll report back any errors or not. Thanks again.
I wish more was as helpful and polite as you. You seem to be a meek individual. Off to test and thanks to David (55020).

P.S

I don't see the kernel firmware package. Is it needed?

55020 01-23-2017 05:03 PM

That's a good question. The linux-firmware package isn't really part of the kernel (note the name). It isn't tied to a particular version of the kernel, it doesn't even have releases. Patrick puts out a new snapshot in -current occasionally, which you might have a specific need for if you have new hardware. Otherwise it's easy to forget it's even there, which is just the way I like it.

Thanks for trying my unofficial kernel packages, but let's not forget that the official kernel packages are curated by the best man in the business.

cwizardone 01-26-2017 03:50 AM

The 4.4.45 kernel has been released.
The change log, https://cdn.kernel.org/pub/linux/ker...angeLog-4.4.45

And, a new version of the newest LTS kernel, 4.9.6.
The change log, https://cdn.kernel.org/pub/linux/ker...hangeLog-4.9.6

mats_b_tegner 01-26-2017 06:06 PM

Quote:

Originally Posted by cwizardone (Post 5660380)
The 4.4.45 kernel has been released.
The change log, https://cdn.kernel.org/pub/linux/ker...angeLog-4.4.45
And, a new version of the newest LTS kernel, 4.9.6.
The change log, https://cdn.kernel.org/pub/linux/ker...hangeLog-4.9.6

These kernels fixes CVE-2016-7097:
Quote:

tmpfs: clear S_ISGID when setting posix ACLs

commit 497de07d89c1410d76a15bec2bb41f24a2a89f31 upstream.

This change was missed the tmpfs modification in In CVE-2016-7097
commit 073931017b49 ("posix_acl: Clear SGID bit when setting
file permissions")
It can test by xfstest generic/375, which failed to clear
setgid bit in the following test case on tmpfs:

touch $testfile
chown 100:100 $testfile
chmod 2755 $testfile
_runas -u 100 -g 101 -- setfacl -m u::rwx,g::rwx,o::rwx $testfile"

GazL 01-26-2017 07:21 PM

If you care about security you mount your user-writable filesystems with "nosuid,nodev" anyway. Given how problematic non-root owned SUID/SGID executables are in general I'm not convinced the existence of this vulnerability makes them any worse.

kjhambrick 01-27-2017 03:58 AM

55020 --

Thanks for sharing your .config files !

Building 4.9.6.kjh now and will try it out this weekend.

-- kjh

kjhambrick 01-27-2017 04:43 AM

followup ...

Linux 4.9.6 built and booted fine using 55020's .config

I ran NVIDIA-Linux-x86_64-375.26.run and it built and installed fine and KDE ran and looked great.

However, I use VMWare Workstation 12.5.x, mostly so I can read Outlook Email on a Win7 VM for work.

VMWare won't compile the necessary Kernel Modules without the 4.9.6 Kernel Headers.

I suppose I could install the Kernel Headers and rebuild the dependencies ( :) ? just about everything ? :) ) but that dog won't hunt on my main Laptop for Work :(

I suppose I am 'stuck' with 4.4.x for now ...

Thanks again for sharing those .configs 55020 !

-- kjh

GazL 01-27-2017 05:07 AM

I've no experience of VMware but I was under the impression that the correct approach for out of tree modules is to compile them against /lib/modules/$kernel-release/build/include rather than the headers in /usr/include.

kjhambrick 01-27-2017 05:32 AM

Thanks GazL

Yes, after noting that /lib/modules/$(uname -r)/source and /lib/modules/$(uname -r)/build are symlinks to /usr/src/$(uname -r)/

I was wondering the same thing: i.e. whether I could reinstall VMWare and maybe somehow override /usr/include/linux/ with /usr/src/$(uname -r)/include/ ...

However, that's for another day :)

-- kjh

slalik 01-28-2017 04:52 PM

55020, thanks a lot for config-4.9!

Since you provide kernel-headers-4.9, I'd like to ask: does it mean that you suggest to install it?

I know the standard view that
Quote:

As long as you do not upgrade your glibc package, you should not upgrade or remove the kernel-headers package.
(see, e.g., http://docs.slackware.com/howtos:sla...eaders_package)

On the other hand:
Quote:

Originally Posted by volkerdi (Post 5595940)
As far as I know, I've never encountered any issues with upgrading the kernel headers without recompiling glibc. I'd be interested to hear if anyone ever has, and under what circumstances.


MikelN 01-29-2017 01:16 AM

There's also the option to create a .config based on your system. When you make -localmodconfig the running modules on your system are used as basis for the config. This way you get a streamlined kernel with only support for hardware you have. Before you do this you must make sure you've connected everything you'll need (like USB sticks/external drives with filesystems you use, your webcam, everything you use needs to be there or it won't be included. You even need a DVD/CD in your drive or it won't work.). This greatly reduces the compile time. Since you leave out everything you don't need.

cwizardone 01-29-2017 06:19 PM

Mainline kernel 4.10-rc6 has been released for testing,
https://www.kernel.org/

It is the biggest release candidate of the 4.10 series to date.
http://news.softpedia.com/news/linus...r-512353.shtml

GazL 02-01-2017 07:41 AM

v4.9.7 and v4.4.46 are out.


All times are GMT -5. The time now is 03:49 AM.