From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753281AbbBZFS4 (ORCPT ); Thu, 26 Feb 2015 00:18:56 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:42100 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751526AbbBZFSy (ORCPT ); Thu, 26 Feb 2015 00:18:54 -0500 Date: Wed, 25 Feb 2015 21:18:52 -0800 From: Andrew Morton To: Denys Vlasenko Cc: Sabrina Dubroca , Andy Lutomirski , Denys Vlasenko , Andrey Wagin , Ingo Molnar , Linus Torvalds , Oleg Nesterov , Borislav Petkov , "H. Peter Anvin" , Frederic Weisbecker , X86 ML , Alexei Starovoitov , Will Drewry , Kees Cook , LKML Subject: Re: [PATCH 2/3 v3] x86: entry_64.S: always allocate complete "struct pt_regs" Message-Id: <20150225211852.428143fb78e921fd6e4d4e9e@linux-foundation.org> In-Reply-To: References: <1423778052-21038-1-git-send-email-dvlasenk@redhat.com> <1423778052-21038-2-git-send-email-dvlasenk@redhat.com> <54EE1799.2000602@redhat.com> <54EE3E94.7060208@redhat.com> <20150225224055.GA3678@kria> <20150225233414.GA3299@kria> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 26 Feb 2015 02:12:57 +0100 Denys Vlasenko wrote: > On Thu, Feb 26, 2015 at 12:34 AM, Sabrina Dubroca wrote: > > 2015-02-25, 23:40:55 +0100, Sabrina Dubroca wrote: > >> I can run some userspace programs, but I have no idea what would be > >> helpful. > >> I can also try booting a real machine with archlinux/systemd tomorrow. > > > > I got a good boot out of kernels that normally fail. I booted > > systemd's emergency shell and enabled a few services, in the same > > order they normally start. journald started cleanly, but after that, > > every single command produced a "traps:" output and an "audit:" line. > > > > I disabled systemd-journald (chmod -x, because `systemctl disable` > > didn't really disable it), and now it boots, no "traps:" in the log. > > If I run it, everything fails again (zsh has traps for simply pressing > > enter on an empty cmd). > > That's some progress! > > It's strange how one process manages to affect everything else. > > "If I run it, everything fails again". How do you run it? Directly, > or via systemd services mechanism? > If you just run it directly, can you try running it under > "strace -f -tt -oLOG"? Does it have the same effect? What's in the LOG? I'm hitting this bug as well, bisected to this commit. On an old x64_64 box, no vms, paravirt, etc. Running FC6 userspace (heh). Quite late in initscripts, binaries start getting segmentation faults and init gives up. Seems to only affect /usr/bin/rhgb-client. There's one instance where /bin/rm is said to segfault, but I suspect that's init lying to me.