Re: [PATCH 2/3 v3] x86: entry_64.S: always allocate complete "struct pt_regs"

From: Andrew Morton
Date: Thu Feb 26 2015 - 00:18:58 EST


On Thu, 26 Feb 2015 02:12:57 +0100 Denys Vlasenko <vda.linux@xxxxxxxxxxxxxx> wrote:

> On Thu, Feb 26, 2015 at 12:34 AM, Sabrina Dubroca <sd@xxxxxxxxxxxxxxx> 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.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/