Re: r350484 and ASLR enabled - init died (signal 6, exit 0)

From: Trond Endrestøl <trond.endrestol_at_ximalas.info>
Date: Mon, 5 Aug 2019 20:10:43 +0200 (CEST)
On Mon, 5 Aug 2019 06:02-0700, David Wolfskill wrote:

> On Mon, Aug 05, 2019 at 02:53:04PM +0200, Trond Endrestøl wrote:
> > Hi,
> > 
> > Has anyone else noticed the kernel being unable to spawn init lately?
> > 
> > All I get is:
> > 
> > init died (signal 6, exit 0)
> > panic: Going nowhere without my init!
> > 
> > /sbin/init hasn't had any changes in 4 months, and is present in /sbin 
> > in the new BE.
> > 
> > I've tried and failed in VBox at home this weekend, and in Citrix 
> > Hypervisor 8 at $WORK today. I think we can rule out the hypervisors.
> > 
> > Last known working revision is r350400.
> > 
> > There are numerous kernel changes between r350400 and r350583. I'll 
> > try each revision in succession and see if I can identify any 
> > culprits.
> > ...
> 
> I have not seen the behavior in question; my last update was from
> r350566 to r350584 (and was quite uneventful).
> 
> In each case, a "real machine" was used (laptop & a build machine).

After more trial and error, r350484 is the culprit for Citrix 
Hypervisor 8.

I have these lines in /boot/loader.conf:

kern.elf32.aslr.enable="1"
kern.elf32.aslr.pie_enable="1"

kern.elf64.aslr.enable="1"
kern.elf64.aslr.pie_enable="1"

r350483 works like a charm, and so does r350484 iff I disable ASLR.

Reenabling ASLR and setting kern.elf{64,32}.aslr.stack_gap to zero has 
no effect.

I've cc'd kib_at_ on this one.

I'm going home and see if VBox 6.0.10 exhibits the same behaviour.

-- 
Trond.
Received on Mon Aug 05 2019 - 16:10:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:21 UTC