Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Aug 2019 09:16:24 +0200 (CEST)
From:      =?UTF-8?Q?Trond_Endrest=C3=B8l?= <trond.endrestol@ximalas.info>
To:        freebsd-current@freebsd.org
Cc:        Konstantin Belousov <kostikbel@gmail.com>
Subject:   Re: r350484 and ASLR enabled - init died (signal 6, exit 0)
Message-ID:  <alpine.BSF.2.21.99999.352.1908060911050.31116@enterprise.ximalas.info>
In-Reply-To: <alpine.BSF.2.21.99999.352.1908052219550.31116@enterprise.ximalas.info>
References:  <alpine.BSF.2.21.99999.352.1908051436050.31116@enterprise.ximalas.info> <20190805130255.GA1121@albert.catwhisker.org> <alpine.BSF.2.21.99999.352.1908051947580.31116@enterprise.ximalas.info> <20190805192305.GC2731@kib.kiev.ua> <alpine.BSF.2.21.99999.352.1908052219550.31116@enterprise.ximalas.info>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 5 Aug 2019 22:32+0200, Trond Endrestøl wrote:

> On Mon, 5 Aug 2019 22:23+0300, Konstantin Belousov wrote:
> 
> > On Mon, Aug 05, 2019 at 08:10:43PM +0200, Trond Endrestøl wrote:
> > 
> > > I'm going home and see if VBox 6.0.10 exhibits the same behaviour.
> > 
> > Try r350608. There was a mis-merge in the committed patch (more serious
> > part), and some limits were not applied, which I did not see in my
> > testing due to the mismatch between stock FreeBSD and my testing
> > environment.
> 
> I'm now at r350609, and booting with ASLR enabled works in VBox.
> I'll try the Citrix Hypervisor VM tomorrow

Back at $WORK, I noticed a repeat of the initial issue which persisted 
until I forcefully shutdown this longrunning VM, now running r350624. 
Upon cold start, the VM behaved as expected, making me think there 
might be one or more uninitialised variables at play or some odd 
behaviour by the hypervisors I use.

-- 
Trond.
From owner-freebsd-current@freebsd.org  Wed Aug  7 08:42:48 2019
Return-Path: <owner-freebsd-current@freebsd.org>
Delivered-To: freebsd-current@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 520D1C3202
 for <freebsd-current@mailman.nyi.freebsd.org>;
 Wed,  7 Aug 2019 08:42:48 +0000 (UTC)
 (envelope-from ohartmann@walstatt.org)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.15])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "mout.gmx.net",
 Issuer "TeleSec ServerPass Class 2 CA" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 463Q4R2DWKz4PyP
 for <freebsd-current@freebsd.org>; Wed,  7 Aug 2019 08:42:46 +0000 (UTC)
 (envelope-from ohartmann@walstatt.org)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1565167363;
 bh=bBihX335Mw53/NEoiHrGLGByH+lcR4tYgo+w6XsRr0I=;
 h=X-UI-Sender-Class:Date:From:To:Subject;
 b=doIhzsx4AOD00BiyMBHZONw01y853t/+0YcbibYj14McS3CjeS9yXs6w7L039my/l
 u7ro+O0+wkFKQJkU1w+0un6OeDEBo2Q0+blz+6RylPipvqa/k6FpxZ7k/x3wI4zBuu
 PB8bMCjNeEaTLwKB/fSlb8Kpx8P/3rbvgG8eD9VE=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from freyja ([46.88.81.15]) by mail.gmx.com (mrgmx002
 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M0Ppl-1iByG705BF-00uZkr for
 <freebsd-current@freebsd.org>; Wed, 07 Aug 2019 10:37:38 +0200
Date: Wed, 7 Aug 2019 10:37:29 +0200
From: "O. Hartmann" <ohartmann@walstatt.org>
To: freebsd-current <freebsd-current@freebsd.org>
Subject: CURRENT: supeblock hash failure - CURRENT wrecking disks
Message-ID: <20190807103725.3d06ceca@freyja>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:rhR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gEvjY/FE4OMeUDRg5K1okm4PWXf3mBg+Qj
 OA1KlywZm3ic4dnjIkOfUJFAPOVLmcy2/kjDje6OqS9rv37GJHgteUnVXvWXREVWXt4sddroj
 N92OgUAJzo8yx7bhJI041pjDVeGjU+RZXcm4dVfOmJsoMeDr3MCDVnbuzk4ypstizMYDRHWJg
 YNKVBf2RNf2qiazmTFctEcAGK1zWsLHHwfxVgrhWl3TGOOr7tfRH/W9me3HmvwtzdO/HhDOdp
 ZVKpnQ7PdBEZMr4DOn9HCgFlDHJc+incVXclIc4qu0oe40mKrxeHSbuTBx+iujpY62I+GhSOt
 DIcuiYvbdLQUGsA07jZ0ukdGbAWYuwU5jGdvqPZFQL5sdPDk0qpaXXtG5g94SVDIux6uesUys
 WhnHc=
X-Rspamd-Queue-Id: 463Q4R2DWKz4PyP
X-Spamd-Bar: ---
Authentication-Results: mx1.freebsd.org;
 dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=doIhzsx4;
 dmarc=none;
 spf=none (mx1.freebsd.org: domain of ohartmann@walstatt.org has no SPF policy
 when checking 212.227.15.15) smtp.mailfrom=ohartmann@walstatt.org
X-Spamd-Result: default: False [-3.90 / 15.00]; ARC_NA(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[];
 R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450];
 NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[];
 TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.997,0];
 MIME_GOOD(-0.10)[text/plain];
 PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org];
 DMARC_NA(0.00)[walstatt.org]; RCPT_COUNT_ONE(0.00)[1];
 IP_SCORE(-1.21)[ip: (-6.95), ipnet: 212.227.0.0/16(-1.37), asn: 8560(2.29),
 country: DE(-0.01)]; TO_DN_ALL(0.00)[];
 DKIM_TRACE(0.00)[gmx.net:+]; NEURAL_HAM_SHORT(-0.90)[-0.897,0];
 RCVD_IN_DNSWL_NONE(0.00)[15.15.227.212.list.dnswl.org : 127.0.3.0];
 R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[];
 MID_RHS_NOT_FQDN(0.50)[]; MIME_TRACE(0.00)[0:+];
 ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE];
 RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[];
 RECEIVED_SPAMHAUS_PBL(0.00)[15.81.88.46.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net
 : 127.0.0.10]
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
 <freebsd-current.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/>;
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Aug 2019 08:42:48 -0000

Hello,

today I ran into a ctastrophy with r350671. After installing a fresh compiled
system and rebooted the box, UEFI loader dropped a bunch of errors, like some
hex numbers stating, that a hash/superblock has is wrong and then the booting
stopped at the OK loader prompt.

Rebooting the machine with the FreeBSD-13-CURRENT image from 1st August 2019
and trying to fsck the filesystem(s) on the boot SSD (UFS2, journaling and trim
on), lots of unresolved block errors occured. But that didn't help much.
Further, after several checks, I saw some commits to the ffs code recently adn
tried to restore a copy of the superblock of each filesystem (in contrary to
the man page for fsck_ufs, the first backup superblock resides in 192, not
160!). But things then get even worse, it seems the whole /boot structure is
corrupted, the loader can not find the recent kernel and kernel.old is crashing.

What's wrong here :-(

regards,
oh



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