From owner-freebsd-ports@freebsd.org Sat May 23 21:18:54 2020 Return-Path: Delivered-To: freebsd-ports@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 908B02DE3CE for ; Sat, 23 May 2020 21:18:54 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-25.consmr.mail.gq1.yahoo.com (sonic303-25.consmr.mail.gq1.yahoo.com [98.137.64.206]) (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 49Tx713cTGz3Sb2 for ; Sat, 23 May 2020 21:18:53 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 1YemS08VM1mfRgnlk12DeOi5pX.dAmPG8.PJ.JlF2hFj6mMOVxU.o8s9R.PLeUQ HbvX42_cO8Tw1RR5FhfedTGvtXTsFvER4ank_vsajafJhEigMrk6fvxT2knX4EBfO.1.t2Rlx2IS AFlOxRZTMjQHEMzdfeBaFjw79dgxxf2uib7sA0AdzkrRpKjN.AAcu725orxQBfn8iamQ3KrKS015 7nZa_gHI6M2DqAq0tBN9B1dSUDv31FyQww4SlfdnFDG1HmaoXn2PE9Mt6sU6PVMA3vgn47Kc7vLK SYwZcqLkPZ0WOwhWkiGtQqs1E40EchW0YkCcDDt9IuEQGZUeJmjTBDcThHakamSlVvHPoGABqSBS qBQiKXK1i8RuP3.KhSD6t1dXJFIq9ZphmRE1GigMCQy8bNakw0AQb3rdVaUWqKt4eauuh93SM9AE gbln.XvcJW_FOK0EsTit.yd6vs2WzYWug3frnefpGOA2ZwaUMaoHVJflBmmK9kuSgKaepDTDgeDy rFu6uEV3C35v4AjPPguklN0l5Nyqpmq1MLYr47AQ.L.mGXbY0v4Vi6.gREMo.1dFpvS73FzsR2OL EbgZ2gVZPJVPYbbDq2Kz9Dgx3FNzd1yR4uJ_QemqPIt6qJzPRm9uTytXnut1._3qr9mi4dQfHqjf aNAiJPPv9qqf_K9D6Gq9qAVb4uhrZeJfT1kk9hLh53FvVXG17sXR0t210fFW2ZFLs7qSC1Fnjq2j .4w.QBG0Z3TimfpEjCww3OTja3W739alpmeKRK4DHQcB5AzYz6RerHMgfIsJaii5xpNqkh3sfboj RdicR_3flT_TnTFxWVxBy3_KfDO39rxtVt3qpW9vK9bTpOf4kgVu63AOWvVjJUdZk84j_5hummI5 cYiTQ3KWr5Bw6y_ZKAYV37emF.1CBlbf7iCoiKSduQvnWoxIkQh8qKX5mgej4oDltmKCOMkQyQCk 5YK3KoK.ivYhOb7YqwDZu7NAgdR.UPBI5XSk8mICSTLv2Np1bPtgkSC5QW9gZ1NczxJ8mZAQRYuv FK.Kb8CMTs6qOnTPKeCYAHN4qlVVTKYS8duWG0n1T0DW9HzMBDZNGB52oXw8tuIvS8qqOWxK8tGM 2oFjeAGAnTm2Y_EIOlkdXenTNcVoQ67pcKd.ZRH.xIz8qt.wGQafzx6ZT4SX3QB9AYsSnVv4LoJS V0PnFlBMNq0FcSIGfTXhhWxx1jF_jVNR_E2ngnZzI9zJf88.X6nTXKm08TNk59m.ombdJuBNnbco QgsFKbfDKFdjhYd6umbdgFQ5tu2w4LExLwFgU93cMlsC1fFe5ufap1phJ8312h8zNeiIebz.2Opl bIq0wb2wh4s1dXEKHdEwqZGPQqVWa8XLnutRhII2s4bFprIii.fuAp2pJrlxULaoqPyZOcGknV.6 qm3O2vWpqK0kdlxkzRgkJODyBMFU- Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Sat, 23 May 2020 21:18:51 +0000 Received: by smtp416.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 39ce8dda6319c0b779238ce768013dbc; Sat, 23 May 2020 21:18:47 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: Missing /dev/io on rpi3 running 12-stable From: Mark Millard In-Reply-To: <20200520181633.GA71007@www.zefox.net> Date: Sat, 23 May 2020 14:18:47 -0700 Cc: freebsd-arm , FreeBSD ports Content-Transfer-Encoding: quoted-printable Message-Id: <220B02C9-C84C-423E-9569-F36F9D7119BD@yahoo.com> References: <20200520164642.GA70838@www.zefox.net> <20200520181633.GA71007@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49Tx713cTGz3Sb2 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.37 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.206:from]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; NEURAL_HAM_LONG(-1.01)[-1.009]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.206:from]; NEURAL_HAM_SHORT(-0.81)[-0.814]; NEURAL_HAM_MEDIUM(-1.05)[-1.053]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2020 21:18:54 -0000 On 2020-May-20, at 11:16, bob prohaska wrote: > On Wed, May 20, 2020 at 07:09:11PM +0200, Mika??l Urankar wrote: >> Le mer. 20 mai 2020 ?? 18:46, bob prohaska a = ??crit : >>>=20 >>> Is there supposed to be a /dev/io by default in FreeBSD on a Pi3? >>> Attempts to start X under 12.1-STABLE r361271 GENERIC fail with >>> a report of "failed to open /dev/io". There is indeed no /dev/io, >>> but there's also no /dev/io on a pi2 running 12-stable. >>>=20 >>> Nor does there seem to be a kernel module with matching name.... >>>=20 >>> Thanks for reading! >>>=20 >>> bob prohaska >>=20 >> I haven't looked closely but it seems the error is in >> x11-servers/xorg-server/files/configure.ac, AC_DEFINE(USE_DEV_IO) >>=20 >=20 > Alas, the remedy does not suggest itself, at least not to me.... >=20 > Can somebody offer a hint? Only partially . . . I've got a RPi3 going and: A) It has the xf86EnableIO routine that would try the open and call xf86Msg to report the issue. B) Setting a breakpoint on xf86EnableIO and running never triggers the breakpoint in my context. So having USE_DEV_IO defined is not sufficient to see the problem. You have one context that gets the problem and another that does not (changing users). Overall suggests that there is some login-specific configuration is controlling which way it works at runtime. A possibility here is: QUOTE 20200220: AFFECTS: users of x11-servers/xorg-server AUTHOR: zeising@FreeBSD.org x11-servers/xorg-server has been updated to 1.20.7. With this update, xorg-server has switched from using the devd backend = to the udev backend for device configuration on FreeBSD 12 and 13. If = you have issues with input devices, please see the install message for details. The HAL backend option has been completely removed, as it was = deprecated. If you have problems with input devices, ensure that both x11/libinput = and x11-drivers/xf86-input-libinput are installed. They are installed in = the default configuration, but if you have a custom configuration, they = might not be. END QUOTE Are you using udev in both user contexts? devd? A mix across the = contexts? I'm consistently using udev. This does seem to match up with what you have reported in that the context that worked had the below message (for example) but the failing one did not: [253234.564] (II) The server relies on udev to provide the list of input = devices. If no devices become available, reconfigure udev or disable = AutoAddDevices. The message was before reporting the "Module ABI versions" information. So your failing context is either devd based or still has the = environment configured for HAL or is otherwise messed up such that udev is not in use. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)