Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] alternative kernels Alexander Kapshuk <alexander.kapshuk@×××××.com>