Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2019 21:39:48 +0100
From:      "O. Hartmann" <ohartmann@walstatt.org>
To:        Shawn Webb <shawn.webb@hardenedbsd.org>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: 12-STABLE revision 344629: pid 26 (sh), jid 0, uid 0: exited on signal 11
Message-ID:  <20190227214015.6ddd0785@thor.intern.walstatt.dynvpn.de>
In-Reply-To: <20190227191828.evlr67yv4uwreslv@mutt-hbsd>
References:  <20190227200851.4e794d89@thor.intern.walstatt.dynvpn.de> <20190227191828.evlr67yv4uwreslv@mutt-hbsd>

next in thread | previous in thread | raw e-mail | index | archive | help

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Am Wed, 27 Feb 2019 14:18:28 -0500
Shawn Webb <shawn.webb@hardenedbsd.org> schrieb:

> On Wed, Feb 27, 2019 at 08:08:24PM +0100, O. Hartmann wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA256
> > 
> > Running 12-STABLE and CURRENT on a PCengine APU4C (CPU: AMD GX-412TC SOC,  Coreboot
> > Version: v4.9.0.2), I ran into trouble running latest 12-STABLE on that hardware.
> > 
> > The box is quitting with
> > 
> > 
> > [...]
> > mmcsd0: 31GB <SDHC SD32G 3.0 SN 01801299 MFG 09/2015 by 39 PH> at mmc0
> > 50.0MHz/4bit/65535-block ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
> > ada0: <TS64GMSA370 O1225G> ACS-2 ATA SATA 3.x device
> > ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 1024bytes)
> > ada0: Command Queueing enabled
> > ada0: 61057MB (125045424 512 byte sectors)
> > Trying to mount root from ufs:/dev/gpt/dsks1a [ro]...
> > TCP Hpts created 4 swi interrupt thread and bound 0
> > uhub1: 4 ports with 4 removable, self powered
> > pid 26 (sh), jid 0, uid 0: exited on signal 11
> > 2019-02-27T19:42:35.721885+01:00  init 1 - - /bin/sh on /etc/rc terminated abnormally,
> > going to single user mode Enter root password, or ^D to go multi-user
> > Password:
> > uhub0: 2 ports with 2 removable, self powered
> > ugen1.2: <vendor 0x0438 product 0x7900> at usbus1
> > uhub2 on uhub0
> > uhub2: <vendor 0x0438 product 0x7900, class 9/0, rev 2.00/0.18, addr 2> on usbus1
> > uhub2: 4 ports with 4 removable, self powered
> > random: unblocking device.
> > arc4random: no preloaded entropy cache
> > arc4random: no preloaded entropy cache
> > [...]
> > 
> > 
> > ... and when typing the password, the prompter is immediately at
> > 
> > 2019-02-27T19:42:35.721885+01:00  init 1 - - /bin/sh on /etc/rc terminated abnormally,
> > going to single user mode Enter root password, or ^D to go multi-user
> > Password:
> > 
> > 
> > Running 
> > 
> > FreeBSD 12.0-STABLE #36 r343871: Thu Feb  7 17:34:44 CET 2019 amd64
> > 
> > Doesn't show this phenomenon with the very same configuration and kernel.  
> 
> Have you enabled retpoline? There are known issues with ifunc in libc
> and retpoline.
> 
> Thanks,
> 


I was just preparing further informations when I failed to gather more insights enabling debug
info in rc.conf when your email arrived.

Yes, I use NanoBSD and build world with these settings:

# Options to put in make.conf during buildworld only
CONF_BUILD='
#CFLAGS=-O3 -pipe -DNDEBUG
CFLAGS=-O2 -pipe -DNDEBUG
WITH_KERNEL_RETPOLINE=YES
WITH_RETPOLINE=YES
MALLOC_PRODUCTION=YES
'

Right now, I commented out those settings and recompile world without RETPOLINE.

Kind regards,

oh

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQSy8IBxAPDkqVBaTJ44N1ZZPba5RwUCXHb1rwAKCRA4N1ZZPba5
RzycAP9TUIWDLnJOzN9jlK7tNre0wdpFlGSP9dH56Jp3kjZAtwEAkxKHer7Itt+E
Vfu6Ua5jxZMUoihbVEYOzKdWLf5KTgs=
=Yuya
-----END PGP SIGNATURE-----


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190227214015.6ddd0785>