Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linuxPackages: point to latests longterm kernel 3.18 #6858

Merged
merged 1 commit into from
Apr 10, 2015

Conversation

@vcunat vcunat added the 6.topic: kernel The Linux kernel label Mar 17, 2015
@vcunat
Copy link
Member

vcunat commented Mar 17, 2015

+1, unless there are lasting btrfs problems with it, as suggested in d9ce51d :-)

Hmm, to be maintained by Sasha Levin.

@thoughtpolice
Copy link
Member

lgtm

@domenkozar
Copy link
Member Author

Going to merge this as soon as master channel updates after a month.

@wkennington
Copy link
Contributor

How is this going to work with grsecurity? will the stable versions just diverge for the vanilla vs grsec kernels?

@vcunat
Copy link
Member

vcunat commented Mar 26, 2015

I don't really know anything about grsecurity, but it doesn't seem they support 3.18 (anymore): https://grsecurity.net/download.php.

@domenkozar domenkozar added this to the 15.05 milestone Mar 26, 2015
@thoughtpolice
Copy link
Member

@wkennington Yes, that's correct. There's really not much we can do about this, as there doesn't exist any archive of old patches[1]. There are two grsec branches: 'unstable', which tracks the latest 'mainline' Linux release (for the most part), and 'stable', which tracks specific, older kernels marked 'stable' by the developers, like 3.2, or 3.14. Not every Linux -stable release has a grsec release. These are the options we have, meaning the kernel version necessarily deviates if we want linuxPackages to always track the latest stable (3.18, in this case). The alternative is that linuxPackages is always synced to the most recent grsec stable release, which in this case would be 3.14.

So divergence here isn't really an issue, I'd say. Also, it's not clear to me what the grsec release schedule is like anyway - the next stable grsec kernel may be 4.0, or 4.2, or whatever we choose to ship in 15.10, or not. So we'll have to figure this out down the road, I think...

[1] Actually, there might be a mirror maintained by the Hardened Gentoo people, but I can't remember where their sources are... Alternatively, I've been meaning to setup a grsec patches -> git mirror for a while.

@joachifm
Copy link
Contributor

@thoughtpolice I've recently rolled a custom linux 3.18 config with grsecurity pulled from hardened gentoo's repository.
Works very well for me thus far.

@domenkozar
Copy link
Member Author

@vcunat unfortunately the bug is a real problem: "Current stable kernels (< 3.19.4) may fail to mount btrfs and deadlock on boot" -> https://btrfs.wiki.kernel.org/index.php/Gotchas

@domenkozar
Copy link
Member Author

So let's wait for another minor bump of kernels and then merge.

@vcunat
Copy link
Member

vcunat commented Apr 8, 2015

It seems to me that both latest 3.14.37 and 3.18.11 are also affected by that problem.

@edolstra edolstra mentioned this pull request Apr 8, 2015
17 tasks
@abbradar
Copy link
Member

abbradar commented Apr 8, 2015

Ouch, I've run into this problem several times from Monday! For those affected I recommend using boot.debug1devices and running btrfs check, I was forced to make and boot a LiveUSB to fix this until I found out the other way. Can we perhaps apply https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9c4f61f01d269815bb7c37be3ede59c5587747c6 to the latest kernel while point release is on way?

@abbradar
Copy link
Member

abbradar commented Apr 8, 2015

I've made a PR 1 with the patch.

domenkozar added a commit that referenced this pull request Apr 10, 2015
linuxPackages: point to latests longterm kernel 3.18
@domenkozar domenkozar merged commit 86998c7 into master Apr 10, 2015
@domenkozar domenkozar deleted the kernel/longterm branch April 10, 2015 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: kernel The Linux kernel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants