From: Ingo Molnar <mingo@kernel.org>
To: Peter Zijlstra <peterz@infradead.org>
Cc: "Borislav Petkov" <bp@suse.de>,
"Linus Torvalds" <torvalds@linux-foundation.org>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Andrew Morton" <akpm@linux-foundation.org>,
"Michal Marek" <mmarek@suse.cz>, "Måns Rullgård" <mans@mansr.com>,
"Markus Trippelsdorf" <markus@trippelsdorf.de>,
"Thomas Voegtle" <tv@lio96.de>,
linux-kernel@vger.kernel.org, x86-ml <x86@kernel.org>,
"Thomas Gleixner" <tglx@linutronix.de>,
"Jiri Olsa" <jolsa@redhat.com>,
"Arnaldo Carvalho de Melo" <acme@infradead.org>,
"Frédéric Weisbecker" <fweisbec@gmail.com>
Subject: Re: [RFC] CONFIG_FORCE_MINIMALLY_SANE_CONFIG=y (was: Re: [RFC PATCH] x86/kconfig: Sanity-check config file during oldconfig)
Date: Tue, 19 Jan 2016 10:14:13 +0100 [thread overview]
Message-ID: <20160119091413.GA31325@gmail.com> (raw)
In-Reply-To: <20160119090142.GX6357@twins.programming.kicks-ass.net>
* Peter Zijlstra <peterz@infradead.org> wrote:
> On Tue, Jan 19, 2016 at 09:20:22AM +0100, Ingo Molnar wrote:
> > + # newer systemd silently relies on the presence of the epoll system call:
> > + select EPOLL
> > + select ANON_INODES
> > +
> > + # newer systemd silently hangs durig early init without these:
> > + select PROC_SYSCTL
> > + select SYSCTL
> > + select POSIX_MQUEUE
> > + select POSIX_MQUEUE_SYSCTL
> > +
> > + # systemd needs this syscall:
> > + select FHANDLE
> > +
> > + # systemd needs devtmpfs: "systemd[1]: Failed to mount devtmpfs at /dev: No such device"
> > + select DEVTMPFS
> > +
> > + # systemd needs tmpfs: "systemd[1]: Failed to mount tmpfs at /sys/fs/cgroup: No such file or directory"
> > + select SHMEM
> > + select TMPFS
> > +
> > + # systemd needs timerfd syscalls: "[ 8.198625] systemd[1]: Failed to create timerfd: Function not implemented^"
> > + select TIMERFD
> > +
> > + # systemd needs signalfd support: "[ 45.536725] systemd[1]: Failed to allocate manager object: Function not implemented"
> > + select SIGNALFD
> > +
> > + # systemd hangs during bootup without cgroup support:
> > + select CGROUPS
> > +
> > + # systemd fails during bootup without this option, with a nonsensical message: "[DEPEND] Dependency failed for File System Check on /dev/sda1."
> > + select FILE_LOCKING
> > +
> > + # systemd fails during bootup without this option:
> > + select FSNOTIFY
> > + select INOTIFY_USER
>
> > And yes, many of these options are members of the 'SystemD debuggability Hall Of
> > Shame'... It cost me many, many days of painful config-bisection to figure the
> > often obscure dependencies out, so we might as well upstream this information.
> >
> > Many braincells died to bring us this information!
>
> So why not group those under CONFIG_SYSTEMD_BLOWS? I still dont have a
> machine with that turd on.
I'd definitely (try to) list the reasons for each quirk in the Kconfig lines (as I
did above), but I'd still keep a single generic option not tied to systemd in
particular, for the following reasons:
- I am using many systemd systems, so the quirks are naturally mostly systemd
related. There might be more non-systemd quirks that I never triggered
personally. They can be added once people trigger them.
- Also, even that considered, not all of the options I listed are systemd quirks,
as I still have a single (albeit simple) non-systemd test machine.
- I'd like to have a single superset option that principally makes the kernel
'just work' for newbie testers - without them having to be even aware of
whether their distro version uses systemd or something else.
Thanks,
Ingo
next prev parent reply other threads:[~2016-01-19 9:14 UTC|newest]
Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-19 21:43 x86/microcode update on systems without INITRD Markus Trippelsdorf
2015-11-19 21:55 ` Borislav Petkov
2015-11-19 22:58 ` Borislav Petkov
2015-11-20 7:19 ` Markus Trippelsdorf
2015-11-20 8:27 ` Borislav Petkov
2015-11-20 8:33 ` Markus Trippelsdorf
2015-11-20 8:48 ` Borislav Petkov
2015-11-20 11:24 ` [PATCH] x86/microcode: Initialize the driver late when facilities are up Borislav Petkov
2015-11-23 16:28 ` [tip:x86/urgent] " tip-bot for Borislav Petkov
2016-01-07 12:12 ` x86/microcode update on systems without INITRD Thomas Voegtle
2016-01-07 12:18 ` Borislav Petkov
2016-01-07 12:36 ` Thomas Voegtle
2016-01-07 12:41 ` Markus Trippelsdorf
2016-01-08 9:33 ` Thomas Voegtle
2016-01-08 12:18 ` Mike Keehan
2016-01-08 12:20 ` Markus Trippelsdorf
2016-01-08 10:59 ` Borislav Petkov
2016-01-08 11:18 ` Måns Rullgård
2016-01-08 11:36 ` Borislav Petkov
2016-01-08 11:46 ` Måns Rullgård
2016-01-08 12:08 ` Borislav Petkov
2016-01-08 12:16 ` Markus Trippelsdorf
2016-01-08 12:27 ` Borislav Petkov
2016-01-08 12:28 ` Måns Rullgård
2016-01-08 12:48 ` Michal Marek
2016-01-08 13:37 ` Borislav Petkov
2016-01-08 14:48 ` Michal Marek
2016-01-11 19:43 ` Borislav Petkov
2016-01-11 20:29 ` Måns Rullgård
2016-01-11 20:59 ` Borislav Petkov
2016-01-11 21:04 ` Måns Rullgård
2016-01-11 21:17 ` Borislav Petkov
2016-01-14 18:43 ` [RFC PATCH] x86/kconfig: Sanity-check config file during oldconfig Borislav Petkov
2016-01-18 13:36 ` Thomas Voegtle
2016-01-18 14:06 ` Borislav Petkov
2016-01-18 14:11 ` Måns Rullgård
2016-01-18 14:28 ` Borislav Petkov
2016-01-18 14:41 ` Borislav Petkov
2016-01-18 14:51 ` Måns Rullgård
2016-01-18 15:39 ` Borislav Petkov
2016-01-18 15:42 ` Måns Rullgård
2016-01-19 8:20 ` [RFC] CONFIG_FORCE_MINIMALLY_SANE_CONFIG=y (was: Re: [RFC PATCH] x86/kconfig: Sanity-check config file during oldconfig) Ingo Molnar
2016-01-19 8:40 ` Markus Trippelsdorf
2016-01-19 8:54 ` Ingo Molnar
2016-01-19 9:45 ` Borislav Petkov
2016-01-19 9:01 ` Peter Zijlstra
2016-01-19 9:14 ` Ingo Molnar [this message]
2016-01-19 9:43 ` Borislav Petkov
2016-01-19 9:57 ` [RFC] CONFIG_FORCE_MINIMALLY_SANE_CONFIG=y Michal Marek
2016-01-19 10:30 ` [RFC] CONFIG_GENERIC_BOOTABLE_CONFIG=y Ingo Molnar
2016-01-19 17:22 ` Linus Torvalds
2016-01-19 17:52 ` Austin S. Hemmelgarn
2016-01-19 12:29 ` [RFC] CONFIG_FORCE_MINIMALLY_SANE_CONFIG=y Måns Rullgård
2016-01-19 12:43 ` Michal Marek
2016-01-19 12:57 ` Måns Rullgård
2016-01-21 22:06 ` [RFC] CONFIG_FORCE_MINIMALLY_SANE_CONFIG=y (was: Re: [RFC PATCH] x86/kconfig: Sanity-check config file during oldconfig) Kirill A. Shutemov
2016-03-09 13:08 ` Ingo Molnar
2016-01-08 12:18 ` x86/microcode update on systems without INITRD Måns Rullgård
2016-01-19 17:43 ` Borislav Petkov
2016-01-20 9:14 ` Thomas Voegtle
2016-01-20 11:15 ` Borislav Petkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160119091413.GA31325@gmail.com \
--to=mingo@kernel.org \
--cc=acme@infradead.org \
--cc=akpm@linux-foundation.org \
--cc=bp@suse.de \
--cc=fweisbec@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=jolsa@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mans@mansr.com \
--cc=markus@trippelsdorf.de \
--cc=mmarek@suse.cz \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
--cc=tv@lio96.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome