From owner-freebsd-current@freebsd.org Tue Aug 6 07:16:32 2019 Return-Path: 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 DAB5ABB32B for ; Tue, 6 Aug 2019 07:16:32 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (enterprise.ximalas.info [IPv6:2001:700:1100:1::8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ximalas.info", Issuer "Hostmaster ximalas.info" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 462mCM5BkXz3G3v for ; Tue, 6 Aug 2019 07:16:31 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (Ximalas@localhost [127.0.0.1]) by enterprise.ximalas.info (8.15.2/8.15.2) with ESMTPS id x767GOZT072619 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 6 Aug 2019 09:16:24 +0200 (CEST) (envelope-from trond.endrestol@ximalas.info) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ximalas.info; s=default; t=1565075785; bh=nW9BNEu47bEqqJconmFzs9oBP3CXwDGpsSWLIk/YvAE=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=uuWmkGD9N2Q8Q6zLaMd/fjy0r7riqT7rgRzqIM8qdylO9MxBh8MZRxs95McDB3YVU 5UrtYXF4Ix/jBrCs4dgtZPA70v8wZCd8DkhRtamYun7gfj0MTOT2xNyrhrL8H+6m5J 6eLqFHfDoFrl6xdskJw8a8huDE3p/arFfck/qnZXbMavtxS7Anei4uYINrz/avKk1H Hg1ZHsRJxtLyzYlZfJQrgBMwUeAZkk2i8QzjzSDO9wnXr0ptI9v1OPwbdvMeIQiZWo Xnz3TnN17cOzTReHiw5OW/Y8AMG4uY4MA8yffT9mCkqJ5WE/1Cp22sZtwhMpPXs0h6 McuUKP+LXsTVA== Received: from localhost (trond@localhost) by enterprise.ximalas.info (8.15.2/8.15.2/Submit) with ESMTP id x767GOvP072616; Tue, 6 Aug 2019 09:16:24 +0200 (CEST) (envelope-from trond.endrestol@ximalas.info) X-Authentication-Warning: enterprise.ximalas.info: trond owned process doing -bs Date: Tue, 6 Aug 2019 09:16:24 +0200 (CEST) From: =?UTF-8?Q?Trond_Endrest=C3=B8l?= Sender: Trond.Endrestol@ximalas.info To: freebsd-current@freebsd.org cc: Konstantin Belousov Subject: Re: r350484 and ASLR enabled - init died (signal 6, exit 0) In-Reply-To: Message-ID: References: <20190805130255.GA1121@albert.catwhisker.org> <20190805192305.GC2731@kib.kiev.ua> User-Agent: Alpine 2.21.99999 (BSF 352 2019-06-22) OpenPGP: url=http://ximalas.info/about/tronds-openpgp-public-key MIME-Version: 1.0 X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on enterprise.ximalas.info X-Rspamd-Queue-Id: 462mCM5BkXz3G3v X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ximalas.info header.s=default header.b=uuWmkGD9; dmarc=pass (policy=none) header.from=ximalas.info; spf=pass (mx1.freebsd.org: domain of trond.endrestol@ximalas.info designates 2001:700:1100:1::8 as permitted sender) smtp.mailfrom=trond.endrestol@ximalas.info X-Spamd-Result: default: False [-1.99 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; R_DKIM_ALLOW(-0.20)[ximalas.info:s=default]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:c]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; HAS_XAW(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[ximalas.info:+]; CTYPE_MIXED_BOGUS(1.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.91)[-0.908,0]; DMARC_POLICY_ALLOW(-0.50)[ximalas.info,none]; IP_SCORE(-0.09)[ipnet: 2001:700::/32(-0.14), asn: 224(-0.28), country: NO(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:224, ipnet:2001:700::/32, country:NO]; FREEMAIL_CC(0.00)[gmail.com] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Aug 2019 07:16:32 -0000 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: 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 ; 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 ; 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 ; Wed, 07 Aug 2019 10:37:38 +0200 Date: Wed, 7 Aug 2019 10:37:29 +0200 From: "O. Hartmann" To: freebsd-current 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:rhRPNrQ4DhhRTp0WPlfOlcFIHmLoE1uiZnPuag/4HrEJW09YTdl 7SWzP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JHgteUnVXvWXREVWXt4sddroj 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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