From owner-freebsd-arm@freebsd.org Sun Mar 5 16:28:24 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 94AAACFAD2C for ; Sun, 5 Mar 2017 16:28:24 +0000 (UTC) (envelope-from andrew@tao11.riddles.org.uk) Received: from lungold.riddles.org.uk (lungold.riddles.org.uk [82.68.208.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 329B41FBC for ; Sun, 5 Mar 2017 16:28:23 +0000 (UTC) (envelope-from andrew@tao11.riddles.org.uk) Received: from [192.168.127.3] (port=65057 helo=isig.riddles.org.uk) by lungold.riddles.org.uk with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88 (FreeBSD)) (envelope-from ) id 1ckZ19-0001n5-0e; Sun, 05 Mar 2017 16:28:19 +0000 Received: from localhost ([127.0.0.1]:50358 helo=isig.riddles.org.uk) by isig.riddles.org.uk with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88 (FreeBSD)) (envelope-from ) id 1ckZ18-000JxL-GH; Sun, 05 Mar 2017 16:28:18 +0000 From: Andrew Gierth To: Mark Millard Cc: "freebsd-arm\@freebsd.org" Subject: Re: Is CPUTYPE=cortex-A7 supposed to work? In-Reply-To: <70AE704A-C9FF-4742-88E9-147CD5B77BE8@dsl-only.net> (Mark Millard's message of "Sun, 5 Mar 2017 03:02:24 -0800") Message-ID: <87tw77iwx6.fsf@news-spur.riddles.org.uk> References: <871suc3nv8.fsf@news-spur.riddles.org.uk> <87tw7820fc.fsf@news-spur.riddles.org.uk> <644D1F49-BF5D-409D-BFC4-4F7E6E73085B@dsl-only.net> <87lgsk1udz.fsf@news-spur.riddles.org.uk> <9677298B-5A5E-44BF-928E-28DDDADB310A@dsl-only.net> <87h93814rb.fsf@news-spur.riddles.org.uk> <70AE704A-C9FF-4742-88E9-147CD5B77BE8@dsl-only.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) Date: Sun, 05 Mar 2017 16:27:56 +0000 MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Mar 2017 16:28:24 -0000 Here's another issue that seems to go away as a result of removing the cortex-a7 option: On the cortex-a7 build (world and all packages built with CPUTYPE set): emacs-25.1,3 built with x11 support and running in graphical mode is unstable; crashes randomly either with a mutex assertion (enqueue_mutex complaining that the mutex is already owned) or with SEGV. Running in text mode, it doesn't crash, but hitting pagedown in some buffers (where there are many similar lines) _reliably_ produces incorrect display output in which some characters are displaced by 4: drwxr-xr-x 2 root wheel 512 Feb 18 09:35 isp drwxr-xr-x 2 root wheel 512 Feb 18 09:40 ispfw drwxr-xr-x 2 root wheel 512 20 10:31 iwi et drwxr-xr-x 2 root wheel 1024 Feb 18 09:38 iwm in place of drwxr-xr-x 2 root wheel 512 Feb 18 09:35 isp drwxr-xr-x 2 root wheel 512 Feb 18 09:40 ispfw drwxr-xr-x 2 root wheel 512 Feb 20 10:31 iwi drwxr-xr-x 2 root wheel 1024 Feb 18 09:38 iwm (the "et" is what was displayed at that point on the previous page) (by "reliably" I mean that for given buffer contents and sequence of scroll movements that exhibit the problem, it always happens at the same place in the same way) On the non-CPUTYPE build, I can't reproduce either of the issues (though it's a bit early yet to tell regarding the random-crashes one). Investigation continues... -- Andrew. (Clarke's second law: to discover the limits of the possible, one must venture past them into the realm of the impossible)