From owner-freebsd-current@freebsd.org Sun Mar 29 07:29:33 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 7D7AF275AF9 for ; Sun, 29 Mar 2020 07:29:33 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic311-23.consmr.mail.gq1.yahoo.com (sonic311-23.consmr.mail.gq1.yahoo.com [98.137.65.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48qnK70qLSz3LHk for ; Sun, 29 Mar 2020 07:29:13 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: uutmYvkVM1mIUZhbczphqiDWbz9Cu7zSiW89LolMZr.tS.YQb1jS9icE01GKmYF h_RXjfzO5dFQ_Ls.ZcFwcagig4lEcPtbHEIa6dLm3cbfvPx2u.5lXeOoLBlswrJmqVFV1hbEW95g 625OkmfY15dJZVKv0i2hDRYEJhGoj7LJlyXbYX_IjSJydfD40vhc9yYHCxILrdyJGBt3lZ9_ZFwk ZtlI2I9hzanifaEkeMv2SsZAHhFYtfuBTnj0jbV4_YsIKxG5gaMhXPn9QYKBXWZjeaf2qqWTudg2 uawZzJmU7TwUcbayQJPb8KAQpN11u.CHNBm1pOYe97epivT199cL_YZrey9YeOcgDNZFckhN2axe QRWnJRKOsCbN04azx4InTWuKXTsAG1ox3iqw2WBbv.b4M3hofjBgcrseUuKq4BzKNkiz9w.12KpY VtCzC6PEeORp3MybmH7cflMpK5hBeUwzfA1lmz6OOVWvs.o4KmgFtNmTULsnjcxK7DgPVsccXbS_ Ij_VOonjOzzgoHjXEMP_z37gDmpY7h0aUDAsLb7ErUM_tk7Y7j2UxErGH9Q5QfJXmEUc7BSQUKA1 ZjxWQQdkqVTmUbP4BtcApwyC0UZD6jXNlvqzigcgGzdZBPlhbbpViw8LO15J1AyHwKgfPgmes8na EnvX1rI4tkFYaCpxXp5_S8RRSVHGReLmRQSZni9WUIDV3RBOLerIvLXBObHTOOex83ZGownSE1WM 4d8eKoqpHmGw68r5.lMfdcC9Y.6FsLBUV7yzZCskBJQjoz4zVkfVCjK92bHaZcIhIeQc1O_s_xKN 2__OdBf6txyieuU5.T_uWpScVXjxbR8Vct8t1CHhdLIO1JoiDWm_uXcOQPlgj6ZD0Ts2ra7SjjwC TOLwKb0eMEYJQm7q6_3lGFvUobt9wNTpUdABK1VaejxzZjkrjA5_dyjRVZ124yTo1XaokYy1xmBV ywZ4_GF5_VN8pJ5DaokxsYwjL.JyQnYra7QCrHkupvRjcIUcGtcU9q6CmKAlm3csDIJ.AIXgMnOQ mwxHxk3UOVQna3Eeee26Y41d37WhDJBK39loqQdpbAAzZYFban94.imBH1lTeQ5CCXSWS8TGvEt4 0PrkbtP9_u7cXUyTGhMeS1bbe9ssTUFc80SfXdx1ByxGso5ZaqVaksU3hnRQTFs8TbNw_ORjaCpc Dp6E.vtMs0V4btFDs2i.1O9hd4Fwrzp4BAF1VfNYxMbPZJCE3gkE.CR84rBIyg2DSxv9hmZrKuuR wkWIwPOCOqr2beGpcQdS5kTAJNDd7OPmID5fhUJYIYEomSSkdAmmbgI.tvlATgz9Qu0gzgiMLxR4 irpdgwZuFptEWnTHs_gvqVh2uD5_4PzELnNMI7OjBDywXIeg3sQN39Z2AlHnjR.gKRUEjNh7fj.H u1ir6SCikVdxobHFC94w- Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.gq1.yahoo.com with HTTP; Sun, 29 Mar 2020 07:29:02 +0000 Received: by smtp419.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 277c1985075cca6ed984a1306091203a; Sun, 29 Mar 2020 07:29:01 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: FYI: artifact-based head bisect and OPi+2e (an armv7): -r359311 fails to boot but -r359309 boots (kernel substitutions) Message-Id: <221A0E27-6A0F-4136-AB76-2D6664279363@yahoo.com> Date: Sun, 29 Mar 2020 00:29:00 -0700 To: Conrad Meyer , freebsd-arm , FreeBSD Current X-Mailer: Apple Mail (2.3608.80.23.2.2) References: <221A0E27-6A0F-4136-AB76-2D6664279363.ref@yahoo.com> X-Rspamd-Queue-Id: 48qnK70qLSz3LHk X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.32 / 15.00]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.94)[-0.945,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-0.88)[-0.879,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (5.38), ipnet: 98.137.64.0/21(0.82), asn: 36647(0.65), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[204.65.137.98.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[204.65.137.98.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] 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 07:29:33 -0000 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. [I also ran into boot problems on the RPi4 (arch64 CortexA72) for the original upgrade in that context. But the RPi4 is incomplete and is not a long-established FreeBSD context. I've not tested it specifically against -r359309 and -r359311 . I'll otherwise ignore the RPi4 here, at least for now.] The OPi+2e hangups look like (a boot -v example): . . . Release APs CPU(1) applied BP hardening: not necessary CPU(3) applied BP hardening: not necessary CPU(2) applied BP hardening: not necessary regulator: shutting down unused regulators regulator: shutting down vcc3v0... Trying to mount root from = ufs:/dev/gpt/BPIM3root []... ok Root mount waiting for:regulator: shutting down vcc3v3... usbus0busy usbus2regulator: shutting down vcc5v0... usbus4ok usbus6regulator: shutting down gmac-3v3... CAMbusy uhub1: 1 port with 1 removable, self powered uhub3: 1 port with 1 removable, self powered uhub4: 1 port with 1 removable, self powered uhub6: 1 port with 1 removable, self powered Root mount waiting for: usbus6 CAM ugen6.2: at usbus6 umass0 on uhub6 umass0: on usbus6 umass0:0:0: Attached to scbus0 Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM GEOM: new disk da0 pass0 at umass-sim0 bus 0 scbus0 target 0 lun 0 pass0: Fixed Direct Access SPC-4 SCSI device pass0: Serial Number REPLACED pass0: 40.000MB/s transfers da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: Fixed Direct Access SPC-4 SCSI device da0: Serial Number REPLACED da0: 40.000MB/s transfers da0: 228936MB (468862128 512 byte sectors) da0: quirks=3D0x2 da0: Delete methods: mountroot: waiting for device /dev/gpt/BPIM3root... random: unblocking device. rtc0: providing initial system time start_init: trying /sbin/init (And that is as far as it gets. I can break into the debugger on the console.) Notes: vfs.root.mountfrom=3D is used in /boot/loader.conf to direct the root file system to be from the USB SSD. The original kernel and world were non-debug builds. But the artifact kernels are debug builds. They did not report anything odd. (The /dev/gpt/BPIM3* based naming is from=20 repurposing media without bothering to rename things.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)