From owner-freebsd-current@freebsd.org Sun Mar 29 17:58:47 2020 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 E5FC62A5B04 for ; Sun, 29 Mar 2020 17:58:47 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1b.ore.mailhop.org (outbound1b.ore.mailhop.org [54.200.247.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48r3HQ6CG4z4ZBD for ; Sun, 29 Mar 2020 17:58:40 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1585504708; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=XLDTjNc1+OVhcdeK1fyGEL80grCuKSeRQlpEWcNTHKbXE6VNQPfa8aIRu7N9RhQk/iKrU7qOcOVID FMlqA0ASM1PFKOrbaY3+WiFkykDnoIGfcxzv3XGctG7NW8ftu0dTSmTOPsZZSwfv0NVCN2sz28v96h Q3xO9TZDTOB/DPzqoyzo0ri1fpHHCyWkgg/aZnCe6mQZ2LKs6t24I/jf2COYiWmV1oEIr7EKWrTT40 NlEPgcCwVyIXJrDa1Ym2Rr8F56o/9iBfYT+D9Nwq5kcMul45WaN6Tl6tEV9L0+VXvBwqTUsVNA28US yn/aCXkVSHQupYqmm/rcyUnaF1ctAoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:dkim-signature:from; bh=iReOXOg6GXWrGccjjA5f846ZqmdAyfE/2RbN9KuZQeE=; b=WEjx9et29GZfopUYqSgb6MguOQQg9rQIUZbdbeyJ7D0Uj7Pa4k//IVXL+B3U5tIXFY8Z2DvRcyv6I lcyOktzrX9jNrKZBYZ3TyoNX0IcGXQ2Re0ybZxL5JuAA3cuGla/VEoYxRYOQGgIsa0RKo6ZHWsRAIQ syZClGmMFzecgyyVRQRanrNfs/uf7wkTa9QdohYUY2vA7KK+1S9VPToZnzTq0yWgJOxBpUo2Q1bf1x shD1WQUHJk71rAqahuwXLoRV2kPdIiX83OhuDifY6JzKJkPKaKUCBB2hR1ZZerSCjYMWwyB3A++B8Z JdVrJhkH9zQugj8Nkv+ML5gsQs1BLJw== ARC-Authentication-Results: i=1; outbound3.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=iReOXOg6GXWrGccjjA5f846ZqmdAyfE/2RbN9KuZQeE=; b=UhkI+NM9+QJvB94uWH7zsssVMwyVfVO77ZMe5BKUCUmMr9YeNRxg4Zpf72DGijRZOL7wWW5kuD4a8 4Uw7LU7OKQICzmEVAjMC1Xt2mcg8fYjvGpk0lmHbCa7FOYT5y7JV3q8oxSBvOBlTV6V+cwoyyIdw85 OCcStGtrJLQdne35XPJQk9mz0+9b6w7onpt1oA2nBETZMuXdjmAvtiAAAov6hBpzCG4W4b7Sf8drda Vcna6zRJsrVeHxlrwPlxX8hlZIF7iUvUUKw9AsFJL6fIZfbQfHlppDYsVquKusbWlYpghk9SQWUXnl Ue0VUuTNt0dl7aoVADAC5Iyb40sWVMQ== X-MHO-RoutePath: aGlwcGll X-MHO-User: e32659c6-71e6-11ea-b80e-052b4a66b6b2 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (c-67-177-211-60.hsd1.co.comcast.net [67.177.211.60]) by outbound3.ore.mailhop.org (Halon) with ESMTPSA id e32659c6-71e6-11ea-b80e-052b4a66b6b2; Sun, 29 Mar 2020 17:58:26 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id 02THwPft004336; Sun, 29 Mar 2020 11:58:25 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <85cab8fe92c87458be8e3c66d4071b3f6e3158ba.camel@freebsd.org> Subject: Re: FYI: artifact-based head bisect and OPi+2e (an armv7): -r359311 fails to boot but -r359309 boots (kernel substitutions) From: Ian Lepore To: Thomas Skibo , Mark Millard Cc: freebsd-arm , FreeBSD Current , Conrad Meyer Date: Sun, 29 Mar 2020 11:58:25 -0600 In-Reply-To: <20200329164422.GA68768@bentley> References: <221A0E27-6A0F-4136-AB76-2D6664279363.ref@yahoo.com> <221A0E27-6A0F-4136-AB76-2D6664279363@yahoo.com> <20200329164422.GA68768@bentley> Content-Type: text/plain; charset="ASCII" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48r3HQ6CG4z4ZBD X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.78 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.94)[-0.945,0]; NEURAL_HAM_LONG(-0.83)[-0.833,0]; ASN(0.00)[asn:16509, ipnet:54.200.0.0/15, country:US] 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: Sun, 29 Mar 2020 17:58:48 -0000 On Sun, 2020-03-29 at 09:44 -0700, Thomas Skibo wrote: > On Sun, Mar 29, 2020 at 12:29:00AM -0700, Mark Millard via freebsd- > arm wrote: > > While trying to update the head version > > in use I ran into boot hangups on the > > OrangePi+ 2e and did an approximate > > bisect of artificact.freebsd.org kernels > > to find approximately which kernel > > version the issue started at. > > > > I found that head -r359309 boots and > > -r359311 fails (shown later below). > > The original update attempt was from > > -r359966 to -r359376 and -r359376 > > stopped there as well. (I kept world > > there and varied the kernel version > > for the approximate bisect activity.) > > > > It seems that at least one of the > > "MI-namespace" atomics added do not work > > in all its usage-contexts on the cortexA7 > > (armv7) involved. > > It looks like my previous reply didn't go to the mailing lists. I'm > new to > mutt. > > Anyway, I looked at this problem yesterday and it seems r359311 > enables > using some atomic operations that were not being used until now. In > particular, atomic_fcmpset_8() seems broken and hangs up > in vm_page_bits_swap(). I think I have a fix but I want to run it > by Ian. > > --Thomas > > Index: sys/arm/include/atomic-v6.h > =================================================================== > --- sys/arm/include/atomic-v6.h (revision 359412) > +++ sys/arm/include/atomic-v6.h (working copy) > @@ -196,7 +196,7 @@ > \ > __asm __volatile( \ > "1: ldrex" SUF " %[tmp], [%[ptr]] \n" \ > - " ldr %[ret], [%[oldv]] \n" \ > + " ldr" SUF " %[ret], [%[oldv]] \n" \ > " teq %[tmp], %[ret] \n" \ > " ittee ne \n" \ > " str" SUF "ne %[tmp], [%[oldv]] \n" \ > I've committed this fix as r359423, thanks! -- Ian