From owner-freebsd-ports@freebsd.org Thu May 21 05:16:18 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 81D0D3296D9 for ; Thu, 21 May 2020 05:16:18 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic304-23.consmr.mail.gq1.yahoo.com (sonic304-23.consmr.mail.gq1.yahoo.com [98.137.68.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 49SHsF4FnBz4PCf for ; Thu, 21 May 2020 05:16:17 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: qLQJ3bkVM1ki8Cqd46g4.AqynYpA7xGkMR4ru3J3XM9SNw3WLeAPyRoalOdTMZM UkPwR2oddniIB3AlnZTEUms03yXXmN8Xftk9.l.smi8qUWXmxiX7Ry2OKVD1NWMhaiMb_DJZHifS M7AlyWHkibxViiqBGW3Yd8XZt3HClwphyyPbNRiW34vKSgmON8Jhgg6MoPRVlA.scsPCtnZU3cx6 46GD.cOIQn166O_sU.NYYlWJC_zUokesKwimtU9H3Qva7J1I9oogA6HHf_iP9r_I4gxXE2EHh2PJ 7hgjthHRjJI9LjF3dqiVRJcui3uPXdyL5euVfcXueegOOU9XOsv9OCA5kpYVMKkC0aurLKCXp.Jx xkhRaQoutzAQ0DXvBOrHy2_LETvz04z.4reGiUo5U0xuj4UACH5LX6roW3acShePG_521HhLzVDe HE0t7Az2q.ZtD0e_gX9hNDxSY__grrzpP7c8vRBYHZs4UCJnni4lUATCdhgfy_15AMQY1Gxna_Bl mmlZZOhah_9iw9Wd3rVbELsyADXAEMV1eKFLhVMxdKNwURu.fsD.rimIMLfe_bxDRe1dYi69_eS6 _6bXa2jbds7Eu_AT97n4lPJN7SOEbAfgsB6USc3t9r.gHs_WVhZpbSwAWDIp3dH6C.UGrnsmYtqS PKcwf3jdjqyFmyDj1g2rCCZh0plv6QVVeROK75L7xxpQcdtSVjGLD8yJgC2uhOnYV33Mi_dlscyc h1bTl1If319zhGCftb_ycyEin15RtgEApWjy4P_PQBBvthQ9TspS.bX3o1LClfj3T_GnuuvlbYbg sCQQ5xBVT6tEUPbf7LOzBfh4cApicZhuuDu.PkfiBk7nC0dzV9fFQDj3CxEJMUblb0PJXIBOVmQK A8pwVY2o2t9vHa.ozX_5KP_GvIX_8NA_J7h81Wp8M7VNvWGTtAk.3wocONo9XSDfwceDuGqbY5Kq kUfPHD2zaQuU7r4cZo37L9xrGR1F1LZaw.APiiNmZ_wXVvp9sk5Fv1eiOIDMlJFzCxPdgwemN3pC tBYMEm7YL4z86uo1IZpRjYhroBNPmVGUy4ZKsGwJFq0HRqXwBm8QATkVwfFUq3foSWxfYMFnx2pE tOxv2rdrypEiCYpCt_.goSVEWs97taF_9ghOalrL4S2fh0cCdqQ7gTuSJxjqnlVfypsckR0kxJK3 jY9lcaUAJAUGeB8n1smuCKVoHIB0CvtewyFcaCUIG.COX3F6woYrEoCvdjc3pJ7Acw_LGTbuOWgm myJ4gUO5JN98._ibmr0tjyj6yGgjV8bK0EfYMzBU8ucu5xD1XhDs7nKwhUj5lI3NL5NGmq5CEo_p IRrTOvyP2cYUQNyLrWHCTIbmrexFrbGErYVlo_kj9feBjrF4C4Fq9zri1oXFI4AkyLebEqyG1vbW SriVpzqkIrbZEV0bqwBdqbpEK Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.gq1.yahoo.com with HTTP; Thu, 21 May 2020 05:16:15 +0000 Received: by smtp421.mail.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 4c70849697b07f4220ff4c30561b1097; Thu, 21 May 2020 05:16:14 +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: <20200521022517.GA71947@www.zefox.net> Date: Wed, 20 May 2020 22:16:13 -0700 Cc: freebsd-arm , FreeBSD ports Content-Transfer-Encoding: quoted-printable Message-Id: <9E006FD6-493A-43CD-B242-47E00BBDFF6A@yahoo.com> References: <20200520164642.GA70838@www.zefox.net> <20200521022517.GA71947@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49SHsF4FnBz4PCf X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.75 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-0.25)[-0.249]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(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]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.984]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.0.0.0:email]; NEURAL_HAM_LONG(-1.02)[-1.019]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DBL_PROHIBIT(0.00)[0.0.0.0:email]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.204:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.204:from]; RCVD_COUNT_TWO(0.00)[2] 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: Thu, 21 May 2020 05:16:18 -0000 On 2020-May-20, at 19:25, bob prohaska wrote: >=20 > Which list is the appropriate forum, -ports, -arm or something else? > If there is a better problem description I'll use it. ISTR xorg=20 > compiling and running without a hitch on -current previously, ~=20 > a year ago. Does not look like I can match the RPi3 context as a cross check. (I tried.) At best a RPi4. I do not normally use a display but I normally do build lumina and what it requires as part of checking the build environment. (head -r360311 contexts currently.) I tried to see what I could do on the RPi3 and RPi4. The surprise: RPi4 output worked fine at all stages and the RPI3 got no video output at all at any time, not even the RPi3's own early-stage test-output. (Same HDMI display used for both.) Both the RPi3 and RPi4 do report the following when the display is connected: EFI framebuffer information: addr, size 0x3e513000, 0x6d8c00 dimensions 1824 x 984 stride 1824 masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 . . . VT(efifb): resolution 1824x984 Without the HDMI connection the RPi3 shows: EFI framebuffer information: addr, size 0x3eaf7000, 0x103000 dimensions 592 x 448 stride 592 masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 . . . VT(efifb): resolution 592x448 Back to with the HDMI connection . . . Both RPi*'s show: fb0: on simplebus0 fb0: keeping existing fb bpp of 32 fbd0 on fb0 WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD = 13.0. VT: Replacing driver "efifb" with new "fb". fb0: 1824x984(1824x984@0,0) 32bpp fb0: fbswap: 1, pitch 7296, base 0x3e513000, screen_size 7237632 It leaves me wondering if the RPi3 has a hardware problem. (No display output even before u-boot is involved, unlike normal.) As for the RPi4: I do not see any attempt at a /dev/io reference or any additional kernel modules loaded. It does: . . . [ 137.989] (II) Loading = /usr/local/lib/xorg/modules/extensions/libglx.so . . . [ 138.129] (II) Loading = /usr/local/lib/xorg/modules/drivers/modesetting_drv.so . . . [ 138.136] (II) Loading = /usr/local/lib/xorg/modules/drivers/scfb_drv.so . . . [ 138.141] (II) Loading /usr/local/lib/xorg/modules/libshadow.so . . . [ 138.144] (II) Loading /usr/local/lib/xorg/modules/libfb.so . . . [ 140.068] (II) Loading = /usr/local/lib/xorg/modules/input/libinput_drv.so . . . and kldstat shows: # kldstat Id Refs Address Size Name 1 6 0xffff000000000000 112dbf8 kernel 2 1 0xffff00000112e000 257c8 umodem.ko 3 2 0xffff000001154000 28658 ucom.ko My ports builds are based on ports head -r533162 . I explicitly build the following related to lumina for the aarch64 contexts: x11-drivers/xf86-video-scfb x11/lumina x11/xorg-minimal x11/xterm These, of course, lead to much more building. I built with default options for them all. No mouse or usb keyboard input to use lumina with on the RPi4 so I can not claim anything about past its initial display. In my context, startx is tied to: # more ~/.xinitrc=20 exec start-lumina-desktop # ls -laT /etc/X11/ total 8 drwxr-xr-x 2 root wheel 512 Mar 30 05:23:44 2020 . drwxr-xr-x 27 root wheel 2560 Apr 29 13:52:48 2020 .. (Yep: empty.) That is all I have. I'm not so sure any of it will happen to help. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)