Gentoo Archives: gentoo-user

From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] alternative kernels
Date: Sun, 26 Oct 2014 20:48:48
Message-Id: CAJ1xhMVzLV93kabwai-NDHFAZEJQHUCXoz5bPBGS2f5Rb4pv_g@mail.gmail.com
In Reply to: Re: [gentoo-user] alternative kernels by Alan McKinnon
1 On Sun, Oct 26, 2014 at 10:42 PM, Alan McKinnon <alan.mckinnon@×××××.com> wrote:
2 > On 26/10/2014 22:21, Alexander Kapshuk wrote:
3 >> On Sun, Oct 26, 2014 at 10:16 PM, Canek Peláez Valdés <caneko@×××××.com> wrote:
4 >>> On Sun, Oct 26, 2014 at 1:56 PM, Alec Ten Harmsel
5 >>> <alec@××××××××××××××.com> wrote:
6 >>>>
7 >>>> On 10/26/2014 03:47 PM, Volker Armin Hemmann wrote:
8 >>>>> Am 26.10.2014 um 20:09 schrieb Alexander Kapshuk:
9 >>>>>> I've been using gentoo-sources for a while now.
10 >>>>>>
11 >>>>>> I remember reading on this list about some users using alternative
12 >>>>>> kernels on their gentoo systems. My understanding is that amongst some
13 >>>>>> of the other alternatives, besides the genkernel, which I'm not
14 >>>>>> interested in using, are vanilla-sources available in the portage
15 >>>>>> tree, and the sources available on kernel.org.
16 >>>>>> I'd appreciate being given some pointers on how the folk here maintain
17 >>>>>> their alternative kernels.
18 >>>>>>
19 >>>>>> Thanks.
20 >>>>>>
21 >>>>>> .
22 >>>>>>
23 >>>>> I let portage update the vanilla-sources and once in a while a build and
24 >>>>> install a new kernel. At the moment I am on 3.12.23. Maybe I install
25 >>>>> 3.12.30 tonight. If I find a good reason to do so.
26 >>>>>
27 >>>> What happens when you run `emerge --depclean`?
28 >>>>
29 >>>> I always un-keyword the exact version of vanilla-sources that I'm
30 >>>> running since I update and depclean on a weekly basis. I'm not a huge
31 >>>> fan of having a bunch of kernels under /usr/src/linux-* but only having
32 >>>> a couple of them compiled, but to each his own I guess.
33 >>>
34 >>> I have sys-kernel/vanilla-sources in package.keywords, unversioned. So
35 >>> depclean cleans away the older versions, and I keep the latest one.
36 >>>
37 >>> I'm on 3.17.1 right now, but the moment 3.17.2 comes out I will switch
38 >>> to it in all my machines: with kerninst is all of it mostly
39 >>> automatized.
40 >>>
41 >>> And with systemd, rebooting to a new kernel takes just a few seconds ;)
42 >>>
43 >>> Regards.
44 >>> --
45 >>> Canek Peláez Valdés
46 >>> Profesor de asignatura, Facultad de Ciencias
47 >>> Universidad Nacional Autónoma de México
48 >>>
49 >>
50 >> Do you know if vanilla-sources plays well with openrc, as that is what I use?
51 >> Thanks.
52 >
53 >
54 > Yes it does. There's no logical reason to think it doesn't.
55 >
56 > You do have to set some kernel options, but that is true for just about
57 > everything in the kernel - you won't have support for hardware X unless
58 > you enable hardware X in the kernel config :-)
59 >
60 > One of the additions with gentoo-sources is the very first menu item,
61 > all it does is enable a bunch of stuff that supported init systems
62 > (openrc and systemd) use - it's purely a convenience measure and doesn't
63 > change the kernel itself per se. systemd for example will need cgroups
64 > enabled, openrc needs udev-mount. It's all in the ebuild, and portage
65 > throws an error is something required is not set in .config.
66 >
67 >
68 >
69 > --
70 > Alan McKinnon
71 > alan.mckinnon@×××××.com
72 >
73 >
74
75 Terrific. Thanks.