From nobody Mon Oct 25 00:06:01 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5C8A91817E4B for ; Mon, 25 Oct 2021 00:06:03 +0000 (UTC) (envelope-from indexbuild@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HcwGM0jytz3vwg for ; Mon, 25 Oct 2021 00:06:03 +0000 (UTC) (envelope-from indexbuild@FreeBSD.org) Received: from portsindexbuild.nyi.freebsd.org (portsindexbuild.nyi.freebsd.org [IPv6:2610:1c1:1:606c::16:115c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5E69F1E84F for ; Mon, 25 Oct 2021 00:06:02 +0000 (UTC) (envelope-from indexbuild@FreeBSD.org) Received: from portsindexbuild.nyi.freebsd.org ([127.0.1.8]) by portsindexbuild.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id 19P061eW025316 for ; Mon, 25 Oct 2021 00:06:01 GMT (envelope-from indexbuild@portsindexbuild.nyi.freebsd.org) Received: (from indexbuild@localhost) by portsindexbuild.nyi.freebsd.org (8.15.2/8.15.2/Submit) id 19P061MQ025315 for ports@FreeBSD.org; Mon, 25 Oct 2021 00:06:01 GMT (envelope-from indexbuild) Date: Mon, 25 Oct 2021 00:06:01 GMT From: Ports Index build Message-Id: <202110250006.19P061MQ025315@portsindexbuild.nyi.freebsd.org> To: ports@FreeBSD.org Subject: INDEX build failed for 12.x X-ThisMailContainsUnwantedMimeParts: N List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org INDEX build failed with errors: Generating INDEX-12 - please wait..--- describe.accessibility --- --- describe.arabic --- --- describe.archivers --- --- describe.astro --- --- describe.audio --- --- describe.benchmarks --- --- describe.biology --- --- describe.cad --- --- describe.chinese --- --- describe.comms --- --- describe.converters --- --- describe.databases --- --- describe.deskutils --- --- describe.devel --- --- describe.dns --- --- describe.editors --- --- describe.emulators --- --- describe.finance --- --- describe.french --- --- describe.ftp --- [...] --- describe.print --- --- describe.russian --- --- describe.science --- --- describe.security --- --- describe.shells --- --- describe.sysutils --- --- describe.textproc --- --- describe.ukrainian --- --- describe.vietnamese --- --- describe.www --- --- describe.x11 --- --- describe.x11-clocks --- --- describe.x11-drivers --- --- describe.x11-fm --- --- describe.x11-fonts --- --- describe.x11-servers --- --- describe.x11-themes --- --- describe.x11-toolkits --- --- describe.x11-wm --- Done. make_index: /home/indexbuild/tindex/ports/net/appkonference: no entry for /home/indexbuild/tindex/ports/net/asterisk13 Committers on the hook: arrowd@FreeBSD.org diizzy@FreeBSD.org dvl@FreeBSD.org egypcio@FreeBSD.org jbeich@FreeBSD.org otis@FreeBSD.org rene@FreeBSD.org yuri@FreeBSD.org Most recent Git update was: UPDATING audio/Makefile audio/inscore/Makefile audio/inscore/distinfo audio/inscore/files/patch-build_CMakeLists.txt audio/inscore/files/patch-build_Makefile audio/inscore/files/patch-build_modules_GUIDOConfig.cmake audio/inscore/files/patch-src_inscore_model_Modules.h audio/inscore/pkg-descr audio/inscore/pkg-message audio/inscore/pkg-plist devel/py-apscheduler/Makefile devel/py-apscheduler/distinfo devel/py-apscheduler/files/patch-tzlocal-1.2 net/jotta-cli/files/pkg-message.in net/opentracker/pkg-message sysutils/beats7/Makefile sysutils/beats7/distinfo sysutils/beats7/files/patch-auditbeat_auditbeat.reference.yml sysutils/beats7/files/patch-auditbeat_auditbeat.yml sysutils/beats7/files/patch-filebeat_filebeat.reference.yml sysutils/beats7/files/patch-filebeat_filebeat.yml sysutils/beats7/files/patch-metricbeat_metricbeat.reference.yml sysutils/beats7/files/patch-metricbeat_metricbeat.yml sysutils/beats7/files/patch-packetbeat_packetbeat.reference.yml sysutils/beats7/files/patch-packetbeat_packetbeat.yml sysutils/beats7/files/pkg-message.in sysutils/beats7/pkg-plist sysutils/logstash7/Makefile sysutils/logstash7/distinfo textproc/elasticsearch7/Makefile textproc/elasticsearch7/distinfo textproc/kibana7/Makefile textproc/kibana7/distinfo www/gallery-dl/Makefile www/gallery-dl/distinfo From nobody Mon Oct 25 03:06:03 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5B0FE181390D for ; Mon, 25 Oct 2021 03:06:03 +0000 (UTC) (envelope-from indexbuild@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hd0G323TMz3kXd for ; Mon, 25 Oct 2021 03:06:03 +0000 (UTC) (envelope-from indexbuild@FreeBSD.org) Received: from portsindexbuild.nyi.freebsd.org (portsindexbuild.nyi.freebsd.org [IPv6:2610:1c1:1:606c::16:115c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 25DEB20F6A for ; Mon, 25 Oct 2021 03:06:03 +0000 (UTC) (envelope-from indexbuild@FreeBSD.org) Received: from portsindexbuild.nyi.freebsd.org ([127.0.1.8]) by portsindexbuild.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id 19P363oq008385 for ; Mon, 25 Oct 2021 03:06:03 GMT (envelope-from indexbuild@portsindexbuild.nyi.freebsd.org) Received: (from indexbuild@localhost) by portsindexbuild.nyi.freebsd.org (8.15.2/8.15.2/Submit) id 19P363Bl008384 for ports@FreeBSD.org; Mon, 25 Oct 2021 03:06:03 GMT (envelope-from indexbuild) Date: Mon, 25 Oct 2021 03:06:03 GMT From: Ports Index build Message-Id: <202110250306.19P363Bl008384@portsindexbuild.nyi.freebsd.org> To: ports@FreeBSD.org Subject: INDEX build failed for 12.x X-ThisMailContainsUnwantedMimeParts: N List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org INDEX build failed with errors: Generating INDEX-12 - please wait..--- describe.accessibility --- --- describe.arabic --- --- describe.archivers --- --- describe.astro --- --- describe.audio --- --- describe.benchmarks --- --- describe.biology --- --- describe.cad --- --- describe.chinese --- --- describe.comms --- --- describe.converters --- --- describe.databases --- --- describe.deskutils --- --- describe.devel --- --- describe.dns --- --- describe.editors --- --- describe.emulators --- --- describe.finance --- --- describe.french --- --- describe.ftp --- [...] --- describe.print --- --- describe.russian --- --- describe.science --- --- describe.security --- --- describe.shells --- --- describe.sysutils --- --- describe.textproc --- --- describe.ukrainian --- --- describe.vietnamese --- --- describe.www --- --- describe.x11 --- --- describe.x11-clocks --- --- describe.x11-drivers --- --- describe.x11-fm --- --- describe.x11-fonts --- --- describe.x11-servers --- --- describe.x11-themes --- --- describe.x11-toolkits --- --- describe.x11-wm --- Done. make_index: /home/indexbuild/tindex/ports/net/appkonference: no entry for /home/indexbuild/tindex/ports/net/asterisk13 Committers on the hook: arrowd@FreeBSD.org diizzy@FreeBSD.org dvl@FreeBSD.org egypcio@FreeBSD.org jbeich@FreeBSD.org otis@FreeBSD.org rene@FreeBSD.org yuri@FreeBSD.org Most recent Git update was: From nobody Mon Oct 25 06:06:01 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3483718196D6 for ; Mon, 25 Oct 2021 06:06:02 +0000 (UTC) (envelope-from indexbuild@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hd4Fk14KQz3F8B for ; Mon, 25 Oct 2021 06:06:02 +0000 (UTC) (envelope-from indexbuild@FreeBSD.org) Received: from portsindexbuild.nyi.freebsd.org (portsindexbuild.nyi.freebsd.org [IPv6:2610:1c1:1:606c::16:115c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 00E4923A34 for ; Mon, 25 Oct 2021 06:06:02 +0000 (UTC) (envelope-from indexbuild@FreeBSD.org) Received: from portsindexbuild.nyi.freebsd.org ([127.0.1.8]) by portsindexbuild.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id 19P661lM066495 for ; Mon, 25 Oct 2021 06:06:01 GMT (envelope-from indexbuild@portsindexbuild.nyi.freebsd.org) Received: (from indexbuild@localhost) by portsindexbuild.nyi.freebsd.org (8.15.2/8.15.2/Submit) id 19P661Us066494 for ports@FreeBSD.org; Mon, 25 Oct 2021 06:06:01 GMT (envelope-from indexbuild) Date: Mon, 25 Oct 2021 06:06:01 GMT From: Ports Index build Message-Id: <202110250606.19P661Us066494@portsindexbuild.nyi.freebsd.org> To: ports@FreeBSD.org Subject: INDEX build failed for 12.x X-ThisMailContainsUnwantedMimeParts: N List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org INDEX build failed with errors: Generating INDEX-12 - please wait..--- describe.accessibility --- --- describe.arabic --- --- describe.archivers --- --- describe.astro --- --- describe.audio --- --- describe.benchmarks --- --- describe.biology --- --- describe.cad --- --- describe.chinese --- --- describe.comms --- --- describe.converters --- --- describe.databases --- --- describe.deskutils --- --- describe.devel --- --- describe.dns --- --- describe.editors --- --- describe.emulators --- --- describe.finance --- --- describe.french --- --- describe.ftp --- [...] --- describe.print --- --- describe.russian --- --- describe.science --- --- describe.security --- --- describe.shells --- --- describe.sysutils --- --- describe.textproc --- --- describe.ukrainian --- --- describe.vietnamese --- --- describe.www --- --- describe.x11 --- --- describe.x11-clocks --- --- describe.x11-drivers --- --- describe.x11-fm --- --- describe.x11-fonts --- --- describe.x11-servers --- --- describe.x11-themes --- --- describe.x11-toolkits --- --- describe.x11-wm --- Done. make_index: /home/indexbuild/tindex/ports/net/appkonference: no entry for /home/indexbuild/tindex/ports/net/asterisk13 Committers on the hook: arrowd@FreeBSD.org diizzy@FreeBSD.org dvl@FreeBSD.org egypcio@FreeBSD.org jbeich@FreeBSD.org otis@FreeBSD.org rene@FreeBSD.org yuri@FreeBSD.org Most recent Git update was: From nobody Mon Oct 25 06:14:20 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E5C16181D571 for ; Mon, 25 Oct 2021 06:14:36 +0000 (UTC) (envelope-from peo@nethead.se) Received: from ns1.nethead.se (ns1.nethead.se [5.150.237.139]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ns1.nethead.se", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hd4Rc0MTGz3HSj for ; Mon, 25 Oct 2021 06:14:35 +0000 (UTC) (envelope-from peo@nethead.se) X-Virus-Scanned: amavisd-new at Nethead AB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nethead.se; s=NETHEADSE; t=1635142462; bh=r8oNXiDHlP1nXYNbnf0RdS+4xB+24qu5tLP7fvWR+ME=; h=Date:To:From:Subject; b=I80tGX1CiZt6fYhGnjKukFOxDuAQo7Why7DZbzz12X6s4mXP0i5nksn0apjgu2E2c dOLurLY2wk30NfGAAWf443jjbT7jk7ehHhURQHVm2pxUdPr+ShtJMXFPUClPEsUs68 zQaZ1pMGruMrI2ZsmeC09BId0P+z7UX63IYqCzgA= Message-ID: Date: Mon, 25 Oct 2021 08:14:20 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 To: ports@FreeBSD.org Content-Language: en-US From: Per olof Ljungmark Subject: deskutils/nextcloudclient Cannot connect securely to Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Hd4Rc0MTGz3HSj X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nethead.se header.s=NETHEADSE header.b=I80tGX1C; dmarc=pass (policy=none) header.from=nethead.se; spf=pass (mx1.freebsd.org: domain of peo@nethead.se designates 5.150.237.139 as permitted sender) smtp.mailfrom=peo@nethead.se X-Spamd-Result: default: False [-0.01 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[nethead.se:s=NETHEADSE]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:5.150.237.139]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_SHORT(0.99)[0.992]; DKIM_TRACE(0.00)[nethead.se:+]; DMARC_POLICY_ALLOW(-0.50)[nethead.se,none]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8473, ipnet:5.150.192.0/18, country:SE]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[5.150.237.139:from] X-ThisMailContainsUnwantedMimeParts: N FreeBSD 12-STABLE from Oct 15 nextcloudclient 3.3.5 I get popup messages from the client stating "Untrusted Certificate Cannot connect securely to [server-name]". Browser access to the server is fine, no errors. Using truss, it seems it looks for and finds fstatat(AT_FDCWD,"/etc/ssl/certs//2e5ac55d.0",{ mode=-r--r--r-- ,inode=192371,size=4665,blksize=5120 },0x0) = 0 (0x0) open("/etc/ssl/certs//2e5ac55d.0",O_RDONLY,0666) = 106535 (0x1a027) But 2e5ac55d.0 (DST_Root_CA_X3.pem) has expired. It also looks for 8d33f237.0, but it does not exist: fstatat(AT_FDCWD,"/etc/ssl/certs//8d33f237.0",0x7fffdf5f70a0,0x0) ERR#2 'No such file or directory' How do I convince it to instead look for 4042bcee.0 which is the ISRG_Root_X1.pem used by Letsencrypt? Thanks, Per From nobody Mon Oct 25 07:51:12 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7834F18240AA for ; Mon, 25 Oct 2021 07:51:15 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hd6b735N8z4SBR; Mon, 25 Oct 2021 07:51:15 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from [172.24.42.13] (host-95-250-211-60.retail.telecomitalia.it [95.250.211.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: madpilot/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id E39BF1F92; Mon, 25 Oct 2021 07:51:14 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Message-ID: Date: Mon, 25 Oct 2021 09:51:12 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Subject: Re: deskutils/nextcloudclient Cannot connect securely to Content-Language: en-US To: Per olof Ljungmark , ports@FreeBSD.org References: From: Guido Falsi In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ThisMailContainsUnwantedMimeParts: N On 25/10/21 08:14, Per olof Ljungmark wrote: > FreeBSD 12-STABLE from Oct 15 > nextcloudclient 3.3.5 > > I get popup messages from the client stating "Untrusted Certificate > Cannot connect securely to [server-name]". > > Browser access to the server is fine, no errors. > > Using truss, it seems it looks for and finds > fstatat(AT_FDCWD,"/etc/ssl/certs//2e5ac55d.0",{ mode=-r--r--r-- > ,inode=192371,size=4665,blksize=5120 },0x0) = 0 (0x0) > open("/etc/ssl/certs//2e5ac55d.0",O_RDONLY,0666) = 106535 (0x1a027) > > But 2e5ac55d.0 (DST_Root_CA_X3.pem) has expired. > > It also looks for 8d33f237.0, but it does not exist: > fstatat(AT_FDCWD,"/etc/ssl/certs//8d33f237.0",0x7fffdf5f70a0,0x0) ERR#2 > 'No such file or directory' > > How do I convince it to instead look for 4042bcee.0 which is the > ISRG_Root_X1.pem used by Letsencrypt? Ref: https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/ What version of openssl are you using? versions before 1.1.0 show this behavior. Maybe a possible workaround is to manually remove the expired certificate from the list of trusted ones. I guess you are using the ones installed by security/ca_root_nss, in which case you'll need to modify their list. -- Guido Falsi From nobody Mon Oct 25 08:02:50 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 196CE182941E for ; Mon, 25 Oct 2021 08:02:56 +0000 (UTC) (envelope-from peo@nethead.se) Received: from ns1.nethead.se (ns1.nethead.se [5.150.237.139]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ns1.nethead.se", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hd6rb6SjTz4WkM; Mon, 25 Oct 2021 08:02:55 +0000 (UTC) (envelope-from peo@nethead.se) X-Virus-Scanned: amavisd-new at Nethead AB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nethead.se; s=NETHEADSE; t=1635148972; bh=2XdMr1vJ/edeXBkIHxtaEY4HC00rTC2891U3fmfpoDI=; h=Date:Subject:To:References:From:In-Reply-To; b=sLuEFNFuWmD1ysZd9Wv7X4IbHTBymBgaKhElM7oA2inAkk6qOJnZimSXocmOwqW+Z ZTDlRmdBCkb2zWUaY6J3X8XdHsy37OyvIK2CqHLRLPxM05MV2ZUw+CzYi+QuUcxDlG pP9EsKQYatHg6iMroymk6WNZAiAIc8xc0oP3S3C8= Message-ID: Date: Mon, 25 Oct 2021 10:02:50 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: deskutils/nextcloudclient Cannot connect securely to Content-Language: en-US To: Guido Falsi , ports@FreeBSD.org References: From: Per olof Ljungmark In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Hd6rb6SjTz4WkM X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On 10/25/21 09:51, Guido Falsi wrote: > On 25/10/21 08:14, Per olof Ljungmark wrote: >> FreeBSD 12-STABLE from Oct 15 >> nextcloudclient 3.3.5 >> >> I get popup messages from the client stating "Untrusted Certificate >> Cannot connect securely to [server-name]". >> >> Browser access to the server is fine, no errors. >> >> Using truss, it seems it looks for and finds >> fstatat(AT_FDCWD,"/etc/ssl/certs//2e5ac55d.0",{ mode=-r--r--r-- >> ,inode=192371,size=4665,blksize=5120 },0x0) = 0 (0x0) >> open("/etc/ssl/certs//2e5ac55d.0",O_RDONLY,0666) = 106535 (0x1a027) >> >> But 2e5ac55d.0 (DST_Root_CA_X3.pem) has expired. >> >> It also looks for 8d33f237.0, but it does not exist: >> fstatat(AT_FDCWD,"/etc/ssl/certs//8d33f237.0",0x7fffdf5f70a0,0x0) >> ERR#2 'No such file or directory' >> >> How do I convince it to instead look for 4042bcee.0 which is the >> ISRG_Root_X1.pem used by Letsencrypt? > > Ref: https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/ > > What version of openssl are you using? versions before 1.1.0 show this > behavior. > > Maybe a possible workaround is to manually remove the expired > certificate from the list of trusted ones. > > I guess you are using the ones installed by security/ca_root_nss, in > which case you'll need to modify their list. OpenSSL 1.1.1l-freebsd 24 Aug 2021 I will try to remove the expired cert and see what happens. The server (v.20.0.13) uses security/ca_root_nss, the client apparently does not, it does not look in /usr/local/share/certs or /usr/local/etc/ssl And, Windows and Mac clients does not exhibit this behaviour. Thanks, Per From nobody Mon Oct 25 09:06:10 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A94E518178C7 for ; Mon, 25 Oct 2021 09:06:10 +0000 (UTC) (envelope-from indexbuild@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hd8FZ44HGz4vtj for ; Mon, 25 Oct 2021 09:06:10 +0000 (UTC) (envelope-from indexbuild@FreeBSD.org) Received: from portsindexbuild.nyi.freebsd.org (portsindexbuild.nyi.freebsd.org [IPv6:2610:1c1:1:606c::16:115c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 63A692601B for ; Mon, 25 Oct 2021 09:06:10 +0000 (UTC) (envelope-from indexbuild@FreeBSD.org) Received: from portsindexbuild.nyi.freebsd.org ([127.0.1.8]) by portsindexbuild.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id 19P96AQk024988 for ; Mon, 25 Oct 2021 09:06:10 GMT (envelope-from indexbuild@portsindexbuild.nyi.freebsd.org) Received: (from indexbuild@localhost) by portsindexbuild.nyi.freebsd.org (8.15.2/8.15.2/Submit) id 19P96Asd024986 for ports@FreeBSD.org; Mon, 25 Oct 2021 09:06:10 GMT (envelope-from indexbuild) Date: Mon, 25 Oct 2021 09:06:10 GMT From: Ports Index build Message-Id: <202110250906.19P96Asd024986@portsindexbuild.nyi.freebsd.org> To: ports@FreeBSD.org Subject: INDEX now builds successfully on 12.x X-ThisMailContainsUnwantedMimeParts: N List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org From nobody Mon Oct 25 09:10:41 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A7E861819877 for ; Mon, 25 Oct 2021 09:10:44 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hd8Lr1qBMz3DkM; Mon, 25 Oct 2021 09:10:44 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from [172.24.42.13] (host-95-250-211-60.retail.telecomitalia.it [95.250.211.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: madpilot/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id B15F52858; Mon, 25 Oct 2021 09:10:43 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Message-ID: <25441614-b92a-71e1-00b0-3b3271650f74@FreeBSD.org> Date: Mon, 25 Oct 2021 11:10:41 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Subject: Re: deskutils/nextcloudclient Cannot connect securely to Content-Language: en-US To: Per olof Ljungmark , ports@FreeBSD.org References: From: Guido Falsi In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ThisMailContainsUnwantedMimeParts: N On 25/10/21 10:02, Per olof Ljungmark wrote: > > On 10/25/21 09:51, Guido Falsi wrote: >> On 25/10/21 08:14, Per olof Ljungmark wrote: >>> FreeBSD 12-STABLE from Oct 15 >>> nextcloudclient 3.3.5 >>> >>> I get popup messages from the client stating "Untrusted Certificate >>> Cannot connect securely to [server-name]". >>> >>> Browser access to the server is fine, no errors. >>> >>> Using truss, it seems it looks for and finds >>> fstatat(AT_FDCWD,"/etc/ssl/certs//2e5ac55d.0",{ mode=-r--r--r-- >>> ,inode=192371,size=4665,blksize=5120 },0x0) = 0 (0x0) >>> open("/etc/ssl/certs//2e5ac55d.0",O_RDONLY,0666) = 106535 (0x1a027) >>> >>> But 2e5ac55d.0 (DST_Root_CA_X3.pem) has expired. >>> >>> It also looks for 8d33f237.0, but it does not exist: >>> fstatat(AT_FDCWD,"/etc/ssl/certs//8d33f237.0",0x7fffdf5f70a0,0x0) >>> ERR#2 'No such file or directory' >>> >>> How do I convince it to instead look for 4042bcee.0 which is the >>> ISRG_Root_X1.pem used by Letsencrypt? >> >> Ref: >> https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/ >> >> What version of openssl are you using? versions before 1.1.0 show this >> behavior. >> >> Maybe a possible workaround is to manually remove the expired >> certificate from the list of trusted ones. >> >> I guess you are using the ones installed by security/ca_root_nss, in >> which case you'll need to modify their list. > > OpenSSL 1.1.1l-freebsd  24 Aug 2021 > > I will try to remove the expired cert and see what happens. > > The server (v.20.0.13) uses security/ca_root_nss, the client apparently > does not, it does not look in /usr/local/share/certs or /usr/local/etc/ssl Yes rereading your post looks like the client is using FreeBSD base cert store. > > And, Windows and Mac clients does not exhibit this behaviour. Windows and mac have a different cert store mechanism AFAIK. Also my nextcloud server also has a letsencrypt cert and is working fine, so I'm not sure why yours is causing problems. -- Guido Falsi From nobody Mon Oct 25 14:22:30 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 832811812757 for ; Mon, 25 Oct 2021 14:22:39 +0000 (UTC) (envelope-from peo@nethead.se) Received: from ns1.nethead.se (ns1.nethead.se [5.150.237.139]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ns1.nethead.se", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HdHGl2ZH8z4T6M; Mon, 25 Oct 2021 14:22:39 +0000 (UTC) (envelope-from peo@nethead.se) X-Virus-Scanned: amavisd-new at Nethead AB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nethead.se; s=NETHEADSE; t=1635171753; bh=HGwFMQPBpftNSNpcXH5oKsdusA27Eev51zb/QfvqWwI=; h=Date:Subject:To:References:From:In-Reply-To; b=41b4tm9ehvxkx524TnsNjuQupw1+xNklqyTiUssL7dlPVb0GHgNpzubygxhB3y9Ve CJcG7jprKGFfW6ynjV/xPERUW/U3+tvDpiiOWe/jqGNpdGs7QDVmc+gzYWSx4+FIkc YMy3Ibj/cwKnOQwczuUO6guzGvNubtvxJXc9y0Do= Message-ID: <8c393a71-78fc-c057-2be7-37fc551e630d@nethead.se> Date: Mon, 25 Oct 2021 16:22:30 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: deskutils/nextcloudclient Cannot connect securely to Content-Language: en-US To: Guido Falsi , ports@FreeBSD.org References: From: Per olof Ljungmark In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4HdHGl2ZH8z4T6M X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On 10/25/21 09:51, Guido Falsi wrote: > On 25/10/21 08:14, Per olof Ljungmark wrote: >> FreeBSD 12-STABLE from Oct 15 >> nextcloudclient 3.3.5 >> >> I get popup messages from the client stating "Untrusted Certificate >> Cannot connect securely to [server-name]". >> >> Browser access to the server is fine, no errors. >> >> Using truss, it seems it looks for and finds >> fstatat(AT_FDCWD,"/etc/ssl/certs//2e5ac55d.0",{ mode=-r--r--r-- >> ,inode=192371,size=4665,blksize=5120 },0x0) = 0 (0x0) >> open("/etc/ssl/certs//2e5ac55d.0",O_RDONLY,0666) = 106535 (0x1a027) >> >> But 2e5ac55d.0 (DST_Root_CA_X3.pem) has expired. >> >> It also looks for 8d33f237.0, but it does not exist: >> fstatat(AT_FDCWD,"/etc/ssl/certs//8d33f237.0",0x7fffdf5f70a0,0x0) >> ERR#2 'No such file or directory' >> >> How do I convince it to instead look for 4042bcee.0 which is the >> ISRG_Root_X1.pem used by Letsencrypt? > > Ref: https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/ > > What version of openssl are you using? versions before 1.1.0 show this > behavior. > > Maybe a possible workaround is to manually remove the expired > certificate from the list of trusted ones. > > I guess you are using the ones installed by security/ca_root_nss, in > which case you'll need to modify their list. > Deleting the link /etc/ssl/certs did the trick it see,s, no more popups since an hour. Still wondering why this happens though... Thanks again, Per From nobody Mon Oct 25 14:33:03 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B73C418187F8 for ; Mon, 25 Oct 2021 14:33:05 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HdHVn3hymz4YS7; Mon, 25 Oct 2021 14:33:05 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from [172.24.42.13] (host-95-250-211-60.retail.telecomitalia.it [95.250.211.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: madpilot/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 0B92557F5; Mon, 25 Oct 2021 14:33:04 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Message-ID: Date: Mon, 25 Oct 2021 16:33:03 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Subject: Re: deskutils/nextcloudclient Cannot connect securely to Content-Language: en-US To: Per olof Ljungmark , ports@FreeBSD.org References: <8c393a71-78fc-c057-2be7-37fc551e630d@nethead.se> From: Guido Falsi In-Reply-To: <8c393a71-78fc-c057-2be7-37fc551e630d@nethead.se> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ThisMailContainsUnwantedMimeParts: N On 25/10/21 16:22, Per olof Ljungmark wrote: > On 10/25/21 09:51, Guido Falsi wrote: >> On 25/10/21 08:14, Per olof Ljungmark wrote: >>> FreeBSD 12-STABLE from Oct 15 >>> nextcloudclient 3.3.5 >>> >>> I get popup messages from the client stating "Untrusted Certificate >>> Cannot connect securely to [server-name]". >>> >>> Browser access to the server is fine, no errors. >>> >>> Using truss, it seems it looks for and finds >>> fstatat(AT_FDCWD,"/etc/ssl/certs//2e5ac55d.0",{ mode=-r--r--r-- >>> ,inode=192371,size=4665,blksize=5120 },0x0) = 0 (0x0) >>> open("/etc/ssl/certs//2e5ac55d.0",O_RDONLY,0666) = 106535 (0x1a027) >>> >>> But 2e5ac55d.0 (DST_Root_CA_X3.pem) has expired. >>> >>> It also looks for 8d33f237.0, but it does not exist: >>> fstatat(AT_FDCWD,"/etc/ssl/certs//8d33f237.0",0x7fffdf5f70a0,0x0) >>> ERR#2 'No such file or directory' >>> >>> How do I convince it to instead look for 4042bcee.0 which is the >>> ISRG_Root_X1.pem used by Letsencrypt? >> >> Ref: >> https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/ >> >> What version of openssl are you using? versions before 1.1.0 show this >> behavior. >> >> Maybe a possible workaround is to manually remove the expired >> certificate from the list of trusted ones. >> >> I guess you are using the ones installed by security/ca_root_nss, in >> which case you'll need to modify their list. >> > > Deleting the link /etc/ssl/certs did the trick it see,s, no more popups > since an hour. > > Still wondering why this happens though... Not sure why it happens in your case, since you're using a recent OpenSSL, but in general it happens because one of letsencrypt root certificates expired and the default chain still includes it through cross signing. Newer OpenSSL should be able to cope, so, again, no clue why it happens in your case. -- Guido Falsi From nobody Mon Oct 25 16:36:29 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C5BAB18059A9 for ; Mon, 25 Oct 2021 16:36:39 +0000 (UTC) (envelope-from freebsd@quinteiro.org) Received: from mx2.quinteiro.org (mx2.quinteiro.org [71.19.154.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HdLFL239mz4lHZ for ; Mon, 25 Oct 2021 16:36:38 +0000 (UTC) (envelope-from freebsd@quinteiro.org) Received: from www.quinteiro.org (www.quinteiro.org [204.109.56.22]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx2.quinteiro.org (Postfix) with ESMTPS id 8987F21D9A6 for ; Mon, 25 Oct 2021 16:36:31 +0000 (UTC) (envelope-from freebsd@quinteiro.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=quinteiro.org; s=default; t=1635179791; bh=BXmTsllGP7WKCZ39x9Lvd7FqGtObaMPsPwlsYGegbCs=; h=Subject:To:References:From:Date:In-Reply-To; b=kWR0n4D4nvi/oxPjw3aJBXuHfSRfRaJvrW3mjR05+OnMLxPH1hyGZn+7HpgDvUZ7h oONeYOIFCz2lnKAwMd/lg9SfKaOtIMKiDjrLlRC52v/ROSpza0W+VODP8ts7bqwwOG pwBk9zdKU8K4ugKPKKBGmeDIe9VEgFICt+rhXpa0= Received: from [172.16.1.157] (198-27-223-129.fiber.dynamic.sonic.net [198.27.223.129]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by www.quinteiro.org (Postfix) with ESMTPSA id 295052E8F2 for ; Mon, 25 Oct 2021 16:36:30 +0000 (UTC) Subject: Re: deskutils/nextcloudclient Cannot connect securely to To: ports@freebsd.org References: <8c393a71-78fc-c057-2be7-37fc551e630d@nethead.se> From: Jose Quinteiro Message-ID: <3ea5d66c-87a6-0bcf-4c99-3a916f12c435@quinteiro.org> Date: Mon, 25 Oct 2021 09:36:29 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 In-Reply-To: <8c393a71-78fc-c057-2be7-37fc551e630d@nethead.se> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4HdLFL239mz4lHZ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=quinteiro.org header.s=default header.b=kWR0n4D4; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@quinteiro.org designates 71.19.154.200 as permitted sender) smtp.mailfrom=freebsd@quinteiro.org X-Spamd-Result: default: False [-1.47 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[quinteiro.org:s=default]; NEURAL_HAM_MEDIUM(-0.97)[-0.970]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[quinteiro.org]; NEURAL_SPAM_SHORT(1.00)[1.000]; DKIM_TRACE(0.00)[quinteiro.org:+]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:47066, ipnet:71.19.154.0/24, country:US]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 10/25/21 7:22 AM, Per olof Ljungmark wrote: > On 10/25/21 09:51, Guido Falsi wrote: >> On 25/10/21 08:14, Per olof Ljungmark wrote: >>> FreeBSD 12-STABLE from Oct 15 >>> nextcloudclient 3.3.5 >>> >>> I get popup messages from the client stating "Untrusted Certificate >>> Cannot connect securely to [server-name]". >>> >>> Browser access to the server is fine, no errors. >>> >>> Using truss, it seems it looks for and finds >>> fstatat(AT_FDCWD,"/etc/ssl/certs//2e5ac55d.0",{ mode=-r--r--r-- >>> ,inode=192371,size=4665,blksize=5120 },0x0) = 0 (0x0) >>> open("/etc/ssl/certs//2e5ac55d.0",O_RDONLY,0666) = 106535 (0x1a027) >>> >>> But 2e5ac55d.0 (DST_Root_CA_X3.pem) has expired. >>> >>> It also looks for 8d33f237.0, but it does not exist: >>> fstatat(AT_FDCWD,"/etc/ssl/certs//8d33f237.0",0x7fffdf5f70a0,0x0) >>> ERR#2 'No such file or directory' >>> >>> How do I convince it to instead look for 4042bcee.0 which is the >>> ISRG_Root_X1.pem used by Letsencrypt? >> >> Ref: >> https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/ >> >> What version of openssl are you using? versions before 1.1.0 show this >> behavior. >> >> Maybe a possible workaround is to manually remove the expired >> certificate from the list of trusted ones. >> >> I guess you are using the ones installed by security/ca_root_nss, in >> which case you'll need to modify their list. >> > > Deleting the link /etc/ssl/certs did the trick it see,s, no more popups > since an hour. > > Still wondering why this happens though... > Someone on the forums had a similar problem and it turned out the problem was additional Let's Encrypt certificates in the /usr/local/share/certs directory. https://forums.FreeBSD.org/threads/dst-root-ca-x3-certificate-has-expired.82364/post-536460 HTH, Jose From nobody Mon Oct 25 16:43:32 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D7E37180A5AE for ; Mon, 25 Oct 2021 16:44:08 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HdLQ05ls7z4nvp for ; Mon, 25 Oct 2021 16:44:08 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: from mail-qv1-f54.google.com (mail-qv1-f54.google.com [209.85.219.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: sunpoet) by smtp.freebsd.org (Postfix) with ESMTPSA id A268066B6 for ; Mon, 25 Oct 2021 16:44:08 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: by mail-qv1-f54.google.com with SMTP id d10so3187742qvl.13 for ; Mon, 25 Oct 2021 09:44:08 -0700 (PDT) X-Gm-Message-State: AOAM530c9rgJogNC1n+tPr/DrPxGyA+cv5GbKBIo4fgoV5m58sGLeOLI v051mif6AzWK00gaFL8YhNyq1XgpTvNxVG82M0FLPA== X-Google-Smtp-Source: ABdhPJz8Q2pHKKGjG0bBFuEjRbpHCmX46QI02OcqMdOVqKd4TZ19AZ2a9ddrULswXyz/ymOf9NJKEYre710hnAOcRno= X-Received: by 2002:ad4:4e49:: with SMTP id eb9mr11926235qvb.22.1635180248296; Mon, 25 Oct 2021 09:44:08 -0700 (PDT) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Po-Chuan Hsieh Date: Tue, 26 Oct 2021 00:43:32 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: FreeBSD Port: dnscap-2.0.1,1 To: Ray Bellis Cc: ports Content-Type: multipart/alternative; boundary="000000000000d8025a05cf30119b" X-ThisMailContainsUnwantedMimeParts: Y --000000000000d8025a05cf30119b Content-Type: text/plain; charset="UTF-8" Hi, On Thu, Oct 21, 2021 at 7:35 PM Ray Bellis wrote: > > The RSSM plugin for dnscap is not dependent on the CBOR libraries, but > in the dnscap pkg-plist its files are prefixed '%%CDS%%', preventing it > from being installed if those libraries are not present on the build > system. > > We are a DNS Root Server operator and would like to use this module for > our RSSAC002 data collection, and would strongly prefer to be able to > use the official FreeBSD port of dnscap. > > It would be very much appreciated if this module were made part of the > standard package. > > [the rzkeychange module is also similarly prefixed, but is not in use] > Thanks for reporting. This should be fixed in 8ab7ac0fedb7d5de3360bcdf3d7c2b4e0cf01350. > > kind regards, > > Ray Bellis > Director of DNS Operations, ISC. > --000000000000d8025a05cf30119b-- From nobody Mon Oct 25 22:08:47 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C2E9A181C969 for ; Mon, 25 Oct 2021 22:08:58 +0000 (UTC) (envelope-from dan@langille.org) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HdTcl6s70z4X34 for ; Mon, 25 Oct 2021 22:08:55 +0000 (UTC) (envelope-from dan@langille.org) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 0AF195C031D for ; Mon, 25 Oct 2021 18:08:49 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 25 Oct 2021 18:08:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=langille.org; h= to:from:subject:message-id:date:mime-version:content-type :content-transfer-encoding; s=fm2; bh=DjlUfOm3c3yUkkls6QgWbVgnes KIGsBMFISNZYSw+dA=; b=j0gIBL4Isi0uU7bcG38uzsUMPHJdudS9lByThSIHHD Q0oRQQfmfeRX3IsT/AjA03KGzq8+UN18Q1PoUZ9H6A3yn1c5XCj2RtXt022WRZ1+ rnAaugpqQdyBb3RtL072291bloplwdWdiHhCm4zAkeISa6cYhp59hhAj9pzvCeIk /sA0C1/kTp+2RUccSTt6qoWCgVzmYeLpOMTfKk8zr9ZY82ggAfvbGCPKfCgWrUmj 8Z007ZK2GGLRSPeDsY6XtAc4dZf86uASv2ZH7Od6WiVDV7ZUZh00/wvaJxss/fll A9qHFzAvhGSta6s1UVQW8D7TxNsGkpfNRuqwXTOk1RhQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=DjlUfO m3c3yUkkls6QgWbVgnesKIGsBMFISNZYSw+dA=; b=l6qe68IfsAFjwATPJ5rwn2 qPY28+izk4uWxOtZrV/i7G80nw00I95Z8hqpi45M8QdOV24tk8sqZoDmrKkdga4n zePgT6PyLa9TgZGTQy8xE/NoAJFWb+Idvu0hw7+HQ/aGln/JfqCY7j93h1S/uN5b MEFMu9Zco7kTFf889LUGCW2t4Ilkjgdw9DpZMNn6R+ag37XHhns1/nKYFpIHym33 G4AAiLkkXULuHYK4uUhIR8JvNnrsfMTcjPbeuEcP1E+TStctGovC2rL0dg91yD3Q wNzpvqr4Lsivl7SeOa1tcINIU4J4h0Fpk0ZaT/v67QJ54V/oIuiOSUgwE/cK1kKg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdefhedgudeihecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepvffhuffkffgfgggtgfesthekre dttdefjeenucfhrhhomhepffgrnhcunfgrnhhgihhllhgvuceouggrnheslhgrnhhgihhl lhgvrdhorhhgqeenucggtffrrghtthgvrhhnpedvvdekffduvedtudffleeuudelvdevhf eluefggeeileduhedtudehieevkeekffenucffohhmrghinhepfhhrvghshhhpohhrthhs rdhorhhgpdhgihhthhhusgdrtghomhdpfhhrvggvsghsugdrohhrghdplhgrnhhgihhllh gvrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho mhepuggrnheslhgrnhhgihhllhgvrdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 25 Oct 2021 18:08:48 -0400 (EDT) To: freebsd-ports From: Dan Langille Subject: broken UCL in pkg-message Message-ID: <37aebcaf-625a-72c8-3f10-a9f9c1c4cd0c@langille.org> Date: Mon, 25 Oct 2021 18:08:47 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:52.0) Gecko/20100101 PostboxApp/7.0.51 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4HdTcl6s70z4X34 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=langille.org header.s=fm2 header.b=j0gIBL4I; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=l6qe68If; dmarc=pass (policy=none) header.from=langille.org; spf=pass (mx1.freebsd.org: domain of dan@langille.org designates 66.111.4.29 as permitted sender) smtp.mailfrom=dan@langille.org X-Spamd-Result: default: False [-5.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[langille.org:s=fm2,messagingengine.com:s=fm1]; FREEFALL_USER(0.00)[dan]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.29]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[langille.org:+,messagingengine.com:+]; DMARC_POLICY_ALLOW(-0.50)[langille.org,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.111.4.29:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.29:from] X-ThisMailContainsUnwantedMimeParts: N Hello, I've been working on displaying the pkg-message information on FreshPorts. [1] Part of this involves parsing the file via ucl_tool (textproc/libucl) - along the way I have been finding broken pkg-message files and fixing them. I have created a task[2] for myself to add a sanity check to FreshPorts so committers get instant notification. [3] It might also be useful to have a pre-commit hook cover this. I could use help correctly the broken entries in the ports tree. I do not have time to fix them myself. I can provide starting points: * use this search term on your search engine: site:freshports.org "WARNING: The FreshPorts parser failed. ucl_tool failed. Please report this" * write a small shell script to find broken UCL I think the former is a short list, but will not find everything. The shell script is sort of like this: find /usr/ports -name pkg-message -exec another-script Where that other script does this:  /usr/local/bin/ucl_tool --in FILE --format json If [ $? <> 0] ;then  #this one needs fixing fi That should find most, but you also want to look for pkg-message.in I started this search through the cache: [aws-1-nginx01 dan ~] % sudo grep -rl 'The FreshPorts parser failed' ~freshports/cache/ports/* devel/kf5-solid devel/kyua games/shockolate net/endlessh net/py-wsdd The output has been modified to show just the category/port name. [1] - https://news.freshports.org/2021/10/14/pkg-message-ucl-type-gives-_pkgmessage_ucl-found-a-type-is-it-not-prepared-for-array/ [2] - https://github.com/FreshPorts/freshports/issues/345 [3] - https://docs.freebsd.org/en/books/porters-handbook/keeping-up/#freshports -- Dan Langille - dan@langille.org https://langille.org/- From nobody Tue Oct 26 14:10:47 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 76A76182BC6B for ; Tue, 26 Oct 2021 14:10:48 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hdtyc1CWmz3lFX for ; Tue, 26 Oct 2021 14:10:48 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.nyi.freebsd.org (portscout.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0BADC1DBDA for ; Tue, 26 Oct 2021 14:10:48 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.nyi.freebsd.org ([127.0.1.10]) by portscout.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id 19QEAlIL035019 for ; Tue, 26 Oct 2021 14:10:47 GMT (envelope-from portscout@FreeBSD.org) Received: (from portscout@localhost) by portscout.nyi.freebsd.org (8.15.2/8.15.2/Submit) id 19QEAle3035018; Tue, 26 Oct 2021 14:10:47 GMT (envelope-from portscout@FreeBSD.org) Message-Id: <202110261410.19QEAle3035018@portscout.nyi.freebsd.org> X-Authentication-Warning: portscout.nyi.freebsd.org: portscout set sender to portscout@FreeBSD.org using -f Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Date: Tue, 26 Oct 2021 14:10:47 +0000 From: portscout@FreeBSD.org To: ports@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 X-ThisMailContainsUnwantedMimeParts: N Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/ports@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ databases/jasperreports | 5.5.2 | 6.18.0 ------------------------------------------------+-----------------+------------ games/domination | 1.2.3 | 1.2.4 ------------------------------------------------+-----------------+------------ games/exult | 1.7.0.20211005 | snapshot-v1.7.0.20211019 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt Reported by: portscout! From nobody Tue Oct 26 14:39:12 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id F35251817DB7 for ; Tue, 26 Oct 2021 14:39:25 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hdvbd2KW8z3t2C for ; Tue, 26 Oct 2021 14:39:25 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: by mail-yb1-xb36.google.com with SMTP id e138so24476353ybc.3 for ; Tue, 26 Oct 2021 07:39:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kev009.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=HDe8ilZZfn0q/DRfV/GOs3Arwz06wExxCTFY/6yG+Ns=; b=fSwzISM9eES6MCFpJ7al00h0BiU2W+7T1FdC27hRxmPsz8PFT38L599/QryYvSHtc3 E4kU6UflUqY9x45PMwGQ38oz5QgJd0PSX4FDjcBjyMy/dl5W3g7bKPh6rJH5vgn35Dn8 5eijyV8KTDCqeDPzDXdvE7aVs3ToZZ9d6IwEs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=HDe8ilZZfn0q/DRfV/GOs3Arwz06wExxCTFY/6yG+Ns=; b=KTehnFUM5Y9YJmDSIfvSyzjQmUhNP3N7YPWoGF5Yuj24fUzJN+qbaci/eDRnuQuIsB eNF1k3GwOmGXi1XjcV9YlxrSjQleTNj4Z6NmSQNsQeDlNwx2Nw/ipzQjTka+uxsIMnhT GZAad0IpkWY/qmEXnEuwkmZBBIPwFNgUW4j692yKhWBUSV1TUQeqQ2rlSqgrPQa64umd nOpo2JwBS/9k6B7QrfhlH0sLUWftyaGN5h6onTjq6HAIS9eoUT4GRZbW4p4km6PVo8P3 s2NoYiCQLLhxYyPP+t9c5aCYip6lCz1diTuBDi0spjww1KSilsOtBja+CUrJ2Mb6czzv vZNw== X-Gm-Message-State: AOAM531FbCcx99vt+GgDhiXFskmqnUO6sAgK9pMREwGiiJuiAZfgBnKk oxscU8S8QWXNOkzmnBLquTSRLCfuooFO5ONn3tsWNnqpUFBRJg== X-Google-Smtp-Source: ABdhPJy7sQmsTkiXYukQSA8OVYqdsJaA27VUz70ohwPjxAKakPaEE1bJEMwFMSjGTij+BifWrSqXgd4qM6U2YQv4Xmw= X-Received: by 2002:a5b:cca:: with SMTP id e10mr8595263ybr.224.1635259164385; Tue, 26 Oct 2021 07:39:24 -0700 (PDT) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 From: Kevin Bowling Date: Tue, 26 Oct 2021 07:39:12 -0700 Message-ID: Subject: Port wanting pgx cargo crate To: freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4Hdvbd2KW8z3t2C X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none ("invalid DKIM record") header.d=kev009.com header.s=google header.b=fSwzISM9; dmarc=none; spf=pass (mx1.freebsd.org: domain of kevin.bowling@kev009.com designates 2607:f8b0:4864:20::b36 as permitted sender) smtp.mailfrom=kevin.bowling@kev009.com X-Spamd-Result: default: False [0.70 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(1.00)[0.999]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[kev009.com]; DKIM_TRACE(0.00)[kev009.com:~]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b36:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_PERMFAIL(0.00)[kev009.com:s=google]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hi, I am curious if anyone has any suggestions for using the 'pgx' crate in a port. Specifically, it has an 'init' command that must be run before the crate is used which bootstraps some external dependencies on postgres and pg_config. https://github.com/zombodb/pgx Regards, Kevin From nobody Wed Oct 27 08:01:35 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0A7A81810AA1 for ; Wed, 27 Oct 2021 08:02:20 +0000 (UTC) (envelope-from xxjack12xx@gmail.com) Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HfLkz0Mtvz3DXf for ; Wed, 27 Oct 2021 08:02:19 +0000 (UTC) (envelope-from xxjack12xx@gmail.com) Received: by mail-ed1-x535.google.com with SMTP id h7so7044728ede.8 for ; Wed, 27 Oct 2021 01:02:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=TpUiVYjD6nRapAQaH6upeDXcvjQWXTw9n/R/41+ky/0=; b=AJX86d4IGxGYGAKBTm6eGZuoR8dlktgSo8lIEZUp/km+KLfMQLT5JeBIGG7EfrrQfD aZ+9607Hl4VOaODzDx5G/QuK6gPzP973Lmm7mze9r7MPc7KFJ7iYrG29yyEBGw1tjjHa 8bmBfasWfiqjCesDmhzCfjhvUurBPYvxDC2sVpBwrZl8p+uNSngdHIxxvg8zPIeuD+cp 7g9dtSz9n9HSvbZyDV5RyoHX/zjdJIoX2fiTEsFJYfhadAdpbLhWq7GpCUT+OX2PbwXc 4eK+Tf280HANxXLxHpXHE7SV5h+iCTkNqv2Ql4eRZR3EE4979MW9F8oYfByeZXTuMudG QsJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=TpUiVYjD6nRapAQaH6upeDXcvjQWXTw9n/R/41+ky/0=; b=AwbACbSy5nEQFnwvMiO5OPwZoaQz0XDnsGQz7kdU5NSOLiBEg4RiwKvHHFvv07rNJc vI7l4clSH9f2i2cAMJ9wbkQRrHpN2xn1baBGbpkD8jpZhKZY34w3bxmIJujBIv0vR8gP qQBhhkeMZMYeJTABqmaMW4P9+skejQYlWsnYHS7f3JHqmLyQGyTGXoDFEdJqkvZeL9PP NgVLJaxfQutA+XPYui+JHqfSmi0WbenNS49YoZlWGI95TVoOY5SEOGfb+OFF9ntVUyAV pu8Xk4Hiq66CwJ+PT8hZuAPwetuKCoQrBqBlqRDA7UmO5HvGis6Qq4OB41pnuenFmjyQ +aOQ== X-Gm-Message-State: AOAM530yyHoiXyK4VoaW2cIx9O4o8Lu9pMeRvK94XHu5lUqtcqk5PZKa 8h7NemlbbahlZ/BuSHArAjJbMklMR0TS2GlEgQFPPmzx X-Google-Smtp-Source: ABdhPJxefxOStVuiR1cAY6gQxGMjhHWW4a/eCukEDvLtQLiiwfBCmbMyFHRht+Xb8hy+UDwRSemCYPYnLmI4qEnfYA8= X-Received: by 2002:a17:907:1dc8:: with SMTP id og8mr37925829ejc.133.1635321731953; Wed, 27 Oct 2021 01:02:11 -0700 (PDT) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: "Jack L." Date: Wed, 27 Oct 2021 01:01:35 -0700 Message-ID: Subject: Re: Audacity upgrade To: FBSD Ports Mailing List Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4HfLkz0Mtvz3DXf X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=AJX86d4I; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of xxjack12xx@gmail.com designates 2a00:1450:4864:20::535 as permitted sender) smtp.mailfrom=xxjack12xx@gmail.com X-Spamd-Result: default: False [-3.97 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.975]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::535:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N Sorry to prod again, but is there anything that needs to be done so this can be committed? Trying to get this in so it doesn't turn into another version chasing with the port already being 3 versions behind from this pr. On Sun, Oct 24, 2021 at 3:44 AM Jack L. wrote: > > Hi, can someone please look at > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258107 > > I'm trying to get this updated before the next version comes out. From nobody Wed Oct 27 15:16:56 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id F109C1811B8B for ; Wed, 27 Oct 2021 15:17:09 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HfXNj1WJdz3CM0 for ; Wed, 27 Oct 2021 15:17:09 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: by mail-yb1-xb29.google.com with SMTP id t127so7110274ybf.13 for ; Wed, 27 Oct 2021 08:17:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kev009.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=RI9UoG1BEO6Sgog5eUEx4mV4lzIB5wNUcu0WG7q3+1A=; b=d2QxX3BSrnDkvohPpYeHqPEVysN2Q/Y5BW1cwEEhrpMI/Eu1U8stBa/KYd8bCEET22 LxLvUWTGdQgmQrz9dmzHQpPTlskHi3LUEfMLBldqz6nVfDaNBZSLNkn+Nn/WY6Ve/4GX 4kcb+PT9zt67iTwuZDpXKuestQ1Uo3MHXYsHY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=RI9UoG1BEO6Sgog5eUEx4mV4lzIB5wNUcu0WG7q3+1A=; b=OgUsHDjXAtbLeEgXg9zqCMvsGuPQfhe3fysbT/8lMrdO0E0XinQKbAL+fLL2g1yCao 1mDJ2hRU5lRAwi5Ha4sFHpDmDZcEStk8B2V7cp9qGYm7ljb9wSBIm9a/dkZ1h+0sBTCG 4HmLbN7OG1joDfDpF7PXuA4gE0F4d/wwK3rreFvu5BTcq8kgIEZ5K2h/7jIW+WRfdweA AmyRoEcGiimGKpxcx/rBZ9t3MmQicEWpb4hi1m6OaqmxR0ZuSpq0AZqSSKyKJPgotBVQ Fcs9zsTKUGmOI9uOrFS00WfehLkeFT3d05V64Ezp/0PDeypnZDygRjFIg9P3S1aukptE WMqA== X-Gm-Message-State: AOAM530ILtmMJc0OUWP3PNF7c1t+69oAPtg9Rl9qmIfUY6nkdKqD+7vs mzTHR/rIqJ6navR2r8l0gMy3uZqRDvOauxXSHLZx8ER2DJQ= X-Google-Smtp-Source: ABdhPJwzNFZLnuSwAv1xeCq2AUotL+2BQiYOjECZhW+DdULnLNA8nSmaIGxs+LAW9F2S3CTtI31PWFbscMf6p/TFb74= X-Received: by 2002:a25:d30a:: with SMTP id e10mr2509435ybf.224.1635347828344; Wed, 27 Oct 2021 08:17:08 -0700 (PDT) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Kevin Bowling Date: Wed, 27 Oct 2021 08:16:56 -0700 Message-ID: Subject: Re: Port wanting pgx cargo crate To: freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4HfXNj1WJdz3CM0 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none ("invalid DKIM record") header.d=kev009.com header.s=google header.b=d2QxX3BS; dmarc=none; spf=pass (mx1.freebsd.org: domain of kevin.bowling@kev009.com designates 2607:f8b0:4864:20::b29 as permitted sender) smtp.mailfrom=kevin.bowling@kev009.com X-Spamd-Result: default: False [1.41 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[kev009.com]; DKIM_TRACE(0.00)[kev009.com:~]; NEURAL_SPAM_LONG(0.89)[0.890]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b29:from]; NEURAL_HAM_SHORT(-0.18)[-0.179]; R_DKIM_PERMFAIL(0.00)[kev009.com:s=google]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Tue, Oct 26, 2021 at 7:39 AM Kevin Bowling wrote: > > Hi, > > I am curious if anyone has any suggestions for using the 'pgx' crate in a port. > > Specifically, it has an 'init' command that must be run before > the crate is used which bootstraps some external dependencies on postgres and > pg_config. > > https://github.com/zombodb/pgx After digging around a bit, it seems part of this is a new cargo sub-command similar to something like devel/cargo-c, so I will need to make a pgx port to handle making this sub-command available. From nobody Wed Oct 27 16:28:52 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 21AD718109E5; Wed, 27 Oct 2021 16:29:02 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HfYzd1jLDz3q9j; Wed, 27 Oct 2021 16:29:01 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.16.1/8.15.2) with ESMTPS id 19RGSrEe016115 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 27 Oct 2021 09:28:53 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.16.1/8.15.2/Submit) id 19RGSqwq016114; Wed, 27 Oct 2021 09:28:52 -0700 (PDT) (envelope-from fbsd) Date: Wed, 27 Oct 2021 09:28:52 -0700 From: bob prohaska To: freebsd-arm@freebsd.org, freebsd-ports@freebsd.org Cc: bob prohaska Subject: Re: Troubles booting Pi2 from USB using bootcode.bin method Message-ID: <20211027162852.GA16010@www.zefox.net> References: <20211025034332.GA8398@www.zefox.net> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211025034332.GA8398@www.zefox.net> X-Rspamd-Queue-Id: 4HfYzd1jLDz3q9j X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [0.90 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_WWW(0.50)[] X-ThisMailContainsUnwantedMimeParts: N On Sun, Oct 24, 2021 at 08:43:32PM -0700, bob prohaska wrote: > I've got an early Pi2B (not plus) that has been booting reliably > from a USB2 disk connected via a USB3 hub using just bootcode.bin > and timeout on the DOS partition of the microSD card. > It turns out the USB3 disk boots normally _provided_ the old USB2 disk remains connected. I didn't try that initially both because I didn't need both disks and because the boot order couldn't be obviously controlled. It turns out the new disk is discovered first and boots as desired, so the system is busy building an up-to-date world and kernel. There's room for a ports tree on this disk. Does the ports version of u-boot include support for the bootcode.bin-only mode of USB booting? Right now I'm using the version of bootcode.bin offered at https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#special-bootcode-bin-only-boot-mode Without having the USB2 disk connected the serial console hangs with what looks like "cb" as the only output. It's unclear if u-boot is starting at all. The red and green LEDs remain lit, seemingly indefinitely. Thanks for reading, and any ideas. bob prohaska > > From nobody Wed Oct 27 17:13:48 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0830F1825ACD for ; Wed, 27 Oct 2021 17:13:51 +0000 (UTC) (envelope-from diizzy@FreeBSD.org) Received: from relay10.mail.gandi.net (relay10.mail.gandi.net [217.70.178.230]) (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 4HfZzL4Kyyz4YdR for ; Wed, 27 Oct 2021 17:13:50 +0000 (UTC) (envelope-from diizzy@FreeBSD.org) Received: (Authenticated sender: daniel.engberg@pyret.net) by relay10.mail.gandi.net (Postfix) with ESMTPA id BCA38240003; Wed, 27 Oct 2021 17:13:48 +0000 (UTC) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Date: Wed, 27 Oct 2021 19:13:48 +0200 From: Daniel Engberg To: Gunther Nikl Cc: freebsd-ports@freebsd.org Subject: Re: freetype2 2.11 In-Reply-To: <20211027185435.00005f2f@justmail.de> References: <20211027185435.00005f2f@justmail.de> Message-ID: <09ff6e1b279ecedbd29cfe4c73122500@FreeBSD.org> X-Sender: diizzy@FreeBSD.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4HfZzL4Kyyz4YdR X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:29169, ipnet:217.70.176.0/20, country:FR]; local_wl_from(0.00)[FreeBSD.org] X-ThisMailContainsUnwantedMimeParts: N On 2021-10-27 18:54, Gunther Nikl wrote: > Hello! > > The update from version 2.10.4 to version 2.11 changed the build > system. This had the unintended(?) effect that freetype-config is not > installed anymore. It seems that only the autoconf build system does > offer installing that file. I stumbled about this issue when I tried to > build an old(er) software package. > > Regards, > Gunther Nikl Hi, It's not unintended, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251512#c9 (and below) Best regards, Daniel From nobody Wed Oct 27 17:39:52 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E4315182F6BB for ; Wed, 27 Oct 2021 17:40:08 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-55.consmr.mail.gq1.yahoo.com (sonic308-55.consmr.mail.gq1.yahoo.com [98.137.68.31]) (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 4HfbYh0W96z4hGm for ; Wed, 27 Oct 2021 17:40:07 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635356399; bh=IkiB3WID7KLQ0zXSfxywxe5c33LL3zRBxf+SuQrq/js=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=QL7BmDNJJOBkycTzfnpiJI/suNIxFCrUpHpOQBw3W16U+4owEH5sHYO6o1RylIUwBvY148ehjTKnZM5wYyXWCGw+4rqSs7c2j7IshZXzSwsFBuHCzE3b+UKvCWjk1Hh/ZD1tufivClBlb8I9ZKZ6D5TQus2rFKpIlYT9b/qB+ND3fcwP3077exbMPFh5U53QChNbaH++/suy7aRdmjxh1i9nBN+1dRB6iyAUlKf0kQ9MpGTMGiqrT/mY2KWdAJME3ndVk6hEenrSa9cSnN5J/BZfJQY+Z5ik/4sOJ2SBGuFApUAXkSSYAjfifmmyWp75w5Z20Uv+ENEiBFagy8LHNg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635356399; bh=gYGvlwCqh0UPVNeK1ZbGP/HK9BMcqD3BF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FOu7p XvNUkgvNph5PkWEpGGU0GCCgdxa0M8DIGGO8m2fuJOBx01GGXqB_IQAa.81kYDhhuBs5osfi6UOc 9WRF686P1u3dW6Qln_NupJz1xlBzxJwHB6DClAT_R7lNTZ_wk7zX8GRkBWtIe_C87SAO3.lN0AAw lKn.e8QmcbAv.Q9Sy5ruQQdWs89GcHNSU1bnU9GYObhB3HsVZ4ewox7QWIRC1Cz7osJ6mF7UsnCR IFpL3NyeK2GEMNOG1bJD7OpLyxT8vsmwPjXS737ePLJGus1c39xHV1IMntXQxc0TniMe6zlU_goO mSpryhd3.cOj0boWG3E0fU35Lm7HHFSRx1bYi0P7bGwB__j1XqYqMDibRMbfPU5hbElf16OQyMTY EZ6GuIbxo_aQtYpnlufgRosOaBvw8414pmnSRaie29h_JPBRvcKDQCpiEZujcHdv0u9h1FA1o8ih jGNd84ohlRBacDENwLDHZCxCzc7rTep4LqpLY6yoccMClVltLlZ1BX_gfl4u4M0U5mSbBd0iC4YF de93alE9Hq3WUwg6RiRwxzQrVbUptWnWW62XMXRvRrS_O X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Wed, 27 Oct 2021 17:39:59 +0000 Received: by kubenode522.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID c0072271c68ba537fd50a32ff12251b5; Wed, 27 Oct 2021 17:39:55 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Troubles booting Pi2 from USB using bootcode.bin method In-Reply-To: <20211027162852.GA16010@www.zefox.net> Date: Wed, 27 Oct 2021 10:39:52 -0700 Cc: freebsd-arm@freebsd.org, freebsd-ports@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20211025034332.GA8398@www.zefox.net> <20211027162852.GA16010@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4HfbYh0W96z4hGm X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-arm X-Original-From: Mark Millard X-ThisMailContainsUnwantedMimeParts: N On 2021-Oct-27, at 09:28, bob prohaska wrote: > On Sun, Oct 24, 2021 at 08:43:32PM -0700, bob prohaska wrote: >> I've got an early Pi2B (not plus) that has been booting reliably >> from a USB2 disk connected via a USB3 hub using just bootcode.bin >> and timeout on the DOS partition of the microSD card. >>=20 > It turns out the USB3 disk boots normally _provided_ the old > USB2 disk remains connected. I didn't try that initially both > because I didn't need both disks and because the boot order=20 > couldn't be obviously controlled.=20 >=20 > It turns out the new disk is discovered first and boots as=20 > desired, so the system is busy building an up-to-date world > and kernel. There's room for a ports tree on this disk. >=20 > Does the ports version of u-boot include support for the > bootcode.bin-only mode of USB booting? Before U-Boot is involved there are other files involved such as a start* file from the USB device. With appropriate config.txt content, and possibly other settings, the boot is likely rather explicit about its early activity. (But I do not currently have access to a RPi2B v1.1 or earlier to test the details on. In fact, the accessible only RPi*'s are RPi4B 8 GiByte ones.) (I wondered if you meant RPi3B: To my knowledge there is no such thing as a RPi2B+ so the "plus" reference suggests an early RPi3B might have been what was involved.) > Right now I'm using > the version of bootcode.bin offered at=20 > = https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#spec= ial-bootcode-bin-only-boot-mode >=20 > Without having the USB2 disk connected the serial console hangs > with what looks like "cb" as the only output. It's unclear if > u-boot is starting at all. The red and green LEDs remain lit, > seemingly indefinitely.=20 >=20 >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From nobody Wed Oct 27 22:37:03 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0E5AC1817EEA for ; Wed, 27 Oct 2021 22:37:09 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-55.consmr.mail.gq1.yahoo.com (sonic308-55.consmr.mail.gq1.yahoo.com [98.137.68.31]) (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 4Hfk8M5VLyz3HMy for ; Wed, 27 Oct 2021 22:37:07 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635374226; bh=8tiIsHVqMQR1XMxuxq/yrqFX7iM8YII22u3vQiF7RfM=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=BjqC+6sU21RSXBE2yTS43GAPyqSvr/PdzxDXnDHho31YzBHcEvuHcWf+jaXQYiXrdYaiU9cNxqqoGIM05FWv1dewc3hnjye1NotWsUw3g/pUfB42kaUM0u5ARiT8Yf9hBDBr8XoUUZR40CRH2XXBWKcZ2Uc/XWTYd+3PohxA6M7o1BVSBLFMMLzeGzmwnvVJIH+xpjNYjJvIz2+2rN+t4ugaAa96KCechejum8fzn67jaCVlSMrtGlxedd/Ve4fnQL0wtJZ7KClWayXedDIffARjKu1zbu6iFjbZ9korUs4B1G278scS4iar6cKDAKbTqFCZVZHgq3d3tISQpVdvgw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635374226; bh=LVCLa+D5hrTriEr3BYDfR8raZaq3XeAbK7bTZqlueXa=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=OEvJtkck7o2xoSDUJcU2TStt6/qihvmR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g4HHT5aqlwXqS90jGHwRbOwZE5NNdkUUnodkyb17slAYAhXh_FmR92eHGxzTkQ5 jZdfGt5EG.yz3r4OHxOE.WmmAjrLi1fg8.wiHObIcVZoXjFcSYkd8zhNPap.njLoSHdsDLUEN2OR fupjUB8trIAsF05mgQgcMAAh8tk2A0zG7SvuCoD8Fhg3LMkoJaI922AgYXBz4ZDNVNPg50.rRQja NSpYhT4vOh71sUNN6xFvczWJxokcKmgN.B_O92jYqAukYE31.KXCeg91jbJOsbajLA4mkvNmcUyg ZSWeMrpX71ydOKszA4Z9RgqAdLA0uwh2V5QriF1mWIM0m0jb8U5.qkpOpM9ez359hL3z37qK9DW_ gxIw8kyhb4C8GM6adHfE9a0UDV8O2IIOlcgKQ6FLj5EsSyL_Mj7k0Ozm3v4AoAYytSoqU3pK2Diu RdIRAKpu7kczGt89Y0QzsIgmBhxBA4.hlTeAISe7R_h8b X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Wed, 27 Oct 2021 22:37:06 +0000 Received: by kubenode539.mail-prod1.omega.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 34fda6c00065ed7d5c172e57a763ba68; Wed, 27 Oct 2021 22:37:04 +0000 (UTC) Content-Type: text/plain; charset=utf-8 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Troubles booting Pi2 from USB using bootcode.bin method In-Reply-To: Date: Wed, 27 Oct 2021 15:37:03 -0700 Cc: Free BSD , freebsd-ports@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <41C0A656-D898-4381-BB81-034D54CA04A0@yahoo.com> References: <20211025034332.GA8398@www.zefox.net> <20211027162852.GA16010@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4Hfk8M5VLyz3HMy X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=BjqC+6sU; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.68.31 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 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.68.31: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.00)[-1.000]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.31:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; 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/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-arm X-Original-From: Mark Millard X-ThisMailContainsUnwantedMimeParts: N On 2021-Oct-27, at 10:39, Mark Millard wrote: > On 2021-Oct-27, at 09:28, bob prohaska wrote: >=20 >> On Sun, Oct 24, 2021 at 08:43:32PM -0700, bob prohaska wrote: >>> I've got an early Pi2B (not plus) that has been booting reliably >>> from a USB2 disk connected via a USB3 hub using just bootcode.bin >>> and timeout on the DOS partition of the microSD card. >>>=20 >> It turns out the USB3 disk boots normally _provided_ the old >> USB2 disk remains connected. I didn't try that initially both >> because I didn't need both disks and because the boot order=20 >> couldn't be obviously controlled.=20 >>=20 >> It turns out the new disk is discovered first and boots as=20 >> desired, so the system is busy building an up-to-date world >> and kernel. There's room for a ports tree on this disk. >>=20 >> Does the ports version of u-boot include support for the >> bootcode.bin-only mode of USB booting? >=20 > Before U-Boot is involved there are other files involved > such as a start* file from the USB device. With appropriate > config.txt content, and possibly other settings, the boot > is likely rather explicit about its early activity. (But I > do not currently have access to a RPi2B v1.1 or earlier to > test the details on. In fact, the accessible only RPi*'s > are RPi4B 8 GiByte ones.) >=20 > (I wondered if you meant RPi3B: To my knowledge there is > no such thing as a RPi2B+ so the "plus" reference suggests > an early RPi3B might have been what was involved.) >=20 >> Right now I'm using >> the version of bootcode.bin offered at=20 >> = https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#spec= ial-bootcode-bin-only-boot-mode >>=20 >> Without having the USB2 disk connected the serial console hangs >> with what looks like "cb" as the only output. It's unclear if >> u-boot is starting at all. The red and green LEDs remain lit, >> seemingly indefinitely.=20 >>=20 >=20 Your specific path may be different, but what does a command analogous to the below show for you for the problematical context? # strings /boot/efi/start.elf | grep "VC_BUILD_" VC_BUILD_ID_USER: dom VC_BUILD_ID_TIME: 12:12:09 VC_BUILD_ID_VARIANT: start VC_BUILD_ID_TIME: Feb 25 2021 VC_BUILD_ID_BRANCH: bcm2711_2 VC_BUILD_ID_HOSTNAME: buildbot VC_BUILD_ID_PLATFORM: raspberrypi_linux VC_BUILD_ID_VERSION: 564e5f9b852b23a330b1764bcf0b2d022a20afd0 (clean) I'll note that there is: QUOTE bootcode.bin UART Enable NOTE For boards pre-Raspberry Pi 4, Model B. For information on enabling the UART on the Pi4 bootloader, please see = this page. It is possible to enable an early stage UART to debug booting issues = (useful with the above bootcode.bin only boot mode). To do this, make = sure you=E2=80=99ve got a recent version of the firmware (including = bootcode.bin). To check if UART is supported in your current firmware: strings bootcode.bin | grep BOOT_UART To enable UART from bootcode.bin use: sed -i -e "s/BOOT_UART=3D0/BOOT_UART=3D1/" bootcode.bin Next, connect a suitable USB serial cable to your host computer (a = Raspberry Pi will work, although I find the easiest path is to use a USB = serial cable since it=E2=80=99ll work out the box without any pesky = config.txt settings). Use the standard pins 6, 8 and 10 (GND, GPIO14, = GPIO15) on a Pi or CM board. Then use screen on linux or a Mac or putty on windows to connect to the = serial. Setup your serial to receive at 115200-8-N-1, and then boot your Pi / = Compute module. You should get an immediate serial output from the = device as bootcode.bin runs. END QUOTE That text is from: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From nobody Thu Oct 28 00:02:27 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B4715181283D for ; Thu, 28 Oct 2021 00:02:44 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-22.consmr.mail.gq1.yahoo.com (sonic310-22.consmr.mail.gq1.yahoo.com [98.137.69.148]) (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 4Hfm371DWcz4RYr for ; Thu, 28 Oct 2021 00:02:43 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635379356; bh=Mx5SPrV1Tz1c0phX10uDuKNaZq7isMB2og2LvttUG6Y=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=abAI1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HIrlDy9A X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Thu, 28 Oct 2021 00:02:36 +0000 Received: by kubenode523.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 52c012b39fcdc7a1a043d8477cae54a6; Thu, 28 Oct 2021 00:02:30 +0000 (UTC) Content-Type: text/plain; charset=utf-8 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Troubles booting Pi2 from USB using bootcode.bin method In-Reply-To: <41C0A656-D898-4381-BB81-034D54CA04A0@yahoo.com> Date: Wed, 27 Oct 2021 17:02:27 -0700 Cc: Free BSD , freebsd-ports@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <02806205-6685-41FD-B2D1-415C82FBCF92@yahoo.com> References: <20211025034332.GA8398@www.zefox.net> <20211027162852.GA16010@www.zefox.net> <41C0A656-D898-4381-BB81-034D54CA04A0@yahoo.com> To: bob prohaska X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4Hfm371DWcz4RYr X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=abAI1Vo7; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.148 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-1.50 / 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.69.148: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.00)[-1.000]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(1.00)[0.997]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.148:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; 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/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-arm X-Original-From: Mark Millard X-ThisMailContainsUnwantedMimeParts: N On 2021-Oct-27, at 15:37, Mark Millard wrote: > On 2021-Oct-27, at 10:39, Mark Millard wrote: >=20 >> On 2021-Oct-27, at 09:28, bob prohaska wrote: >>=20 >>> On Sun, Oct 24, 2021 at 08:43:32PM -0700, bob prohaska wrote: >>>> I've got an early Pi2B (not plus) that has been booting reliably >>>> from a USB2 disk connected via a USB3 hub using just bootcode.bin >>>> and timeout on the DOS partition of the microSD card. >>>>=20 >>> It turns out the USB3 disk boots normally _provided_ the old >>> USB2 disk remains connected. I didn't try that initially both >>> because I didn't need both disks and because the boot order=20 >>> couldn't be obviously controlled.=20 >>>=20 >>> It turns out the new disk is discovered first and boots as=20 >>> desired, so the system is busy building an up-to-date world >>> and kernel. There's room for a ports tree on this disk. >>>=20 >>> Does the ports version of u-boot include support for the >>> bootcode.bin-only mode of USB booting? >>=20 >> Before U-Boot is involved there are other files involved >> such as a start* file from the USB device. With appropriate >> config.txt content, and possibly other settings, the boot >> is likely rather explicit about its early activity. (But I >> do not currently have access to a RPi2B v1.1 or earlier to >> test the details on. In fact, the accessible only RPi*'s >> are RPi4B 8 GiByte ones.) >>=20 >> (I wondered if you meant RPi3B: To my knowledge there is >> no such thing as a RPi2B+ so the "plus" reference suggests >> an early RPi3B might have been what was involved.) >>=20 >>> Right now I'm using >>> the version of bootcode.bin offered at=20 >>> = https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#spec= ial-bootcode-bin-only-boot-mode >>>=20 >>> Without having the USB2 disk connected the serial console hangs >>> with what looks like "cb" as the only output. It's unclear if >>> u-boot is starting at all. The red and green LEDs remain lit, >>> seemingly indefinitely.=20 >>>=20 >>=20 >=20 > Your specific path may be different, but what does a command > analogous to the below show for you for the problematical > context? >=20 > # strings /boot/efi/start.elf | grep "VC_BUILD_" > VC_BUILD_ID_USER: dom > VC_BUILD_ID_TIME: 12:12:09 > VC_BUILD_ID_VARIANT: start > VC_BUILD_ID_TIME: Feb 25 2021 > VC_BUILD_ID_BRANCH: bcm2711_2 > VC_BUILD_ID_HOSTNAME: buildbot > VC_BUILD_ID_PLATFORM: raspberrypi_linux > VC_BUILD_ID_VERSION: 564e5f9b852b23a330b1764bcf0b2d022a20afd0 (clean) >=20 > I'll note that there is: >=20 > QUOTE > bootcode.bin UART Enable >=20 > NOTE > For boards pre-Raspberry Pi 4, Model B. > For information on enabling the UART on the Pi4 bootloader, please see = this page. >=20 > It is possible to enable an early stage UART to debug booting issues = (useful with the above bootcode.bin only boot mode). To do this, make = sure you=E2=80=99ve got a recent version of the firmware (including = bootcode.bin). To check if UART is supported in your current firmware: >=20 > strings bootcode.bin | grep BOOT_UART >=20 > To enable UART from bootcode.bin use: >=20 > sed -i -e "s/BOOT_UART=3D0/BOOT_UART=3D1/" bootcode.bin >=20 > Next, connect a suitable USB serial cable to your host computer (a = Raspberry Pi will work, although I find the easiest path is to use a USB = serial cable since it=E2=80=99ll work out the box without any pesky = config.txt settings). Use the standard pins 6, 8 and 10 (GND, GPIO14, = GPIO15) on a Pi or CM board. >=20 > Then use screen on linux or a Mac or putty on windows to connect to = the serial. >=20 > Setup your serial to receive at 115200-8-N-1, and then boot your Pi / = Compute module. You should get an immediate serial output from the = device as bootcode.bin runs. > END QUOTE >=20 > That text is from: >=20 > https://www.raspberrypi.com/documentation/computers/raspberry-pi.html >=20 For more debug information on the serial console, but somewhat later in the sequence than the output for BOOT_UART=3D1, config.txt can contain: enable_uart=3D1 uart_2ndstage=3D1 dtdebug=3D1 The debug output is before U-Boot starts but likely does indicate the = loading of u-boot.bin (as the kernel) and when in the sequence it is about to start code in u-boot.bin . (It may also report more at shutdown.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From nobody Thu Oct 28 01:14:51 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6B60A18157BF for ; Thu, 28 Oct 2021 01:15:08 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-8.consmr.mail.gq1.yahoo.com (sonic308-8.consmr.mail.gq1.yahoo.com [98.137.68.32]) (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 4Hfnfg1X23z4sFr for ; Thu, 28 Oct 2021 01:15:07 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635383700; bh=+qDuRfUCk/F42cYtB+3eFpaZilfWUmPmnBkxd2DUD/g=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=goj07jthfZ1Ty4MVm4dGmSDgFAsN64MyUmkiDWShb+xfG/pFpXOMvEoehvAeRYG+fJUvrdFA/IvbGJUagARTikUbeCNpHh5oLg5VEVgecQ1tpWjfYzcovYcBA0nv1k6KkcGk9kHVvTkDAyPREWOuRrwjffpCh1o3JlwzqjYu9BrzyEQNZ+vSIsAB/s4qQNxatOm+6sw0ph+Sk5elcOdgeQv6iy85mJfTxShGpAiIAB5kdGfBSxHnhoPfV6EBk3WNloURupEO8Zs+JOzGK1TSDzSbnfBKDFwboiXfZxH21Rxu2QgM12LAY3R86zEGj2WQyzbZDgKame2aluQg/+NkVA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635383700; bh=KPzeENky0XAw4bGmnskvvv0/5WDaJOVTFh2h077dpFS=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=E8lLd+6ND5OAFwXxyY4bJIQmgcsPfnXCLqyNwi5bt+/+13cEhroINP1czWobO/9hE+12NJzBF8KH6xuMTi4YGY/lot8Yygx4ciQZAXnE3Z//CgeFuRXuHOX9GWVsVUDylvT3GQMkETuX6nZwf82M2nmKS41VaVVWLovjULuGH8rhwyqfJxKjgKRB+Vj6wirvng5zOQkwyDIRVCGcN8AVUA7K1uPEfBVxf3ycSS8ypiAOir1OeF9ot+O7hOx66/u/MN8vzpM1KCNKdoWv3aaaw4ynNWaMpWEbWI0bWVyPWZtCdP9EyWDNkJgp1fIkqA0o22n+nW5eHGtYMjL88tgfgA== X-YMail-OSG: BPQ9cfwVM1nEho80Jlb0NPZuR4zurIEPNFrjSVXcv_cQR3oskPTC70x3dDVX3tj QLP9AgkMDQ4_Jt7jpeLX8ws3S5j8iyL.eTbpVYvI2kqH9_mdcsBZX7DX8zF41v58llA42297J2KW U7fiNkAIFGUUrE.0fIpfS4bPBqm3xqBMlOKJwe8oHhXJMnRDqdJY7iyVY5Xn9sSpxCZZAx39LPYZ 8R5g6dncJ0PL.cKhTZW8IhpscJO6BngGY8QEw2r2rbCXFGua.xDZ2537TLBeu1k5EwiB4rFHBchB iKbaf3MIR48oHSXm5GCfwaEo_OAE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ka8lBBM5Hd.mxdNWiETccxCqRbnAN31_nci JrdA3Q2jElAP65nblvd8QCUx1INroQ5fkkGFT6piLSCN1hsJJux92m0Hoi8M0z3dSCpEO.02pLxZ UddRYQao.BMgyGijMxx5gN.e4UNQs8IqMY7aXxJbieyYfZsTGY7reXiW1husg0l89abS4fADNr1W sFlUFtln1XzYuopOo7F7pXdNrVHd2twZHLTHPkg2aDyb1AUE.FqvwCBA5KGjTLIHHM3URqpY.q2F xxDJAlvnaEYcwRiNx9yjlcYWGLSwFMrjMnITsGkvgQBQpcdSH.uLgyGd6NGFInY9hNbVuqoHjjXL GehSpqYxkClHVDb4D8zmXa1U8y58koQ3q0so6uxRtWOy8vD_OV1bIYFn4s9ERGcfLjDllF0Po8bx 0iIX5nva2Y6BQGvwnZ9GmH8Nw8e73ZBX7pxxUCEKmJdVU_cJlXv3g6SXtciMNRO6Qf4tN9Xq..VY UdZSRBvc75vAkb.kNasnQUA_.uvPT5acIZb_HuxmwDqpqCEDlCG8IgB_tVK9S4__hF1mZs3uHh9n ZfTtu5UX1ACV.6HjSXB0uo1s4d.CEIQHdGnICo5NqvvJaAV8Mvx8yYE7_0VMX0t2UlG7QHSVxJnc BXcCbfFY_MIxS3ZplKhYu9.iNXaoFRjqtux8c47i2yZmGxh8NwwwPDCGCwSy1MKXB5JdG1wBlxl. uXpnPuuLXeko6SDW5_qRE4xC0IroWfKviNv0rf2AzzAsRleKcARetw_wt8fIAH1GxwyhgXYUITw5 XkiQ8LgmATKF0uBZsNBIe_ls_S5bswigxM7iIjsZbdt9JfBL9OC0K58qchPeC_oYLQZlXf4gukK_ 39J1HTnSaenIJ9Jqu7LJZlRDGBdjZfjQ65ur8E0aIcVrEKjyBIyPylQ4VNxeN1BKlPlAyyhhyLVE OAzy9U9hTiNuqbVTNvYuNWsA- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Thu, 28 Oct 2021 01:15:00 +0000 Received: by kubenode522.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 28ea884eae256550c3de9bf1b69b6f35; Thu, 28 Oct 2021 01:14:54 +0000 (UTC) Content-Type: text/plain; charset=utf-8 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Troubles booting Pi2 from USB using bootcode.bin method In-Reply-To: <02806205-6685-41FD-B2D1-415C82FBCF92@yahoo.com> Date: Wed, 27 Oct 2021 18:14:51 -0700 Cc: Free BSD , freebsd-ports@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20211025034332.GA8398@www.zefox.net> <20211027162852.GA16010@www.zefox.net> <41C0A656-D898-4381-BB81-034D54CA04A0@yahoo.com> <02806205-6685-41FD-B2D1-415C82FBCF92@yahoo.com> To: bob prohaska X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4Hfnfg1X23z4sFr X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=goj07jth; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.68.32 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.46 / 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.68.32: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.00)[-1.000]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.32:from]; NEURAL_HAM_SHORT(-0.96)[-0.964]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; 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/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-arm X-Original-From: Mark Millard X-ThisMailContainsUnwantedMimeParts: N On 2021-Oct-27, at 17:02, Mark Millard wrote: On 2021-Oct-27, at 15:37, Mark Millard wrote: > On 2021-Oct-27, at 10:39, Mark Millard wrote: >=20 >> On 2021-Oct-27, at 09:28, bob prohaska wrote: >>=20 >>> On Sun, Oct 24, 2021 at 08:43:32PM -0700, bob prohaska wrote: >>>> I've got an early Pi2B (not plus) that has been booting reliably >>>> from a USB2 disk connected via a USB3 hub using just bootcode.bin >>>> and timeout on the DOS partition of the microSD card. >>>>=20 >>> It turns out the USB3 disk boots normally _provided_ the old >>> USB2 disk remains connected. I didn't try that initially both >>> because I didn't need both disks and because the boot order=20 >>> couldn't be obviously controlled.=20 >>>=20 >>> It turns out the new disk is discovered first and boots as=20 >>> desired, so the system is busy building an up-to-date world >>> and kernel. There's room for a ports tree on this disk. >>>=20 >>> Does the ports version of u-boot include support for the >>> bootcode.bin-only mode of USB booting? >>=20 >> Before U-Boot is involved there are other files involved >> such as a start* file from the USB device. With appropriate >> config.txt content, and possibly other settings, the boot >> is likely rather explicit about its early activity. (But I >> do not currently have access to a RPi2B v1.1 or earlier to >> test the details on. In fact, the accessible only RPi*'s >> are RPi4B 8 GiByte ones.) >>=20 >> (I wondered if you meant RPi3B: To my knowledge there is >> no such thing as a RPi2B+ so the "plus" reference suggests >> an early RPi3B might have been what was involved.) >>=20 >>> Right now I'm using >>> the version of bootcode.bin offered at=20 >>> = https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#spec= ial-bootcode-bin-only-boot-mode >>>=20 >>> Without having the USB2 disk connected the serial console hangs >>> with what looks like "cb" as the only output. It's unclear if >>> u-boot is starting at all. The red and green LEDs remain lit, >>> seemingly indefinitely.=20 >>>=20 >>=20 >=20 > Your specific path may be different, but what does a command > analogous to the below show for you for the problematical > context? >=20 > # strings /boot/efi/start.elf | grep "VC_BUILD_" > VC_BUILD_ID_USER: dom > VC_BUILD_ID_TIME: 12:12:09 > VC_BUILD_ID_VARIANT: start > VC_BUILD_ID_TIME: Feb 25 2021 > VC_BUILD_ID_BRANCH: bcm2711_2 > VC_BUILD_ID_HOSTNAME: buildbot > VC_BUILD_ID_PLATFORM: raspberrypi_linux > VC_BUILD_ID_VERSION: 564e5f9b852b23a330b1764bcf0b2d022a20afd0 (clean) >=20 > I'll note that there is: >=20 > QUOTE > bootcode.bin UART Enable >=20 > NOTE > For boards pre-Raspberry Pi 4, Model B. > For information on enabling the UART on the Pi4 bootloader, please see = this page. >=20 > It is possible to enable an early stage UART to debug booting issues = (useful with the above bootcode.bin only boot mode). To do this, make = sure you=E2=80=99ve got a recent version of the firmware (including = bootcode.bin). To check if UART is supported in your current firmware: >=20 > strings bootcode.bin | grep BOOT_UART >=20 > To enable UART from bootcode.bin use: >=20 > sed -i -e "s/BOOT_UART=3D0/BOOT_UART=3D1/" bootcode.bin That is a linux sed command for use on RaspiOS*'s and the like. In particular, for FreeBSD: -i extension Edit files in-place similarly to -I, but treat each file independently from other files. In particular, line = numbers in each file start at 1, the =E2=80=9C$=E2=80=9D address = matches the last line of the current file, and address ranges are limited to the = current file. (See Sed Addresses.) The net result is as though = each file were edited by a separate sed instance. In other words: the "extension" is not optional after -i if I understand right for FreeBSD. >=20 > Next, connect a suitable USB serial cable to your host computer (a = Raspberry Pi will work, although I find the easiest path is to use a USB = serial cable since it=E2=80=99ll work out the box without any pesky = config.txt settings). Use the standard pins 6, 8 and 10 (GND, GPIO14, = GPIO15) on a Pi or CM board. >=20 > Then use screen on linux or a Mac or putty on windows to connect to = the serial. >=20 > Setup your serial to receive at 115200-8-N-1, and then boot your Pi / = Compute module. You should get an immediate serial output from the = device as bootcode.bin runs. > END QUOTE >=20 > That text is from: >=20 > https://www.raspberrypi.com/documentation/computers/raspberry-pi.html >=20 For more debug information on the serial console, but somewhat later in the sequence than the output for BOOT_UART=3D1, config.txt can contain: enable_uart=3D1 uart_2ndstage=3D1 dtdebug=3D1 The debug output is before U-Boot starts but likely does indicate the = loading of u-boot.bin (as the kernel) and when in the sequence it is about to start code in u-boot.bin . (It may also report more at shutdown.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From nobody Thu Oct 28 14:19:05 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2E3681838A0C for ; Thu, 28 Oct 2021 14:19:06 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hg73G0cfkz3Nck for ; Thu, 28 Oct 2021 14:19:06 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.nyi.freebsd.org (portscout.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E92C024F61 for ; Thu, 28 Oct 2021 14:19:05 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.nyi.freebsd.org ([127.0.1.10]) by portscout.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id 19SEJ506040055 for ; Thu, 28 Oct 2021 14:19:05 GMT (envelope-from portscout@FreeBSD.org) Received: (from portscout@localhost) by portscout.nyi.freebsd.org (8.15.2/8.15.2/Submit) id 19SEJ5kW040054; Thu, 28 Oct 2021 14:19:05 GMT (envelope-from portscout@FreeBSD.org) Message-Id: <202110281419.19SEJ5kW040054@portscout.nyi.freebsd.org> X-Authentication-Warning: portscout.nyi.freebsd.org: portscout set sender to portscout@FreeBSD.org using -f Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Date: Thu, 28 Oct 2021 14:19:05 +0000 From: portscout@FreeBSD.org To: ports@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 X-ThisMailContainsUnwantedMimeParts: N Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/ports@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ java/apache-commons-cli | 1.4 | 1.5.0 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt Reported by: portscout! From nobody Thu Oct 28 19:16:35 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C79D0182C29A; Thu, 28 Oct 2021 19:16:43 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HgFff390kz3D5w; Thu, 28 Oct 2021 19:16:42 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.16.1/8.15.2) with ESMTPS id 19SJGZPj019616 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 28 Oct 2021 12:16:36 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.16.1/8.15.2/Submit) id 19SJGZNU019615; Thu, 28 Oct 2021 12:16:35 -0700 (PDT) (envelope-from fbsd) Date: Thu, 28 Oct 2021 12:16:35 -0700 From: bob prohaska To: freebsd-arm@freebsd.org Cc: bob prohaska , freebsd-ports@freebsd.org Subject: Re: Troubles booting Pi2 from USB using bootcode.bin method Message-ID: <20211028191635.GA19540@www.zefox.net> References: <20211025034332.GA8398@www.zefox.net> <20211027162852.GA16010@www.zefox.net> <41C0A656-D898-4381-BB81-034D54CA04A0@yahoo.com> <02806205-6685-41FD-B2D1-415C82FBCF92@yahoo.com> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4HgFff390kz3D5w X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [0.90 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_WWW(0.50)[] X-ThisMailContainsUnwantedMimeParts: N To make a clean start on this thread I've turned on the UART for bootcode.bin per Mark's instructions and done a few boot attempts with the USB2 and USB3 mechanical disks, singly and in unison. The bootlogs are in http://www.zefox.net/~fbsd/rpi2/bootproblems/ An immediate curiosity is that on the first try, booting with the USB3 device alone worked. I didn't record that output, unfortunately. The second attempt failed, as expected, and is recorded in bootlog-fail. The third attempt booted both USB2 and USB3 disks together, recorded in bootlog.success. I'm trying to build u-boot-rpi2 and will try to update the USB3 disk with it once complete. The actual boot sequence using bootcode.bin is still a bit hazy: Is it microSD/dos -> USB/dos ->USB/freebsd ? Thanks for reading! bob prohaska From nobody Thu Oct 28 22:21:55 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 321F018309BE for ; Thu, 28 Oct 2021 22:22:05 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-21.consmr.mail.ne1.yahoo.com (sonic315-21.consmr.mail.ne1.yahoo.com [66.163.190.147]) (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 4HgKmX6wBcz4qsK for ; Thu, 28 Oct 2021 22:22:04 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635459717; bh=C5tzM9BptuIk0iCp4Jc++OwzKotXGTSxLaXeQxbQZtg=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=pTsND1Po6ThHyotg3UpaIIGGBMe9n6Vw8xIdphgfJUBN83qRNeLP8QNlT7VteEUMv22zesaBWzV1yGsH6BhabXm4ome3qN08/7yhp6p08disH6gBrYFfa0c9HxALxaSay5Dpg3Aehy7wo2aOiRVghg6zh6AP98vzimR3DoN2S13xFabUSfiTE+P9r7oizObUqykY/BsFRL58z4fBxEI03Av72Z8/oLQPl/Yj6Q1/C+7ujYpy/JU8LCGr5uVz4c1xn6X7AL4x/JqEF34kPnS1UKmLH7w4/3oBBPLGGR5spzK4s5AIeKk4SSaYlmQ//DSphVmUdjaoWHnrPBMnLjXY+w== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635459717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ly6e8fUZEi 4Bce6EyMvmkdJYgwudiRFm954GvWdh.SdZe.WMz5NtLAs2_Dq7OOIVikZKcpURs3CFmRuU5ZsHIE d1gcWn5fdEmu7YxhWYv9lS2pb_XC6MJePn7TxCLeCXtGRBdG_ImGIBobCnJ0xLCjLd3ewlDZ_8L1 wjOWAa1DsZfBK_1oaDcJBz6s60xzYDe4lHNKuMLnYxX9.ZlVQsT_4seHsGs4k54ebvQFACOzJQcD 6TvKvf6i3LnJWyT8iyE3y_9bBP4AWTmWqJs1S7awOvYD_dqrpxz_uTgE1N1M6LxsRKHJN_klvHdy WEJTn8Tj.li5E.D5.BcUdorRRqB92mLKLIz20MYlDxx4p8xke43.MpXCr8c0K_t8xAKQy8Of38jP 8mTbPXnAczVS43TiRAB.nWYL6VHjqOLZnPD577MNjlNjWN5YlhYCISDUv8K9OTRU6ZxlMPD1qKJZ a8hNM5ueGtCOvViYXCyH9MLXD1_P3TErDmUwfMBkZyw4uFTzRBIJwKrvxU55j2zo4AJeptO93A9_ 1Izp86n6IZqGPJcgn6sHhWkosXB5XzRl7qOVUCGAKrZOUNg-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Thu, 28 Oct 2021 22:21:57 +0000 Received: by kubenode540.mail-prod1.omega.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 7634d3b9d11bfcbc3538e4cbe38a1cae; Thu, 28 Oct 2021 22:21:56 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Troubles booting Pi2 from USB using bootcode.bin method In-Reply-To: <20211028191635.GA19540@www.zefox.net> Date: Thu, 28 Oct 2021 15:21:55 -0700 Cc: Free BSD , freebsd-ports@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <7AC0733A-3FC9-4FA6-A6D7-0689A8ACB4CA@yahoo.com> References: <20211025034332.GA8398@www.zefox.net> <20211027162852.GA16010@www.zefox.net> <41C0A656-D898-4381-BB81-034D54CA04A0@yahoo.com> <02806205-6685-41FD-B2D1-415C82FBCF92@yahoo.com> <20211028191635.GA19540@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4HgKmX6wBcz4qsK X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-arm X-Original-From: Mark Millard X-ThisMailContainsUnwantedMimeParts: N On 2021-Oct-28, at 12:16, bob prohaska wrote: > To make a clean start on this thread I've turned on the UART > for bootcode.bin per Mark's instructions and done a few boot > attempts with the USB2 and USB3 mechanical disks, singly and > in unison. >=20 > The bootlogs are in > http://www.zefox.net/~fbsd/rpi2/bootproblems/ >=20 > An immediate curiosity is that on the first try, booting > with the USB3 device alone worked. I didn't record that > output, unfortunately. Hmm. Too bad. > The second attempt failed, as expected, > and is recorded in bootlog-fail. The third attempt booted both > USB2 and USB3 disks together, recorded in bootlog.success. The two logs do not have the same set of dtdebug messages for loading bcm2709-rpi-2-b.dtb . This is long before u-boot.bin is loaded and so is during the RPi* firmware time frame not u_Boot or FreeBSD;s loader or FreeBSD's kernel or FreeBSD's world. =46rom this I infer that there are two different msdosfs's wtith differing content on the 2 drives and when both drives are in place . You have not reported on the following for either drive's msdosfs : # strings ???/start.elf | grep "VC_BUILD_" Another thing of interest would be something like (both msdosfs mounts): # diff -rq ... ... in order to see what files have distinctions on the two media. A diff of the two config.txt files would be relevant (no -q involvement). > I'm trying to build u-boot-rpi2 and will try to update the USB3 > disk with it once complete.=20 >=20 > The actual boot sequence using bootcode.bin is still a bit hazy: > Is it microSD/dos -> USB/dos ->USB/freebsd ?=20 >=20 Based on the log file for success the ordering is bootcode.bin from the microsd card config.txt (also re-read multiple times later, not listed) start.elf fixup.dat bcm2709-rpi-2-b.dtb overlays/mmc.dtbo cmdline.txt (if it exists) u-boot.bin efi/boot/bootarm.efi efi/freebsd/loader.env /boot/defaults/loader.conf /boot/device.hints /boot/loader.conf /boot/loader.conf.local /boot/boot/kernel /boot/kernel/fi.lemon.ko /boot/kernel/umodem.ko FreeBSD world However the failing one has the following involved (I omit various lines): . . . Loading 'bcm2709-rpi-2-b.dtb' to 0x100 size 0x6879 Unknown dtparam 'pwr_led_gpio' - ignored dterror: no symbols found dtdebug: /__overrides__ node not found Unknown dtparam 'uart0_clkrate' - ignored dtdebug: Opened overlay file 'overlays/mmc.dtbo' brfs: File read: /mfs/sd/overlays/mmc.dtbo dterror: not a valid FDT - err -9 . . . That seqeunce makes no mention of: "using platform 'bcm2835'" and the like. An example is: "found override pwr_led_gpio". Again, all this looks like tehre are two msdosfs involved and the two are not the same by content. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From nobody Thu Oct 28 23:53:29 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 193CF18365AB for ; Thu, 28 Oct 2021 23:53:42 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-22.consmr.mail.ne1.yahoo.com (sonic303-22.consmr.mail.ne1.yahoo.com [66.163.188.148]) (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 4HgMpD67tdz3ntM for ; Thu, 28 Oct 2021 23:53:40 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635465214; bh=FDfXuE8A4EsKOgolKABu1P/erUpNVODCwBunoAd13h4=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=kjz+dTFFrGP4MjqfV72I/noEeWt6wp664uYg05ClrOTm5qPF968lByC4C0F4oiYYSLN8EmJefZqNaqgj6Iue+rehwB4wMdDjdX1Vb+xlO5xJS1WQPT4XgWSw+vPzZ/UbYfRiGj8s93bO+vh38AttEBxoPJqJ/7depDZw13M7Y6tsbo+hSeZoaaSM4/Yf/CrzT22/nyCl0XFdz4At3oYfrmrITZynOFB44Jf6KNfajNKr4gkW9EgxhyDNlNLicDU32BPD96TZXolRWQJoraNpk9DdDO5vz4zOVoCEnv/ZqXzcWUn06OwUFm68Jwzwq2V0bA0KyxWagYKOPOTxmG5CWQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635465214; bh=XmZuZjBIh0X/o5rcAZrl1KBRsQTkTxL7liFZY0HyfsK=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=nXVhBRai/ZtfQInQfOJXfGiDga73owJFDs+km2ZI+bPmt1tVu4i8H6sSwe2lUqy8tzzcNYYGfhaTsu/WSaenzEq2oVCDnC8966RI8J6xyXvDMTvE2iUf9iU2ya/MvGdjS8UCqhHoq1n6AiVs2cEhkh41DZxxv2c7e2HyISaS5grhnbi6+CEQmHYtxpLumOv2P7czjh3+RJlPa+hrjQWjoubErGsEBFxicoKdqK2cumVBRBhl+UDSn4wAzOQA99xfxmUZmrhM9pjSZi1BNZFbSrOtB2CqjnhONg/3whxkTbOjJ1SdkUOmbaxB7i9woREu+TNl+hZiUoTo7d9dze2FEg== X-YMail-OSG: Z.EtKO0VM1lo5F5uduXOP68W_O79.jldVLyzN4y6_5C_UMKeTlqvKDNhcTI4JiH y9p.d4D4IC_NO_yX1J6EGS3_Nu2U126icuC9TVpCbwfYdPX4_z1IzJO5PAyI6e.5LLfWYMSj6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4B5xOHkzdrkkMBoUff9q9Af48MYksCm1IeCFAREIIxIlpElFidVlgBHo75_0Oj 22azS.Jx2kfB7Y5Byoi_mbA-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Thu, 28 Oct 2021 23:53:34 +0000 Received: by kubenode550.mail-prod1.omega.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID a91a703acdce3fccf8a2d4dc1f6729fc; Thu, 28 Oct 2021 23:53:30 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Troubles booting Pi2 from USB using bootcode.bin method In-Reply-To: <7AC0733A-3FC9-4FA6-A6D7-0689A8ACB4CA@yahoo.com> Date: Thu, 28 Oct 2021 16:53:29 -0700 Cc: Free BSD , freebsd-ports@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: <20211025034332.GA8398@www.zefox.net> <20211027162852.GA16010@www.zefox.net> <41C0A656-D898-4381-BB81-034D54CA04A0@yahoo.com> <02806205-6685-41FD-B2D1-415C82FBCF92@yahoo.com> <20211028191635.GA19540@www.zefox.net> <7AC0733A-3FC9-4FA6-A6D7-0689A8ACB4CA@yahoo.com> To: bob prohaska X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4HgMpD67tdz3ntM X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=kjz+dTFF; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 66.163.188.148 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 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)[66.163.188.148: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.00)[-1.000]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[66.163.188.148:from]; NEURAL_HAM_SHORT(-1.00)[-0.996]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-arm X-Original-From: Mark Millard X-ThisMailContainsUnwantedMimeParts: N On 2021-Oct-28, at 15:21, Mark Millard wrote: > On 2021-Oct-28, at 12:16, bob prohaska wrote: > >> To make a clean start on this thread I've turned on the UART >> for bootcode.bin per Mark's instructions and done a few boot >> attempts with the USB2 and USB3 mechanical disks, singly and >> in unison. >> >> The bootlogs are in >> http://www.zefox.net/~fbsd/rpi2/bootproblems/ >> >> An immediate curiosity is that on the first try, booting >> with the USB3 device alone worked. I didn't record that >> output, unfortunately. > > Hmm. Too bad. > >> The second attempt failed, as expected, >> and is recorded in bootlog-fail. The third attempt booted both >> USB2 and USB3 disks together, recorded in bootlog.success. > > The two logs do not have the same set of dtdebug messages > for loading bcm2709-rpi-2-b.dtb . This is long before > u-boot.bin is loaded and so is during the RPi* firmware > time frame not u_Boot or FreeBSD;s loader or FreeBSD's kernel > or FreeBSD's world. > > From this I infer that there are two different msdosfs's > wtith differing content on the 2 drives and when both > drives are in place . > > You have not reported on the following for either drive's > msdosfs : > > # strings ???/start.elf | grep "VC_BUILD_" > > Another thing of interest would be something like (both > msdosfs mounts): > > # diff -rq ... ... > > in order to see what files have distinctions on the > two media. A diff of the two config.txt files would be > relevant (no -q involvement). > > >> I'm trying to build u-boot-rpi2 and will try to update the USB3 >> disk with it once complete. >> >> The actual boot sequence using bootcode.bin is still a bit hazy: >> Is it microSD/dos -> USB/dos ->USB/freebsd ? >> > > Based on the log file for success the ordering is > > bootcode.bin from the microsd card > config.txt (also re-read multiple times later, not listed) > start.elf > fixup.dat > bcm2709-rpi-2-b.dtb > overlays/mmc.dtbo > cmdline.txt (if it exists) > u-boot.bin > efi/boot/bootarm.efi > efi/freebsd/loader.env > /boot/defaults/loader.conf > /boot/device.hints > /boot/loader.conf > /boot/loader.conf.local > /boot/boot/kernel > /boot/kernel/fi.lemon.ko > /boot/kernel/umodem.ko > FreeBSD world > > > However the failing one has the following involved > (I omit various lines): > > . . . > Loading 'bcm2709-rpi-2-b.dtb' to 0x100 size 0x6879 > Unknown dtparam 'pwr_led_gpio' - ignored > dterror: no symbols found > dtdebug: /__overrides__ node not found > Unknown dtparam 'uart0_clkrate' - ignored > dtdebug: Opened overlay file 'overlays/mmc.dtbo' > brfs: File read: /mfs/sd/overlays/mmc.dtbo > dterror: not a valid FDT - err -9 > . . . > > That seqeunce makes no mention of: "using platform 'bcm2835'" > and the like. An example is: "found override pwr_led_gpio". > > Again, all this looks like tehre are two msdosfs involved and > the two are not the same by content. > Another possibility is that you have more in the microsd card's msdosfs than just bootcode.bin so that that microsd card might be the source of alternative files. (That makes up to 3 media that might be sources of files.) === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From nobody Fri Oct 29 12:11:01 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0B211183D7C5 for ; Fri, 29 Oct 2021 12:11:20 +0000 (UTC) (envelope-from peo@nethead.se) Received: from ns1.nethead.se (ns1.nethead.se [5.150.237.139]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ns1.nethead.se", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hgh9L60g6z4RQP; Fri, 29 Oct 2021 12:11:18 +0000 (UTC) (envelope-from peo@nethead.se) X-Virus-Scanned: amavisd-new at Nethead AB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nethead.se; s=NETHEADSE; t=1635509470; bh=n1FjQmVKncI/EgIyLJsD77bupztodLAvlVUvC1vPUgg=; h=Date:Subject:From:To:References:In-Reply-To; b=bUtHir2K+Clvrz9vBDAkWv+dXDTT8nkJokqMeowN6J5/EsN1TwvWf62/r73R7LGvM rxOvXckypVcCNBZH0P2vyVD/rVdroyKbRz2BRQh2DB41BBTRuTCMC4D4DHUtwvr56J VXaiEipWXkH/xROTG092nnFNOctjNXOnBm7418qA= Message-ID: Date: Fri, 29 Oct 2021 14:11:01 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: deskutils/nextcloudclient Cannot connect securely to Content-Language: en-US From: Per olof Ljungmark To: Guido Falsi , ports@FreeBSD.org References: <8c393a71-78fc-c057-2be7-37fc551e630d@nethead.se> In-Reply-To: <8c393a71-78fc-c057-2be7-37fc551e630d@nethead.se> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Hgh9L60g6z4RQP X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nethead.se header.s=NETHEADSE header.b=bUtHir2K; dmarc=pass (policy=none) header.from=nethead.se; spf=pass (mx1.freebsd.org: domain of peo@nethead.se designates 5.150.237.139 as permitted sender) smtp.mailfrom=peo@nethead.se X-Spamd-Result: default: False [-4.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[nethead.se:s=NETHEADSE]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:5.150.237.139]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; DKIM_TRACE(0.00)[nethead.se:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[nethead.se,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8473, ipnet:5.150.192.0/18, country:SE]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[5.150.237.139:from] X-ThisMailContainsUnwantedMimeParts: N On 10/25/21 16:22, Per olof Ljungmark wrote: > On 10/25/21 09:51, Guido Falsi wrote: >> On 25/10/21 08:14, Per olof Ljungmark wrote: >>> FreeBSD 12-STABLE from Oct 15 >>> nextcloudclient 3.3.5 >>> >>> I get popup messages from the client stating "Untrusted Certificate >>> Cannot connect securely to [server-name]". >>> >>> Browser access to the server is fine, no errors. >>> >>> Using truss, it seems it looks for and finds >>> fstatat(AT_FDCWD,"/etc/ssl/certs//2e5ac55d.0",{ mode=-r--r--r-- >>> ,inode=192371,size=4665,blksize=5120 },0x0) = 0 (0x0) >>> open("/etc/ssl/certs//2e5ac55d.0",O_RDONLY,0666) = 106535 (0x1a027) >>> >>> But 2e5ac55d.0 (DST_Root_CA_X3.pem) has expired. >>> >>> It also looks for 8d33f237.0, but it does not exist: >>> fstatat(AT_FDCWD,"/etc/ssl/certs//8d33f237.0",0x7fffdf5f70a0,0x0) >>> ERR#2 'No such file or directory' >>> >>> How do I convince it to instead look for 4042bcee.0 which is the >>> ISRG_Root_X1.pem used by Letsencrypt? >> >> Ref: >> https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/ >> >> What version of openssl are you using? versions before 1.1.0 show this >> behavior. >> >> Maybe a possible workaround is to manually remove the expired >> certificate from the list of trusted ones. >> >> I guess you are using the ones installed by security/ca_root_nss, in >> which case you'll need to modify their list. >> > > Deleting the link /etc/ssl/certs did the trick it see,s, no more popups > since an hour. > > Still wondering why this happens though... > As a final note, I just updated my laptop to latest 12-STABLE and nextcloudclient 3.3.5 and no problem with certificates. So the reason remains unknown but at least everything works as expected. Per From nobody Fri Oct 29 12:16:32 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4267B181817D for ; Fri, 29 Oct 2021 12:16:37 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HghHS5brpz4TCv; Fri, 29 Oct 2021 12:16:36 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 1fdd7752; Fri, 29 Oct 2021 12:16:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; s=20180501; bh=C1VGf0MEBjTmYl +XPJ9rD35esvI=; b=qb80FO/AFG3fzwYMtPrKiZp0JNvrbISRnDrZGwmexyZefP Y193simyk2EC6knJ27zkpsH3O2ymqd54gVCz/xx1HK3FSOsySE1km3Ys6d7+wXar 2ZVc9aAIIgbADAst7yFr8gral3EGIzwnjdMq/3M0WL2mllbkl6Wr3oHpvIUMW8j3 +fm3dE+q0eVAHjAoDDwqHbSHKMdZHm8XAcCUGd7xUlBsPgtauVh4hawvnWbkP012 MSnc+IE7+GaxTJoYnCrHWCZ5hjep3+YVo4GKrqJ8FJOnk6vFHwEvhEIdu+TPgKXw t2Tslh1ELBwYe4G7TvZpBYoLFocMn4FF1faSEhyA== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; q=dns; s=20180501; b=TEqI02NS en+DWdLqGGqG9pWRWDAh4bfEGqotJwC+hYJMuAZzpf9CP6aSuWlD5i4qXITL7kDP /IiwUiPGzXmQMc1atdpbN2VY5Th/SHFMsOrNxe2BFA+gJhzrsQ1p2NE81iWSnxv5 5MhD3heIZSbkaAeLe1S0rsg8obUTJRtZqWxp/0KmKOgfbca/eoigI+W9EmK1ahz+ 77rBjhzkYrXtIvxW6riwGnKPsCSJ9Yh6Zc04eLYWezfdlToWM6+1lsGU9Hy7NqtQ dYqR06cYgPL6xJBvVOsy9dHbTeJ/fqacjUxvlH0tjIj6KwsvqbT+QVW/0VKRGl7t 6P86f8UHxBOdCw== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 49a9b6a9 (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Fri, 29 Oct 2021 12:16:33 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (1.0) Subject: Re: deskutils/nextcloudclient Cannot connect securely to From: Michael Gmelin In-Reply-To: Date: Fri, 29 Oct 2021 14:16:32 +0200 Cc: Guido Falsi , ports@freebsd.org Message-Id: <7B941E4A-A66E-4B8A-B599-4F01492C8259@grem.de> References: To: Per olof Ljungmark X-Mailer: iPhone Mail (18F72) X-Rspamd-Queue-Id: 4HghHS5brpz4TCv X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N > On 29. Oct 2021, at 14:12, Per olof Ljungmark wrote: >=20 > =EF=BB=BFOn 10/25/21 16:22, Per olof Ljungmark wrote: >>> On 10/25/21 09:51, Guido Falsi wrote: >>> On 25/10/21 08:14, Per olof Ljungmark wrote: >>>> FreeBSD 12-STABLE from Oct 15 >>>> nextcloudclient 3.3.5 >>>>=20 >>>> I get popup messages from the client stating "Untrusted Certificate Can= not connect securely to [server-name]". >>>>=20 >>>> Browser access to the server is fine, no errors. >>>>=20 >>>> Using truss, it seems it looks for and finds >>>> fstatat(AT_FDCWD,"/etc/ssl/certs//2e5ac55d.0",{ mode=3D-r--r--r-- ,inod= e=3D192371,size=3D4665,blksize=3D5120 },0x0) =3D 0 (0x0) >>>> open("/etc/ssl/certs//2e5ac55d.0",O_RDONLY,0666) =3D 106535 (0x1a027) >>>>=20 >>>> But 2e5ac55d.0 (DST_Root_CA_X3.pem) has expired. >>>>=20 >>>> It also looks for 8d33f237.0, but it does not exist: >>>> fstatat(AT_FDCWD,"/etc/ssl/certs//8d33f237.0",0x7fffdf5f70a0,0x0) ERR#2= 'No such file or directory' >>>>=20 >>>> How do I convince it to instead look for 4042bcee.0 which is the ISRG_R= oot_X1.pem used by Letsencrypt? >>>=20 >>> Ref: https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-20= 21/ >>>=20 >>> What version of openssl are you using? versions before 1.1.0 show this b= ehavior. >>>=20 >>> Maybe a possible workaround is to manually remove the expired certificat= e from the list of trusted ones. >>>=20 >>> I guess you are using the ones installed by security/ca_root_nss, in whi= ch case you'll need to modify their list. >>>=20 >> Deleting the link /etc/ssl/certs did the trick it see,s, no more popups s= ince an hour. >> Still wondering why this happens though... >=20 > As a final note, I just updated my laptop to latest 12-STABLE and nextclou= dclient 3.3.5 and no problem with certificates. So the reason remains unknow= n but at least everything works as expected. >=20 This was certainly related to the letsencrypt issuing CA expiry (seen the sa= me on a nextcloud windows client). -m > Per From nobody Fri Oct 29 14:25:59 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 30162182C2B1 for ; Fri, 29 Oct 2021 14:26:00 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hgl8m0tRsz52TH for ; Fri, 29 Oct 2021 14:26:00 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.nyi.freebsd.org (portscout.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F31DC18CB1 for ; Fri, 29 Oct 2021 14:25:59 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.nyi.freebsd.org ([127.0.1.10]) by portscout.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id 19TEPxkP044339 for ; Fri, 29 Oct 2021 14:25:59 GMT (envelope-from portscout@FreeBSD.org) Received: (from portscout@localhost) by portscout.nyi.freebsd.org (8.15.2/8.15.2/Submit) id 19TEPxV3044338; Fri, 29 Oct 2021 14:25:59 GMT (envelope-from portscout@FreeBSD.org) Message-Id: <202110291425.19TEPxV3044338@portscout.nyi.freebsd.org> X-Authentication-Warning: portscout.nyi.freebsd.org: portscout set sender to portscout@FreeBSD.org using -f Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Date: Fri, 29 Oct 2021 14:25:59 +0000 From: portscout@FreeBSD.org To: ports@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 X-ThisMailContainsUnwantedMimeParts: N Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/ports@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ biology/phyml | 3.3.20200621 | v3.3.20211021 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt Reported by: portscout! From nobody Fri Oct 29 17:20:56 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B6599182C334 for ; Fri, 29 Oct 2021 17:21:00 +0000 (UTC) (envelope-from dan@langille.org) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hgq2g5m7cz4d4D for ; Fri, 29 Oct 2021 17:20:59 +0000 (UTC) (envelope-from dan@langille.org) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 26E6E3201F34 for ; Fri, 29 Oct 2021 13:20:58 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 29 Oct 2021 13:20:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=langille.org; h= subject:from:to:references:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=m hvGd8UJXHDXYgJiJQDg795/eRuKEFYVJh9B5+J9//s=; b=k1E/RBnKLokdvHgo8 sKs8vL5ispXrmS91fa36riGkBP4Fo1gtSgSM6RZU0b9R7P2MFss1WSSD8TqQaZYb E/yepUZZjbYUQoSG4FPQpwkvvpt829dSHXkayJDXgGg6SSjI2MVCeDbd6fZ+qiqM 9fsVE0bQRDMcZwBsU47HEWpiWrEr+iihDoSGBjcYTYxJXE1tlpgQCBqwMD8okRGY 4sdJzWC0jqJoEIpP8kAu/wjitNF8OlY90V4wZ+A41IYip5T+t+G3nlSuNupI+41h 3MWUEUzFT+guDjsuTcj24lZC7Od13/EhQAQ43nuhgvbwN553B+XomOG9tS1VyB83 mwcPw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=mhvGd8UJXHDXYgJiJQDg795/eRuKEFYVJh9B5+J9/ /s=; b=lsgQKsNItSZt+sjSVwRbXtKXcpyC6d5/1CZEuhqXDJu+6bjaOrQKwtph4 no6CCYiYaVSC501P/vXxO3JrYeZ2aQdnTg8GdjmZBTTTPUgZD1/hKQ+eb1laEmmF byvBZlpmbXlk70c3ZA1rKHsFDPaL55p8SpBYvWbnAGMs+1bc116CHsa8DQiN4BuX XFVpKOUOBdl5xTYc5knI9WbzTFxADu6FLR+CflQYa1aUitjMNJd+w5MpoE+cgOIt Ixavua23jzEebHpZiw/pvsUZwdFXAk/mQvg/EODm2ApWMirKE9NHWf1cwpu/nrQ5 lXQSoyafErV3N06v951slHgBI4ncA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdeghedguddtjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepuffhvfhfkffffgggjggtgfesth ekredttdefjeenucfhrhhomhepffgrnhcunfgrnhhgihhllhgvuceouggrnheslhgrnhhg ihhllhgvrdhorhhgqeenucggtffrrghtthgvrhhnpedvieegffelueevgfevudeihedthe duhedtleffhfdukefgvdeileekfeekleekffenucffohhmrghinhepfhhrvghshhhpohhr thhsrdhorhhgpdhgihhthhhusgdrtghomhdpfhhrvggvsghsugdrohhrghdpihhnrdhgrg hmvghsnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep uggrnheslhgrnhhgihhllhgvrdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 29 Oct 2021 13:20:57 -0400 (EDT) Subject: Re: broken UCL in pkg-message From: Dan Langille To: freebsd-ports References: <37aebcaf-625a-72c8-3f10-a9f9c1c4cd0c@langille.org> Message-ID: <5d436a7f-3fd6-9886-a24b-94e197bbe093@langille.org> Date: Fri, 29 Oct 2021 13:20:56 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:52.0) Gecko/20100101 PostboxApp/7.0.51 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 In-Reply-To: <37aebcaf-625a-72c8-3f10-a9f9c1c4cd0c@langille.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Hgq2g5m7cz4d4D X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=langille.org header.s=fm2 header.b="k1E/RBnK"; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=lsgQKsNI; dmarc=pass (policy=none) header.from=langille.org; spf=pass (mx1.freebsd.org: domain of dan@langille.org designates 64.147.123.24 as permitted sender) smtp.mailfrom=dan@langille.org X-Spamd-Result: default: False [-5.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[langille.org:s=fm2,messagingengine.com:s=fm1]; FREEFALL_USER(0.00)[dan]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.24]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[langille.org:+,messagingengine.com:+]; DMARC_POLICY_ALLOW(-0.50)[langille.org,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RWL_MAILSPIKE_POSSIBLE(0.00)[64.147.123.24:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.24:from] X-ThisMailContainsUnwantedMimeParts: N Dan Langille wrote on 10/25/21 6:08 PM: > Hello, > > I've been working on displaying the pkg-message information on > FreshPorts. [1] Part of this involves parsing the file via ucl_tool > (textproc/libucl) - along the way I have been finding broken pkg-message > files and fixing them. > > I have created a task[2] for myself to add a sanity check to FreshPorts > so committers get instant notification. [3] > > It might also be useful to have a pre-commit hook cover this. > > I could use help correctly the broken entries in the ports tree. I do > not have time to fix them myself. > > I can provide starting points: > > * use this search term on your search engine: site:freshports.org > "WARNING: The FreshPorts parser failed. ucl_tool failed. Please report > this" > * write a small shell script to find broken UCL > > I think the former is a short list, but will not find everything. > > The shell script is sort of like this: > > find /usr/ports -name pkg-message -exec another-script > > Where that other script does this: >  /usr/local/bin/ucl_tool --in FILE --format json > If [ $? <> 0] ;then >  #this one needs fixing > fi > > That should find most, but you also want to look for pkg-message.in > > I started this search through the cache: > > [aws-1-nginx01 dan ~] % sudo grep -rl 'The FreshPorts parser failed' > ~freshports/cache/ports/* > devel/kf5-solid > devel/kyua > games/shockolate > net/endlessh > net/py-wsdd > > The output has been modified to show just the category/port name. > > [1] - > https://news.freshports.org/2021/10/14/pkg-message-ucl-type-gives-_pkgmessage_ucl-found-a-type-is-it-not-prepared-for-array/ > > > [2] - https://github.com/FreshPorts/freshports/issues/345 > > [3] - > https://docs.freebsd.org/en/books/porters-handbook/keeping-up/#freshports I've created a script[4] which identifies about 35 ports[5] with invalid UCL. My plan: if the fix is obvious, commit the fix. I will bump PORTREVISION if the port is not complex (i.e. part of KDE). For complex ports, I will open a PR. cheers. [4] The script: [pkg01 dan ~/ports/head] % cat ~/bin/validate-pkg-message #!/bin/sh cd ~/ports/head FILES=`find -s . | grep pkg-message` for file in ${FILES} do /usr/local/bin/ucl_tool --format json --in ${file} > /dev/null 2>&1 if [ $? != 0 ] then echo $file fi done [pkg01 dan ~/ports/head] % [5] Which produces: ./audio/playumidi/pkg-message ./databases/ateam_mysql57_ldap_auth/files/pkg-message.in ./devel/awscli/files/pkg-message.in ./devel/schilybase/files/pkg-message.rscsi.in ./games/py-pychess/pkg-message ./games/shockolate/pkg-message ./graphics/appleseed/files/pkg-message.in ./lang/mecrisp-stellaris/pkg-message-aarch64 ./lang/php74/pkg-message.mod ./lang/php80/pkg-message.mod ./lang/pocl/pkg-message ./mail/mailman3/pkg-message ./multimedia/makemkv/pkg-message ./net/endlessh/files/pkg-message.in ./net-im/biboumi/files/pkg-message.in ./net-im/conduit/files/pkg-message.in ./net-im/ejabberd/files/pkg-message.in ./net-im/sshout/pkg-message ./security/dsvpn/files/pkg-message.in ./security/secpanel/files/pkg-message.in ./security/sssd/files/pkg-message.in ./security/wazuh-agent/pkg-message ./sysutils/rtsx-kmod/pkg-message ./www/fusionpbx/files/pkg-message ./www/madsonic/pkg-message-jetty ./www/madsonic/pkg-message-spacer ./www/madsonic/pkg-message-tomcat ./www/subsonic-standalone/files/pkg-message.in ./www/writefreely/files/pkg-message.in ./x11/nvidia-hybrid-graphics/files/pkg-message.in ./x11-toolkits/termit/files/pkg-message.in ./x11-wm/hs-xmonad/pkg-message ./x11-wm/leftwm/pkg-message ./x11-wm/nscde/pkg-message -- Dan Langille dan@langille.org From nobody Fri Oct 29 18:06:26 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6109A183EE63 for ; Fri, 29 Oct 2021 18:06:27 +0000 (UTC) (envelope-from indexbuild@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hgr372FxDz4sGS for ; Fri, 29 Oct 2021 18:06:27 +0000 (UTC) (envelope-from indexbuild@FreeBSD.org) Received: from portsindexbuild.nyi.freebsd.org (portsindexbuild.nyi.freebsd.org [IPv6:2610:1c1:1:606c::16:115c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 29A241BAF3 for ; Fri, 29 Oct 2021 18:06:27 +0000 (UTC) (envelope-from indexbuild@FreeBSD.org) Received: from portsindexbuild.nyi.freebsd.org ([127.0.1.8]) by portsindexbuild.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id 19TI6Qtw095379 for ; Fri, 29 Oct 2021 18:06:26 GMT (envelope-from indexbuild@portsindexbuild.nyi.freebsd.org) Received: (from indexbuild@localhost) by portsindexbuild.nyi.freebsd.org (8.15.2/8.15.2/Submit) id 19TI6QoJ095378 for ports@FreeBSD.org; Fri, 29 Oct 2021 18:06:26 GMT (envelope-from indexbuild) Date: Fri, 29 Oct 2021 18:06:26 GMT From: Ports Index build Message-Id: <202110291806.19TI6QoJ095378@portsindexbuild.nyi.freebsd.org> To: ports@FreeBSD.org Subject: INDEX build failed for 12.x X-ThisMailContainsUnwantedMimeParts: N List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org INDEX build failed with errors: Generating INDEX-12 - please wait..--- describe.accessibility --- --- describe.arabic --- --- describe.archivers --- --- describe.astro --- --- describe.audio --- --- describe.benchmarks --- --- describe.biology --- --- describe.cad --- --- describe.chinese --- --- describe.comms --- --- describe.converters --- --- describe.databases --- --- describe.deskutils --- --- describe.devel --- --- describe.dns --- --- describe.editors --- --- describe.emulators --- --- describe.finance --- --- describe.french --- --- describe.ftp --- [...] --- describe.print --- --- describe.russian --- --- describe.science --- --- describe.security --- --- describe.shells --- --- describe.sysutils --- --- describe.textproc --- --- describe.ukrainian --- --- describe.vietnamese --- --- describe.www --- --- describe.x11 --- --- describe.x11-clocks --- --- describe.x11-drivers --- --- describe.x11-fm --- --- describe.x11-fonts --- --- describe.x11-servers --- --- describe.x11-themes --- --- describe.x11-toolkits --- --- describe.x11-wm --- Done. make_index: /home/indexbuild/tindex/ports/cad/py-ocp: no entry for /home/indexbuild/tindex/ports/devel/py-lief Committers on the hook: arrowd@FreeBSD.org dvl@FreeBSD.org jbeich@FreeBSD.org nc@FreeBSD.org rodrigo@FreeBSD.org swills@FreeBSD.org tcberner@FreeBSD.org Most recent Git update was: cad/py-ocp/Makefile cad/py-ocp/distinfo cad/py-ocp/files/cpatch-OCCT_OpenGl__HaltonSampler.hxx cad/py-ocp/files/patch-FindOpenCascade.cmake cad/py-ocp/files/patch-Standard.cpp cad/py-ocp/files/patch-dump__symbols.py cad/py-ocp/files/patch-ocp.toml cad/py-ocp/files/patch-opencascade_Standard__Time.hxx cad/py-ocp/files/patch-templates_CMakeLists.j2 cad/py-ocp/pkg-message comms/rtl-433/Makefile databases/mongodb-tools/Makefile databases/mongodb-tools/distinfo databases/mongodb44/Makefile databases/mongodb44/distinfo devel/libphonenumber/Makefile devel/libphonenumber/distinfo dns/knot3/Makefile dns/knot3/distinfo games/SpaceCadetPinball/Makefile games/SpaceCadetPinball/distinfo games/shockolate/Makefile games/shockolate/pkg-message lang/intel-compute-runtime/Makefile lang/intel-compute-runtime/distinfo lang/intel-compute-runtime/files/patch-no-perf lang/purescript/Makefile lang/purescript/distinfo math/pantheon-calculator/Makefile math/pantheon-calculator/distinfo math/pantheon-calculator/pkg-plist net-p2p/jackett/Makefile net-p2p/jackett/distinfo net-p2p/jackett/pkg-plist net/endlessh/Makefile net/endlessh/files/pkg-message.in sysutils/lnav/Makefile sysutils/lnav/distinfo sysutils/lnav/files/patch-src_logfile.cc www/closure-compiler/Makefile www/closure-compiler/distinfo www/mattermost-server/Makefile www/mattermost-server/distinfo www/mattermost-server/pkg-plist www/mattermost-webapp/Makefile www/mattermost-webapp/distinfo www/mattermost-webapp/pkg-plist www/osrm-backend/Makefile www/osrm-backend/distinfo x11-themes/flat-remix-gtk-themes/Makefile x11-themes/flat-remix-gtk-themes/distinfo x11-themes/flat-remix-gtk-themes/pkg-plist x11-wm/hs-xmonad/Makefile x11-wm/hs-xmonad/distinfo x11-wm/nscde/Makefile x11-wm/nscde/distinfo x11-wm/nscde/files/patch-NsCDE_config_NsCDE-Functions.conf x11-wm/nscde/files/patch-NsCDE_libexec_generate__subpanels x11-wm/nscde/files/patch-NsCDE_libexec_nscde__setup x11-wm/nscde/files/patch-NsCDE_share_config__templates_NsCDE-Functions.local x11-wm/nscde/files/patch-NsCDE_share_doc_examples_doas.conf x11-wm/nscde/files/patch-NsCDE_share_doc_examples_sudo_006__PowerManager x11-wm/nscde/files/patch-NsCDE_share_doc_examples_sudo_README x11-wm/nscde/files/patch-docbook_NsCDE.xml x11-wm/nscde/files/patch-src_XOverrideFontCursor_Makefile x11-wm/nscde/files/patch-src_colorpicker_Makefile x11-wm/nscde/files/patch-src_pclock-0.13.1_src_Makefile x11-wm/nscde/pkg-message x11-wm/nscde/pkg-plist From nobody Fri Oct 29 18:24:30 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 62873181DD67; Fri, 29 Oct 2021 18:24:32 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HgrS00KkZz3DxQ; Fri, 29 Oct 2021 18:24:31 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.16.1/8.15.2) with ESMTPS id 19TIOUjG022503 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 29 Oct 2021 11:24:31 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.16.1/8.15.2/Submit) id 19TIOU57022502; Fri, 29 Oct 2021 11:24:30 -0700 (PDT) (envelope-from fbsd) Date: Fri, 29 Oct 2021 11:24:30 -0700 From: bob prohaska To: Mark Millard Cc: Free BSD , freebsd-ports@freebsd.org Subject: Re: Troubles booting Pi2 from USB using bootcode.bin method Message-ID: <20211029182430.GA22414@www.zefox.net> References: <20211025034332.GA8398@www.zefox.net> <20211027162852.GA16010@www.zefox.net> <41C0A656-D898-4381-BB81-034D54CA04A0@yahoo.com> <02806205-6685-41FD-B2D1-415C82FBCF92@yahoo.com> <20211028191635.GA19540@www.zefox.net> <7AC0733A-3FC9-4FA6-A6D7-0689A8ACB4CA@yahoo.com> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4HgrS00KkZz3DxQ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N I should have stated earlier that the FreeBSD system on the USB3 disk orginated from FreeBSD-13.0-RELEASE-arm-armv7-GENERICSD.img using dd and then repartitioning to add a swap and separate /usr partition. On Thu, Oct 28, 2021 at 04:53:29PM -0700, Mark Millard wrote: > On 2021-Oct-28, at 15:21, Mark Millard wrote: > > > On 2021-Oct-28, at 12:16, bob prohaska wrote: > > > >> To make a clean start on this thread I've turned on the UART > >> for bootcode.bin per Mark's instructions and done a few boot > >> attempts with the USB2 and USB3 mechanical disks, singly and > >> in unison. > >> > >> The bootlogs are in > >> http://www.zefox.net/~fbsd/rpi2/bootproblems/ > >> > >> An immediate curiosity is that on the first try, booting > >> with the USB3 device alone worked. I didn't record that > >> output, unfortunately. > > > > Hmm. Too bad. > > Indeed! I thought maybe the failure was fixed by turning on the UART... > >> The second attempt failed, as expected, > >> and is recorded in bootlog-fail. The third attempt booted both > >> USB2 and USB3 disks together, recorded in bootlog.success. > > > > The two logs do not have the same set of dtdebug messages > > for loading bcm2709-rpi-2-b.dtb . This is long before > > u-boot.bin is loaded and so is during the RPi* firmware > > time frame not u_Boot or FreeBSD;s loader or FreeBSD's kernel > > or FreeBSD's world. > > > > From this I infer that there are two different msdosfs's > > wtith differing content on the 2 drives and when both > > drives are in place . > > That's correct. Actually there are three, counting the microSD. > > You have not reported on the following for either drive's > > msdosfs : > > > > # strings ???/start.elf | grep "VC_BUILD_" > > The are different. On the USB3 disk, which I want to boot, I get bob@www:/boot/msdos % strings start.elf | grep "VC_BUILD_" VC_BUILD_ID_USER: dom VC_BUILD_ID_TIME: 12:12:09 VC_BUILD_ID_VARIANT: start VC_BUILD_ID_TIME: Feb 25 2021 VC_BUILD_ID_BRANCH: bcm2711_2 VC_BUILD_ID_HOSTNAME: buildbot VC_BUILD_ID_PLATFORM: raspberrypi_linux VC_BUILD_ID_VERSION: 564e5f9b852b23a330b1764bcf0b2d022a20afd0 (clean) On the USB2 disk, which seems to be needed for booting, I get oot@www:/mnt # strings start.elf | grep "VC_BUILD_" VC_BUILD_ID_USER: dom VC_BUILD_ID_TIME: 16:43:13 VC_BUILD_ID_BRANCH: master VC_BUILD_ID_VARIANT: start VC_BUILD_ID_TIME: Nov 19 2019 VC_BUILD_ID_HOSTNAME: buildbot VC_BUILD_ID_PLATFORM: raspberrypi_linux VC_BUILD_ID_VERSION: 2354eac70a98807e06bed2149bc0c5613e751c15 (clean) > > Another thing of interest would be something like (both > > msdosfs mounts): > > > > # diff -rq ... ... > > > > in order to see what files have distinctions on the > > two media. A diff of the two config.txt files would be > > relevant (no -q involvement). > > > > On the USB3 disk config.txt contains bob@www:/boot/msdos % more config.txt init_uart_clock=3000000 enable_uart=1 kernel=u-boot.bin kernel7=u-boot.bin dtoverlay=mmc enable_uart=1 uart_2ndstage=1 dtdebug=1 On the USB2 disk config.txt contains root@www:/mnt # more config.txt init_uart_clock=3000000 enable_uart=1 kernel=u-boot.bin kernel7=u-boot.bin dtoverlay=mmc > >> I'm trying to build u-boot-rpi2 and will try to update the USB3 > >> disk with it once complete. Still working on that part 8-) > >> > >> The actual boot sequence using bootcode.bin is still a bit hazy: > >> Is it microSD/dos -> USB/dos ->USB/freebsd ? > >> > > > > Based on the log file for success the ordering is > > > > bootcode.bin from the microsd card So bootcode.bin runs from the microSD, but config.txt and all else is picked up from whichever USB disk is recognized first? > > config.txt (also re-read multiple times later, not listed) > > start.elf > > fixup.dat > > bcm2709-rpi-2-b.dtb > > overlays/mmc.dtbo > > cmdline.txt (if it exists) > > u-boot.bin > > efi/boot/bootarm.efi > > efi/freebsd/loader.env > > /boot/defaults/loader.conf > > /boot/device.hints > > /boot/loader.conf > > /boot/loader.conf.local > > /boot/boot/kernel > > /boot/kernel/fi.lemon.ko > > /boot/kernel/umodem.ko > > FreeBSD world > > > > > > However the failing one has the following involved > > (I omit various lines): > > > > . . . > > Loading 'bcm2709-rpi-2-b.dtb' to 0x100 size 0x6879 > > Unknown dtparam 'pwr_led_gpio' - ignored > > dterror: no symbols found > > dtdebug: /__overrides__ node not found > > Unknown dtparam 'uart0_clkrate' - ignored > > dtdebug: Opened overlay file 'overlays/mmc.dtbo' > > brfs: File read: /mfs/sd/overlays/mmc.dtbo > > dterror: not a valid FDT - err -9 > > . . . > > > > That seqeunce makes no mention of: "using platform 'bcm2835'" > > and the like. An example is: "found override pwr_led_gpio". > > > > Again, all this looks like tehre are two msdosfs involved and > > the two are not the same by content. > > > > Another possibility is that you have more in the microsd card's > msdosfs than just bootcode.bin so that that microsd card might > be the source of alternative files. (That makes up to 3 media > that might be sources of files.) That's correct. The microSD's msdos partition contains -rwxr-xr-x 1 root wheel 52456 Oct 28 02:12 bootcode.bin -rwxr-xr-x 1 root wheel 52456 Oct 22 16:00 bootcode.bin-e -rwxr-xr-x 1 root wheel 52304 Nov 22 2019 bootcode.old -rwxr-xr-x 1 root wheel 0 Jan 16 2021 timeout drwxr-xr-x 1 root wheel 4096 Jan 16 2021 unused I'm expecting that only bootcode.bin and timeout are involved. Thanks for looking! bob prohaska From nobody Fri Oct 29 21:06:27 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9D9AD18214E3 for ; Fri, 29 Oct 2021 21:06:27 +0000 (UTC) (envelope-from indexbuild@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hgw2q43gyz4lyq for ; Fri, 29 Oct 2021 21:06:27 +0000 (UTC) (envelope-from indexbuild@FreeBSD.org) Received: from portsindexbuild.nyi.freebsd.org (portsindexbuild.nyi.freebsd.org [IPv6:2610:1c1:1:606c::16:115c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 61B3C1E20C for ; Fri, 29 Oct 2021 21:06:27 +0000 (UTC) (envelope-from indexbuild@FreeBSD.org) Received: from portsindexbuild.nyi.freebsd.org ([127.0.1.8]) by portsindexbuild.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id 19TL6Rnr053163 for ; Fri, 29 Oct 2021 21:06:27 GMT (envelope-from indexbuild@portsindexbuild.nyi.freebsd.org) Received: (from indexbuild@localhost) by portsindexbuild.nyi.freebsd.org (8.15.2/8.15.2/Submit) id 19TL6RIf053161 for ports@FreeBSD.org; Fri, 29 Oct 2021 21:06:27 GMT (envelope-from indexbuild) Date: Fri, 29 Oct 2021 21:06:27 GMT From: Ports Index build Message-Id: <202110292106.19TL6RIf053161@portsindexbuild.nyi.freebsd.org> To: ports@FreeBSD.org Subject: INDEX now builds successfully on 12.x X-ThisMailContainsUnwantedMimeParts: N List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org From nobody Fri Oct 29 22:10:46 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 713A6183A699 for ; Fri, 29 Oct 2021 22:11:04 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-24.consmr.mail.gq1.yahoo.com (sonic312-24.consmr.mail.gq1.yahoo.com [98.137.69.205]) (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 4HgxTN1FVjz3J65 for ; Fri, 29 Oct 2021 22:11:03 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635545455; bh=8JBMhqnrMyhdcyX9KhBvAcIhYV5mQJFuDT4MBgsnjOI=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=oYmjbuOkMt63IPdQA25zRUca6TteVEYyxi9PA8edQJS93ggizVUec/Q4CrKUQ2iQMk2xsd2HzhLJ3BD3RoUaXPth78mrbo1mE68QxMu32txAzxMhgwcyjwyWzxQBqFFPu0tU+ta2m0ApJ83pXlz2861ZQDMaJme8lCgLJIxyE+FsNLYU5lNmVAND5lmQrrGCheD/hqy5dn6hIPbyMLP2uQeevbMLUy3wv6PyGUG+buvdI4DHugAV1jRfR7pJz318g/0uJi5sYzDrIs4utHjQByAb2vXmFM/S7cHuZmliJG7qcPUPoDMX5PvPEJLYs44rlm3JaXMapj7A8VlDotMCjA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635545455; bh=FJ6LUofWFUxbhiKz03JwE41OVETEtDGVvwo2f2Ww42i=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=ACi901V7AgLCwNXKVoqLot4n4vH1pSAIIomgY134YFm3wAE2m0s+GyMh/8YKYk5kAqfU8xbrVqKn8AIn6PWC37XZ/idoCXFuwB+/RRuwyLZIvfDvV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2R3EdTy9JaVnSSG2FseoVQ4xpHPLO911KBno9lysrUjbcegrpkuAdKZgm5 h_gDrHjVzIU8OtGinzkMLGjqViY8wkMNmr_oX5MerSxjzUrrHhEaXn_LymoyZi4q4GW8CU6LdaqN UQP475zHs.RAVk20II1TPPWDDcIKHgWL64egSJ9hT3Fw4Q4nbwbDB5IysuzHIFjHkJmUStgqVXw2 JetVDac1u2ZsMgbYM1g3st0b3aWYVnWgiYffEJW2XTmnGNuf.z7.Bua0fwrrCgTkenOhOd3OzHzm uuIk4kl4RT7y6wbP.vDIcTorKrbb7LxM_WXM09tHlUL0oj0uGTpwv2ldB1_D3gSVwcpceUCbf4yj kUdiUT7hWYutowEOIsLl4BUy1tNc1vapg_hqq3xRHLvGo X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Fri, 29 Oct 2021 22:10:55 +0000 Received: by kubenode524.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 0269600edd4ce45723e37e9a7ca5183a; Fri, 29 Oct 2021 22:10:49 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Troubles booting Pi2 from USB using bootcode.bin method In-Reply-To: <20211029182430.GA22414@www.zefox.net> Date: Fri, 29 Oct 2021 15:10:46 -0700 Cc: Free BSD , freebsd-ports@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: <20211025034332.GA8398@www.zefox.net> <20211027162852.GA16010@www.zefox.net> <41C0A656-D898-4381-BB81-034D54CA04A0@yahoo.com> <02806205-6685-41FD-B2D1-415C82FBCF92@yahoo.com> <20211028191635.GA19540@www.zefox.net> <7AC0733A-3FC9-4FA6-A6D7-0689A8ACB4CA@yahoo.com> <20211029182430.GA22414@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4HgxTN1FVjz3J65 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-arm X-Original-From: Mark Millard X-ThisMailContainsUnwantedMimeParts: N On 2021-Oct-29, at 11:24, bob prohaska wrote: > > I should have stated earlier that the FreeBSD system on > the USB3 disk orginated from > FreeBSD-13.0-RELEASE-arm-armv7-GENERICSD.img > using dd and then repartitioning to add a swap and separate > /usr partition. > > On Thu, Oct 28, 2021 at 04:53:29PM -0700, Mark Millard wrote: >> On 2021-Oct-28, at 15:21, Mark Millard wrote: >> >>> On 2021-Oct-28, at 12:16, bob prohaska wrote: >>> >>>> To make a clean start on this thread I've turned on the UART >>>> for bootcode.bin per Mark's instructions and done a few boot >>>> attempts with the USB2 and USB3 mechanical disks, singly and >>>> in unison. >>>> >>>> The bootlogs are in >>>> http://www.zefox.net/~fbsd/rpi2/bootproblems/ >>>> >>>> An immediate curiosity is that on the first try, booting >>>> with the USB3 device alone worked. I didn't record that >>>> output, unfortunately. >>> >>> Hmm. Too bad. >>> > Indeed! I thought maybe the failure was fixed by turning on the UART... > >>>> The second attempt failed, as expected, >>>> and is recorded in bootlog-fail. The third attempt booted both >>>> USB2 and USB3 disks together, recorded in bootlog.success. >>> >>> The two logs do not have the same set of dtdebug messages >>> for loading bcm2709-rpi-2-b.dtb . This is long before >>> u-boot.bin is loaded and so is during the RPi* firmware >>> time frame not u_Boot or FreeBSD;s loader or FreeBSD's kernel >>> or FreeBSD's world. >>> >>> From this I infer that there are two different msdosfs's >>> wtith differing content on the 2 drives and when both >>> drives are in place . >>> > > That's correct. Actually there are three, counting the microSD. But later you show that start.elf and the like are missing on the microsd card. That prevents the microsd card from being involved for the stage getting the errors in the one case (other than the bootcode.bin content used). >>> You have not reported on the following for either drive's >>> msdosfs : >>> >>> # strings ???/start.elf | grep "VC_BUILD_" >>> > > The are different. On the USB3 disk, which I want to boot, I get > bob@www:/boot/msdos % strings start.elf | grep "VC_BUILD_" > VC_BUILD_ID_USER: dom > VC_BUILD_ID_TIME: 12:12:09 > VC_BUILD_ID_VARIANT: start > VC_BUILD_ID_TIME: Feb 25 2021 > VC_BUILD_ID_BRANCH: bcm2711_2 > VC_BUILD_ID_HOSTNAME: buildbot > VC_BUILD_ID_PLATFORM: raspberrypi_linux > VC_BUILD_ID_VERSION: 564e5f9b852b23a330b1764bcf0b2d022a20afd0 (clean) The above matches what I use on the USB3 SSD that I use for armv7 (Cortex-A7) systems, including the RPi2 v1.1 . But I do not have access to the RPi2B v1.1 currently to test with. In my context overlays/* and the rest are from the same release as my start.elf . But that sort of thing is messier to check. > On the USB2 disk, which seems to be needed for booting, I get > oot@www:/mnt # strings start.elf | grep "VC_BUILD_" > VC_BUILD_ID_USER: dom > VC_BUILD_ID_TIME: 16:43:13 > VC_BUILD_ID_BRANCH: master > VC_BUILD_ID_VARIANT: start > VC_BUILD_ID_TIME: Nov 19 2019 > VC_BUILD_ID_HOSTNAME: buildbot > VC_BUILD_ID_PLATFORM: raspberrypi_linux > VC_BUILD_ID_VERSION: 2354eac70a98807e06bed2149bc0c5613e751c15 (clean) That is rather old. I've no clue what to expect for it. >>> Another thing of interest would be something like (both >>> msdosfs mounts): >>> >>> # diff -rq ... ... >>> >>> in order to see what files have distinctions on the >>> two media. A diff of the two config.txt files would be >>> relevant (no -q involvement). Based on the VC_BUILD_ID_* checks, it looks like a diff -rq would list a lot or most files as different, presuming all the files. > On the USB3 disk config.txt contains > bob@www:/boot/msdos % more config.txt > init_uart_clock=3000000 > enable_uart=1 > kernel=u-boot.bin > kernel7=u-boot.bin > dtoverlay=mmc > enable_uart=1 > uart_2ndstage=1 > dtdebug=1 enable_uart=1 is listed twice above. > On the USB2 disk config.txt contains > root@www:/mnt # more config.txt > init_uart_clock=3000000 > enable_uart=1 > kernel=u-boot.bin > kernel7=u-boot.bin > dtoverlay=mmc The above is missing: uart_2ndstage=1 dtdebug=1 so there likely would be less debug information for the case when this file is used. Rerunning tests with both config.txt files having those llines as well might give additional information. Swapping ports used on the powered hub for the two drives might allow controlling which drive's msdosfs file system is used. (This is not the only port position/swapping that may be useful for such, it is just an illustration.) >>>> I'm trying to build u-boot-rpi2 and will try to update the USB3 >>>> disk with it once complete. > Still working on that part 8-) The failures start before u-boot is involved. This is unlikely to be sufficient. >>>> >>>> The actual boot sequence using bootcode.bin is still a bit hazy: >>>> Is it microSD/dos -> USB/dos ->USB/freebsd ? >>>> >>> >>> Based on the log file for success the ordering is >>> >>> bootcode.bin from the microsd card > > So bootcode.bin runs from the microSD, but config.txt and all else > is picked up from whichever USB disk is recognized first? Yep: it picks one. Swapping or moving which ports are used may change which one is used when both are connected. >>> config.txt (also re-read multiple times later, not listed) >>> start.elf >>> fixup.dat >>> bcm2709-rpi-2-b.dtb >>> overlays/mmc.dtbo >>> cmdline.txt (if it exists) >>> u-boot.bin >>> efi/boot/bootarm.efi >>> efi/freebsd/loader.env >>> /boot/defaults/loader.conf >>> /boot/device.hints >>> /boot/loader.conf >>> /boot/loader.conf.local >>> /boot/boot/kernel >>> /boot/kernel/fi.lemon.ko >>> /boot/kernel/umodem.ko >>> FreeBSD world Do both USB* drives also have a bootable FreeBSD installed? >>> However the failing one has the following involved >>> (I omit various lines): >>> >>> . . . >>> Loading 'bcm2709-rpi-2-b.dtb' to 0x100 size 0x6879 >>> Unknown dtparam 'pwr_led_gpio' - ignored The above seems odd. >>> dterror: no symbols found >>> dtdebug: /__overrides__ node not found >>> Unknown dtparam 'uart0_clkrate' - ignored >>> dtdebug: Opened overlay file 'overlays/mmc.dtbo' >>> brfs: File read: /mfs/sd/overlays/mmc.dtbo >>> dterror: not a valid FDT - err -9 The above may indicate a corrupted mmc.dtbo . Or it might be problems reading the drive and so be an example of garbage-in/garbage-out. >>> . . . >>> >>> That seqeunce makes no mention of: "using platform 'bcm2835'" >>> and the like. An example is: "found override pwr_led_gpio". >>> >>> Again, all this looks like tehre are two msdosfs involved and >>> the two are not the same by content. >>> >> >> Another possibility is that you have more in the microsd card's >> msdosfs than just bootcode.bin so that that microsd card might >> be the source of alternative files. (That makes up to 3 media >> that might be sources of files.) > > That's correct. The microSD's msdos partition contains > -rwxr-xr-x 1 root wheel 52456 Oct 28 02:12 bootcode.bin > -rwxr-xr-x 1 root wheel 52456 Oct 22 16:00 bootcode.bin-e > -rwxr-xr-x 1 root wheel 52304 Nov 22 2019 bootcode.old > -rwxr-xr-x 1 root wheel 0 Jan 16 2021 timeout > drwxr-xr-x 1 root wheel 4096 Jan 16 2021 unused > > I'm expecting that only bootcode.bin and timeout are involved. For that microsd card msdosfs file system content: yep. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From nobody Fri Oct 29 22:32:37 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6C37E181A9C9 for ; Fri, 29 Oct 2021 22:32:48 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-55.consmr.mail.gq1.yahoo.com (sonic315-55.consmr.mail.gq1.yahoo.com [98.137.65.31]) (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 4HgxyR1NJgz3PcC for ; Fri, 29 Oct 2021 22:32:47 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635546759; bh=HR4CaHYRmgU6GkXspZhFKxAv4Lrl5bqi+/MqxY0Ac54=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To;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LWvpOr3Q4_M- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Fri, 29 Oct 2021 22:32:39 +0000 Received: by kubenode540.mail-prod1.omega.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID fb10bbe60ed42ccc8262d81587529ff3; Fri, 29 Oct 2021 22:32:38 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Troubles booting Pi2 from USB using bootcode.bin method In-Reply-To: Date: Fri, 29 Oct 2021 15:32:37 -0700 Cc: Free BSD , freebsd-ports@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: <20211025034332.GA8398@www.zefox.net> <20211027162852.GA16010@www.zefox.net> <41C0A656-D898-4381-BB81-034D54CA04A0@yahoo.com> <02806205-6685-41FD-B2D1-415C82FBCF92@yahoo.com> <20211028191635.GA19540@www.zefox.net> <7AC0733A-3FC9-4FA6-A6D7-0689A8ACB4CA@yahoo.com> <20211029182430.GA22414@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4HgxyR1NJgz3PcC X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=oLLPENNK; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.31 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 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.65.31: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.00)[-1.000]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.31:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; 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/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-arm X-Original-From: Mark Millard X-ThisMailContainsUnwantedMimeParts: N On 2021-Oct-29, at 15:10, Mark Millard wrote: > On 2021-Oct-29, at 11:24, bob prohaska wrote: >> >> I should have stated earlier that the FreeBSD system on >> the USB3 disk orginated from >> FreeBSD-13.0-RELEASE-arm-armv7-GENERICSD.img >> using dd and then repartitioning to add a swap and separate >> /usr partition. >> >> On Thu, Oct 28, 2021 at 04:53:29PM -0700, Mark Millard wrote: >>> On 2021-Oct-28, at 15:21, Mark Millard wrote: >>> >>>> On 2021-Oct-28, at 12:16, bob prohaska wrote: >>>> >>>>> To make a clean start on this thread I've turned on the UART >>>>> for bootcode.bin per Mark's instructions and done a few boot >>>>> attempts with the USB2 and USB3 mechanical disks, singly and >>>>> in unison. >>>>> >>>>> The bootlogs are in >>>>> http://www.zefox.net/~fbsd/rpi2/bootproblems/ >>>>> >>>>> An immediate curiosity is that on the first try, booting >>>>> with the USB3 device alone worked. I didn't record that >>>>> output, unfortunately. >>>> >>>> Hmm. Too bad. >>>> >> Indeed! I thought maybe the failure was fixed by turning on the UART... >> >>>>> The second attempt failed, as expected, >>>>> and is recorded in bootlog-fail. The third attempt booted both >>>>> USB2 and USB3 disks together, recorded in bootlog.success. >>>> >>>> The two logs do not have the same set of dtdebug messages >>>> for loading bcm2709-rpi-2-b.dtb . This is long before >>>> u-boot.bin is loaded and so is during the RPi* firmware >>>> time frame not u_Boot or FreeBSD;s loader or FreeBSD's kernel >>>> or FreeBSD's world. >>>> >>>> From this I infer that there are two different msdosfs's >>>> wtith differing content on the 2 drives and when both >>>> drives are in place . >>>> >> >> That's correct. Actually there are three, counting the microSD. > > But later you show that start.elf and the like are missing > on the microsd card. That prevents the microsd card from being > involved for the stage getting the errors in the one case > (other than the bootcode.bin content used). > >>>> You have not reported on the following for either drive's >>>> msdosfs : >>>> >>>> # strings ???/start.elf | grep "VC_BUILD_" >>>> >> >> The are different. On the USB3 disk, which I want to boot, I get >> bob@www:/boot/msdos % strings start.elf | grep "VC_BUILD_" >> VC_BUILD_ID_USER: dom >> VC_BUILD_ID_TIME: 12:12:09 >> VC_BUILD_ID_VARIANT: start >> VC_BUILD_ID_TIME: Feb 25 2021 >> VC_BUILD_ID_BRANCH: bcm2711_2 >> VC_BUILD_ID_HOSTNAME: buildbot >> VC_BUILD_ID_PLATFORM: raspberrypi_linux >> VC_BUILD_ID_VERSION: 564e5f9b852b23a330b1764bcf0b2d022a20afd0 (clean) > > The above matches what I use on the USB3 SSD that I use for > armv7 (Cortex-A7) systems, including the RPi2 v1.1 . But I > do not have access to the RPi2B v1.1 currently to test with. > In my context overlays/* and the rest are from the same > release as my start.elf . But that sort of thing is messier > to check. > >> On the USB2 disk, which seems to be needed for booting, I get >> oot@www:/mnt # strings start.elf | grep "VC_BUILD_" >> VC_BUILD_ID_USER: dom >> VC_BUILD_ID_TIME: 16:43:13 >> VC_BUILD_ID_BRANCH: master >> VC_BUILD_ID_VARIANT: start >> VC_BUILD_ID_TIME: Nov 19 2019 >> VC_BUILD_ID_HOSTNAME: buildbot >> VC_BUILD_ID_PLATFORM: raspberrypi_linux >> VC_BUILD_ID_VERSION: 2354eac70a98807e06bed2149bc0c5613e751c15 (clean) > > That is rather old. I've no clue what to expect for it. > >>>> Another thing of interest would be something like (both >>>> msdosfs mounts): >>>> >>>> # diff -rq ... ... >>>> >>>> in order to see what files have distinctions on the >>>> two media. A diff of the two config.txt files would be >>>> relevant (no -q involvement). > > Based on the VC_BUILD_ID_* checks, it looks like > a diff -rq would list a lot or most files as > different, presuming all the files. > >> On the USB3 disk config.txt contains >> bob@www:/boot/msdos % more config.txt >> init_uart_clock=3000000 >> enable_uart=1 >> kernel=u-boot.bin >> kernel7=u-boot.bin >> dtoverlay=mmc >> enable_uart=1 >> uart_2ndstage=1 >> dtdebug=1 > > enable_uart=1 > > is listed twice above. > >> On the USB2 disk config.txt contains >> root@www:/mnt # more config.txt >> init_uart_clock=3000000 >> enable_uart=1 >> kernel=u-boot.bin >> kernel7=u-boot.bin >> dtoverlay=mmc > > The above is missing: > > uart_2ndstage=1 > dtdebug=1 Please make the 2 config.txt files have a different number of bytes relative to each other. This would allow us to see which USB drive was in use from the serial console output: it reports the size of the content of the file and then it would be unique. Blank lines or comment lines would be sufficient to make the difference. The re-run the tests and post the results and indicate the config.txt contents of both files. > > so there likely would be less debug information for > the case when this file is used. > > Rerunning tests with both config.txt files having > those llines as well might give additional information. > > Swapping ports used on the powered hub for the two drives > might allow controlling which drive's msdosfs file system > is used. (This is not the only port position/swapping that > may be useful for such, it is just an illustration.) > >>>>> I'm trying to build u-boot-rpi2 and will try to update the USB3 >>>>> disk with it once complete. >> Still working on that part 8-) > > The failures start before u-boot is involved. This is unlikely > to be sufficient. > >>>>> >>>>> The actual boot sequence using bootcode.bin is still a bit hazy: >>>>> Is it microSD/dos -> USB/dos ->USB/freebsd ? >>>>> >>>> >>>> Based on the log file for success the ordering is >>>> >>>> bootcode.bin from the microsd card >> >> So bootcode.bin runs from the microSD, but config.txt and all else >> is picked up from whichever USB disk is recognized first? > > Yep: it picks one. Swapping or moving which ports are used > may change which one is used when both are connected. > >>>> config.txt (also re-read multiple times later, not listed) >>>> start.elf >>>> fixup.dat >>>> bcm2709-rpi-2-b.dtb >>>> overlays/mmc.dtbo >>>> cmdline.txt (if it exists) >>>> u-boot.bin >>>> efi/boot/bootarm.efi >>>> efi/freebsd/loader.env >>>> /boot/defaults/loader.conf >>>> /boot/device.hints >>>> /boot/loader.conf >>>> /boot/loader.conf.local >>>> /boot/boot/kernel >>>> /boot/kernel/fi.lemon.ko >>>> /boot/kernel/umodem.ko >>>> FreeBSD world > > Do both USB* drives also have a bootable > FreeBSD installed? > >>>> However the failing one has the following involved >>>> (I omit various lines): >>>> >>>> . . . >>>> Loading 'bcm2709-rpi-2-b.dtb' to 0x100 size 0x6879 >>>> Unknown dtparam 'pwr_led_gpio' - ignored > > The above seems odd. > >>>> dterror: no symbols found >>>> dtdebug: /__overrides__ node not found >>>> Unknown dtparam 'uart0_clkrate' - ignored >>>> dtdebug: Opened overlay file 'overlays/mmc.dtbo' >>>> brfs: File read: /mfs/sd/overlays/mmc.dtbo >>>> dterror: not a valid FDT - err -9 > > The above may indicate a corrupted mmc.dtbo . Or it might > be problems reading the drive and so be an example of > garbage-in/garbage-out. > >>>> . . . >>>> >>>> That seqeunce makes no mention of: "using platform 'bcm2835'" >>>> and the like. An example is: "found override pwr_led_gpio". >>>> >>>> Again, all this looks like tehre are two msdosfs involved and >>>> the two are not the same by content. >>>> >>> >>> Another possibility is that you have more in the microsd card's >>> msdosfs than just bootcode.bin so that that microsd card might >>> be the source of alternative files. (That makes up to 3 media >>> that might be sources of files.) >> >> That's correct. The microSD's msdos partition contains >> -rwxr-xr-x 1 root wheel 52456 Oct 28 02:12 bootcode.bin >> -rwxr-xr-x 1 root wheel 52456 Oct 22 16:00 bootcode.bin-e >> -rwxr-xr-x 1 root wheel 52304 Nov 22 2019 bootcode.old >> -rwxr-xr-x 1 root wheel 0 Jan 16 2021 timeout >> drwxr-xr-x 1 root wheel 4096 Jan 16 2021 unused >> >> I'm expecting that only bootcode.bin and timeout are involved. > > For that microsd card msdosfs file system content: yep. > === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From nobody Sat Oct 30 07:44:24 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DBFC81828308 for ; Sat, 30 Oct 2021 07:45:08 +0000 (UTC) (envelope-from xxjack12xx@gmail.com) Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HhBCm1pRKz4qs2 for ; Sat, 30 Oct 2021 07:45:08 +0000 (UTC) (envelope-from xxjack12xx@gmail.com) Received: by mail-ed1-x532.google.com with SMTP id ee16so33343315edb.10 for ; Sat, 30 Oct 2021 00:45:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=3vaywXwVzrPEQphJM+nf30M+p+3YOtJCVD8wKOtu/YQ=; b=hJ1pD8HntMdNdWKqwcp5P0fpUJvMDF1gGrTVNGEGL9nxyUqyAb/dNOL35oEyUlaVZO 33vz8Hj8hGHMi28bVEXTC8+YLe4px1aNhsGIIGQfHFE5dneLg8NM9fsWwrbhjtseqkNU tVnvZWc4iZ9FBZHtk5F9mtBPt68vb/+aroWjllz0BHyW5HknSS9h1tRxsVftlEjGUnAL 0ii3bhF9iZ45riDuOZdKaZB0lTxDyjVAOmN3ElsyZ/8l1pl/O7KVnlVdwkBnsgSlbQwA VUxmUiusWvTj+c8+i2jpjwQ2imOKmKUU1IZpFV94A5yZFY+H01h1O4bzGoORYoru29yR ZxzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=3vaywXwVzrPEQphJM+nf30M+p+3YOtJCVD8wKOtu/YQ=; b=CaMbcnDnFXPAi3e/mRuKlz3kiEcHm2RtIYoWYTNecWtjFoeOLR1JUApVgviwBUwpS2 JW8+Z3aH86h/OrjYI7DthSZxPKT6qbLfGxYn6sp+61EgXSjTFjHY7TJT0O81Z1k5ufoj AVgfUE4bCQ1UvKZCYMTwEY96D696uCDDw8Naxi4CLhWU7kjmWzQXYclB1bKFqjw9zOxE HLL6NqJHUcZMOGdmCXcy2hXscK7osxGGGVwyQop1oI1sfDIANeA/Qh8in0LMJjxnkgRZ rpKNRGUeXsgy6dbScPnPdIS1wCKS81YlQTaEsAIXbUVhV4B445TJiPYSjRESK+rkNKlF 6vGg== X-Gm-Message-State: AOAM532Cf6yRIgXlvXdViVvwC4AOYbWYtEYxBiJXXxhSQpo4RMANXYvP OklUQ2JOGKfQL4X5hvYcOnyCNk4C51De2KF7pcpU0MYVw4LEfw== X-Google-Smtp-Source: ABdhPJyuEHp9KYh9+gY3a/e78ZrU7SdBY1kxqtkWyGDS4KkQLxCz+hDFxH06yWMP4HU5J1orNKoqV0TYK77DpdzToGI= X-Received: by 2002:a17:907:3f29:: with SMTP id hq41mr8973496ejc.133.1635579900236; Sat, 30 Oct 2021 00:45:00 -0700 (PDT) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 From: "Jack L." Date: Sat, 30 Oct 2021 00:44:24 -0700 Message-ID: Subject: audacity port needing updating To: FBSD Ports Mailing List Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4HhBCm1pRKz4qs2 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=hJ1pD8Hn; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of xxjack12xx@gmail.com designates 2a00:1450:4864:20::532 as permitted sender) smtp.mailfrom=xxjack12xx@gmail.com X-Spamd-Result: default: False [-3.96 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::532:from]; NEURAL_HAM_SHORT(-0.96)[-0.961]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N Can a committer please update the audacity port. It's been broken by missing a PORTREVISION bump after a soundtouch PR was committed and the port is now several versions behind. As of a few days ago, another version was released and the port is still out of date and I'm having to keep creating new patches against a version that's several months old. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=25810 Please commit so I can create another patch for the newly released version without having to work on another patch against one that's several versions behind. From nobody Sat Oct 30 07:57:52 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 848D2182DA44 for ; Sat, 30 Oct 2021 07:58:01 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HhBVc4x87z4vgY for ; Sat, 30 Oct 2021 07:58:00 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-ed1-x531.google.com with SMTP id r4so45754289edi.5 for ; Sat, 30 Oct 2021 00:58:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=K4btt1gdYahWvJThqf2i7+ohOX6j1BqujRsjztJVCDk=; b=HGiMuJOdGBx1H/CMLUCQn81/Ci8LpIY9ZRPNBG9P2kyHZMzoGTUqQM8zyKusZRh23h a0THX5JV7xdsHMB0D+7aurneumVgBBSb8IxLu2VEg8AW2hiqtcH5CYf91bbZJ/5K83xM SSBFeZJdkAM+ERzDYtuy4yFwzFjcm9qlOtryf6iENRfVpFm4w4iy9ejqINRgI2+U8XPQ iFycDOzALfk8C9wa0nT5lnX8nBzDm9vp6UqI8V4qHW9+jvTBxvJmgRr5BLml3RK56gU2 GwWus10zNv1FjEgOSkHGD/o6PL8hUcv6Cd/TzsyMEQzoCD9z06YLxD7ax7guTni1oLJs tVzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=K4btt1gdYahWvJThqf2i7+ohOX6j1BqujRsjztJVCDk=; b=dj//XsXuGnXaA6+prl3JcYsMYD6iTs9KNX9LrM14kAWEpL3MdNwd3199nlj1UZzE7J V1Eg+ZFhpRQfgiv0x3Mf7hBBw1VfKn6x6yoGrnEbNgPorHA5pL4KjPrfmNeJ3GsRPnim 272DQC9KXN63xwBbiv32QmrfHYKwggSP2knPj2LbcNAz6lSgs++5PAGUTHnLRCjWQI/c X8adHQd2U0PvK0Lg0vu6cNPlxAekZ6dNbsJd/Y63tQOZZbcGWTCd6Bo4OURGOuMF7KFR iXVzFR4LUXgkLKhcZrAA0pjVopJQkpnh286UGVF5Hcu03FXkj/CO/NKZ5Gkc1XjUgp4E 3Aug== X-Gm-Message-State: AOAM531PrSi0KMqBCx1nSeRw2KVu9xUekTYAPBdxyeUskYMVNiwsMnUb 8jm3tYzZnVvblcyOUAckjWlLvcYVSoo0eA== X-Google-Smtp-Source: ABdhPJw6XBvWHqkl4zPi9QB8rwn4BmnKrY0hGBs8AgvFgubMXOR7SlJeka56n4gtPM6FUU4rawjScw== X-Received: by 2002:a05:6402:27d2:: with SMTP id c18mr22075322ede.186.1635580673647; Sat, 30 Oct 2021 00:57:53 -0700 (PDT) Received: from ?IPV6:2001:470:1f1c:a0::2? (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net. [2001:470:1f1c:a0::2]) by smtp.gmail.com with ESMTPSA id m14sm648175edv.9.2021.10.30.00.57.53 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 30 Oct 2021 00:57:53 -0700 (PDT) Message-ID: <813ed641-d781-5e36-554c-65b8887f9f64@gmail.com> Date: Sat, 30 Oct 2021 08:57:52 +0100 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Subject: (258107) audacity port needing updating Content-Language: en-GB To: ports@freebsd.org References: X-Priority: 5 (Lowest) From: Graham Perrin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4HhBVc4x87z4vgY X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=HGiMuJOd; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::531 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::531:from]; HAS_X_PRIO_FIVE(0.00)[5]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 30/10/2021 08:44, Jack L. wrote: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=25810 > From nobody Sat Oct 30 08:41:52 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A1A10181FADA for ; Sat, 30 Oct 2021 08:42:07 +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 4HhCTV1DXsz3NdX for ; Sat, 30 Oct 2021 08:42:06 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635583318; bh=fzS+vulf4lUb61i6qvn21Kq3qehy7nMJo7/pVSTViu0=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=WDMuwqPge7z2tM3w3KJcBTRhX9Lwtf+QupJsG/w30qunpbSc8QefUhohr5KndjSuMpY9pb17qzOvP0+w/O/upa/VAGsQdue3yp8q/2+mKkRoRGgb3tA6TvqedUcNZR4HOM8udtx2x67uhiXqwcnee/95YyFY3KUK1yfUMOqSvoKXLScF+s3+Emrnpggf4MR0eulJAcHzOAkmI4508nawKReHqJzWYIH8LMfjRKw52sYw36T53UDFWqiL6MkYLCYUIV4Tvu/XXrxfPAvzD4JE1/sSLOINfQ11Og5tZwxKWsopvR4B5fuwwaNp2mySXDgo1KmkVxBXaXcdEMgHR6Lrwg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635583318; bh=1B8JAlyg2J+UfAOBaEkOqwOaq40HYZinShPMfnsQuoT=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=n4agg5q6RSwiwwdXF4SCB8p+r1egNiVzln5amtMIAG1O3kXCCPRKCZoogevkmcQC5UmxxUG7W+tE5ZkJDVgYvYs5iCXSj77lLYxsVdJTn8H9PYEcAn/4ntnQ5LL+uOQtisH6yL0YcibK7v8fUUNraQovheAkyy377dUbeiIyufAL0j+81fd7X2/ZSZlKbwVY6M6lEP9Qocs3Ej1Ucw+42wWd6d4D0IK2UdTjJFBD25CW1fuBeZG9uo6rE9lWSfUtDiG4026s7fNjWBIEYWIo+0nUW9ipUxPAdr5NmUV6iDhOzAQkx0Qr4xkOkxcDtcwWLYj0ltd1CDzjTXz9lgKNSw== X-YMail-OSG: Za5jRrEVM1n77VB.iF2d2pzxkU9.7vuiOc2xhxFgc8Dw0gN0EW1r_2gzZRTifLa tZL8g8mdnXa7HiqK2kLb1kkAbANYnrairMaW1o4YKcPGojvGPFb1X2wLKwezJzxo8OtKWHhS9PVQ VoI0faJV7LxoH.RBylomqSM_Ht8xf9kxvxkihf8lcB1HHuA9CyksvFZ6uEA3x2SZrOtC6J4Jmi1z djXoyXZ.NFAC3j9oaH7xOiVSVHkJBFbsGDSiHCfLVAFxIwwjNaccaKKokRzEUKCAHHhUWHQEaRas 4ugIDrvU13yEfi1S7UUwgtyKH9ZyzKcFBtBALp_zcBWbeL2OBnC1RSD89viFze3mWxtSrRz58Y.C krKlL2m4joy2Om9U7dUygFw9RKHAGFKBPsUQCILD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gOh.dKvkEWlSXaBTTDj2fs0EXS3VjdlWsn CoAk8G12sObM0_g9brOXvG5be6nZ20YTTz6QBjT1UsDDKcAxk_55eJea2K99DHEGSnQiS8.PJvXN D3FKss0.I1DDxstdQtK9_xFE4get5G_9O2IYLegrnxjBx9joPQW5sruxFPME2GnUTx3O8T_Wijk8 YB53IxRJmhyfU9X3_fiHDam9DR_X9qjymYLXRVnfBEIO8v.jAW3kvF9GtCt.IACPBrIdcnt9kyn8 xzQVAm4S_YJlXXWy.B0brCbDa83AFaow1_zZNssgR0BcXOB2hAZ5RUSnV29sE_wXj_lniTjNWBBY BMp23p4L_wA4WPHtDSNlpHzUitmyfx5XAMmJ2miVsnesRTZkuLx7FEDY99gngWu5RXwPlzEpGQ7c JBO0zUzXMD5cVs_g.iNHPDPeltV0pyEUXDW5.Tgk1bFlR6qiaJ24.fxJR9XxqvE7Ru3WvJz_GM55 IB5T4tpOcIPhcvkpVlfiWWE_dyRjnPVu.LbtYxoJD4cQaJUcJNyXmrqOP51gnt4pUBbU_ClQkntj opxbeYKIrTTqmkb0KeUGoSqZ2W5PG3unYzcT5_SOn.20ZeDVFkyYGs73A.btba9XMepBLd4vTnDh nbccPSYJyuSEGgqexJHpf7HjqFdISHFbPNqFLieVlmaAfyZhiBOOXI4K1kGgJ3AJycUYHvR1pAY7 8nHjeJa1T.1yqS0rIKSh.49ZQbx17xo_s_MU.rZv2UNuPpR9AYDf8IlPa_akSBGjpngaMxsHZxn5 1FSESQwDXQ_ZHo1x2luG7JtGIJkd.Hjx5j2XBzSBIqi4Eyw-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.gq1.yahoo.com with HTTP; Sat, 30 Oct 2021 08:41:58 +0000 Received: by kubenode523.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 6e95cb51e0816499c4b95741c91ff751; Sat, 30 Oct 2021 08:41:56 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Troubles booting Pi2 from USB using bootcode.bin method In-Reply-To: Date: Sat, 30 Oct 2021 01:41:52 -0700 Cc: Free BSD , freebsd-ports@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <086D6998-A96F-4560-92C5-4E2CE05FF668@yahoo.com> References: <20211025034332.GA8398@www.zefox.net> <20211027162852.GA16010@www.zefox.net> <41C0A656-D898-4381-BB81-034D54CA04A0@yahoo.com> <02806205-6685-41FD-B2D1-415C82FBCF92@yahoo.com> <20211028191635.GA19540@www.zefox.net> <7AC0733A-3FC9-4FA6-A6D7-0689A8ACB4CA@yahoo.com> <20211029182430.GA22414@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4HhCTV1DXsz3NdX X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=WDMuwqPg; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.204 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.20 / 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.65.204:from]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_FROM(0.00)[yahoo.com]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.204:from]; NEURAL_HAM_SHORT(-0.70)[-0.705]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; 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/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-arm X-Original-From: Mark Millard X-ThisMailContainsUnwantedMimeParts: N On 2021-Oct-29, at 15:32, Mark Millard wrote: > On 2021-Oct-29, at 15:10, Mark Millard wrote: > >> On 2021-Oct-29, at 11:24, bob prohaska wrote: >>> >>> I should have stated earlier that the FreeBSD system on >>> the USB3 disk orginated from >>> FreeBSD-13.0-RELEASE-arm-armv7-GENERICSD.img >>> using dd and then repartitioning to add a swap and separate >>> /usr partition. >>> >>> On Thu, Oct 28, 2021 at 04:53:29PM -0700, Mark Millard wrote: >>>> On 2021-Oct-28, at 15:21, Mark Millard wrote: >>>> >>>>> On 2021-Oct-28, at 12:16, bob prohaska wrote: >>>>> >>>>>> To make a clean start on this thread I've turned on the UART >>>>>> for bootcode.bin per Mark's instructions and done a few boot >>>>>> attempts with the USB2 and USB3 mechanical disks, singly and >>>>>> in unison. >>>>>> >>>>>> The bootlogs are in >>>>>> http://www.zefox.net/~fbsd/rpi2/bootproblems/ >>>>>> >>>>>> An immediate curiosity is that on the first try, booting >>>>>> with the USB3 device alone worked. I didn't record that >>>>>> output, unfortunately. >>>>> >>>>> Hmm. Too bad. >>>>> >>> Indeed! I thought maybe the failure was fixed by turning on the UART... >>> >>>>>> The second attempt failed, as expected, >>>>>> and is recorded in bootlog-fail. The third attempt booted both >>>>>> USB2 and USB3 disks together, recorded in bootlog.success. >>>>> >>>>> The two logs do not have the same set of dtdebug messages >>>>> for loading bcm2709-rpi-2-b.dtb . This is long before >>>>> u-boot.bin is loaded and so is during the RPi* firmware >>>>> time frame not u_Boot or FreeBSD;s loader or FreeBSD's kernel >>>>> or FreeBSD's world. >>>>> >>>>> From this I infer that there are two different msdosfs's >>>>> wtith differing content on the 2 drives and when both >>>>> drives are in place . >>>>> >>> >>> That's correct. Actually there are three, counting the microSD. >> >> But later you show that start.elf and the like are missing >> on the microsd card. That prevents the microsd card from being >> involved for the stage getting the errors in the one case >> (other than the bootcode.bin content used). >> >>>>> You have not reported on the following for either drive's >>>>> msdosfs : >>>>> >>>>> # strings ???/start.elf | grep "VC_BUILD_" >>>>> >>> >>> The are different. On the USB3 disk, which I want to boot, I get >>> bob@www:/boot/msdos % strings start.elf | grep "VC_BUILD_" >>> VC_BUILD_ID_USER: dom >>> VC_BUILD_ID_TIME: 12:12:09 >>> VC_BUILD_ID_VARIANT: start >>> VC_BUILD_ID_TIME: Feb 25 2021 >>> VC_BUILD_ID_BRANCH: bcm2711_2 >>> VC_BUILD_ID_HOSTNAME: buildbot >>> VC_BUILD_ID_PLATFORM: raspberrypi_linux >>> VC_BUILD_ID_VERSION: 564e5f9b852b23a330b1764bcf0b2d022a20afd0 (clean) >> >> The above matches what I use on the USB3 SSD that I use for >> armv7 (Cortex-A7) systems, including the RPi2 v1.1 . But I >> do not have access to the RPi2B v1.1 currently to test with. >> In my context overlays/* and the rest are from the same >> release as my start.elf . But that sort of thing is messier >> to check. >> >>> On the USB2 disk, which seems to be needed for booting, I get >>> oot@www:/mnt # strings start.elf | grep "VC_BUILD_" >>> VC_BUILD_ID_USER: dom >>> VC_BUILD_ID_TIME: 16:43:13 >>> VC_BUILD_ID_BRANCH: master >>> VC_BUILD_ID_VARIANT: start >>> VC_BUILD_ID_TIME: Nov 19 2019 >>> VC_BUILD_ID_HOSTNAME: buildbot >>> VC_BUILD_ID_PLATFORM: raspberrypi_linux >>> VC_BUILD_ID_VERSION: 2354eac70a98807e06bed2149bc0c5613e751c15 (clean) >> >> That is rather old. I've no clue what to expect for it. >> >>>>> Another thing of interest would be something like (both >>>>> msdosfs mounts): >>>>> >>>>> # diff -rq ... ... >>>>> >>>>> in order to see what files have distinctions on the >>>>> two media. A diff of the two config.txt files would be >>>>> relevant (no -q involvement). >> >> Based on the VC_BUILD_ID_* checks, it looks like >> a diff -rq would list a lot or most files as >> different, presuming all the files. >> >>> On the USB3 disk config.txt contains >>> bob@www:/boot/msdos % more config.txt >>> init_uart_clock=3000000 >>> enable_uart=1 >>> kernel=u-boot.bin >>> kernel7=u-boot.bin >>> dtoverlay=mmc >>> enable_uart=1 >>> uart_2ndstage=1 >>> dtdebug=1 >> >> enable_uart=1 >> >> is listed twice above. >> >>> On the USB2 disk config.txt contains >>> root@www:/mnt # more config.txt >>> init_uart_clock=3000000 >>> enable_uart=1 >>> kernel=u-boot.bin >>> kernel7=u-boot.bin >>> dtoverlay=mmc >> >> The above is missing: >> >> uart_2ndstage=1 >> dtdebug=1 > > Please make the 2 config.txt files have a different number of bytes > relative to each other. This would allow us to see which USB drive > was in use from the serial console output: it reports the size > of the content of the file and then it would be unique. > > Blank lines or comment lines would be sufficient to make the > difference. > > The re-run the tests and post the results and indicate the > config.txt contents of both files. Actually, while one of your two examples do not have all the debugging output enabled, the two config.txt file contents that you list have distinct byte counts: 130 vs. 90, if I count right. Both log files report reading 130 bytes for config.txt, neither reports reading 90 (or so) characters for config.txt . Thus, it appears that both examples are for reading the same media's config.txt : the one with 130 characters (counting end-of-line related ones as well). That leaves reading the media getting inconsistent results. The timeout file is not the only control related to delaying booting some for more reliability. Default values are shown by: bootcode_delay=0 boot_delay=1 boot_delay_ms=0 See: https://www.raspberrypi.com/documentation/computers/config_txt.html Given that config.txt comes from a USB* drive, it is not as obvious how much these might help with later I/O to the USB* drive. But, for reference: bootcode_delay is for how long bootcode.bin waits before trying to load the start*.elf that would be used. (Units: seconds.) boot_delay is for show long the start8.elf waits before loading the kernel ( in this case: before loading u-boot.bin ). (Units: seconds.) boot_delay_ms adds milliseconds to boot_delay. >> so there likely would be less debug information for >> the case when this file is used. >> >> Rerunning tests with both config.txt files having >> those llines as well might give additional information. >> >> Swapping ports used on the powered hub for the two drives >> might allow controlling which drive's msdosfs file system >> is used. (This is not the only port position/swapping that >> may be useful for such, it is just an illustration.) >> >>>>>> I'm trying to build u-boot-rpi2 and will try to update the USB3 >>>>>> disk with it once complete. >>> Still working on that part 8-) >> >> The failures start before u-boot is involved. This is unlikely >> to be sufficient. >> >>>>>> >>>>>> The actual boot sequence using bootcode.bin is still a bit hazy: >>>>>> Is it microSD/dos -> USB/dos ->USB/freebsd ? >>>>>> >>>>> >>>>> Based on the log file for success the ordering is >>>>> >>>>> bootcode.bin from the microsd card >>> >>> So bootcode.bin runs from the microSD, but config.txt and all else >>> is picked up from whichever USB disk is recognized first? >> >> Yep: it picks one. Swapping or moving which ports are used >> may change which one is used when both are connected. >> >>>>> config.txt (also re-read multiple times later, not listed) >>>>> start.elf >>>>> fixup.dat >>>>> bcm2709-rpi-2-b.dtb >>>>> overlays/mmc.dtbo >>>>> cmdline.txt (if it exists) >>>>> u-boot.bin >>>>> efi/boot/bootarm.efi >>>>> efi/freebsd/loader.env >>>>> /boot/defaults/loader.conf >>>>> /boot/device.hints >>>>> /boot/loader.conf >>>>> /boot/loader.conf.local >>>>> /boot/boot/kernel >>>>> /boot/kernel/fi.lemon.ko >>>>> /boot/kernel/umodem.ko >>>>> FreeBSD world >> >> Do both USB* drives also have a bootable >> FreeBSD installed? >> >>>>> However the failing one has the following involved >>>>> (I omit various lines): >>>>> >>>>> . . . >>>>> Loading 'bcm2709-rpi-2-b.dtb' to 0x100 size 0x6879 >>>>> Unknown dtparam 'pwr_led_gpio' - ignored >> >> The above seems odd. >> >>>>> dterror: no symbols found >>>>> dtdebug: /__overrides__ node not found >>>>> Unknown dtparam 'uart0_clkrate' - ignored >>>>> dtdebug: Opened overlay file 'overlays/mmc.dtbo' >>>>> brfs: File read: /mfs/sd/overlays/mmc.dtbo >>>>> dterror: not a valid FDT - err -9 >> >> The above may indicate a corrupted mmc.dtbo . Or it might >> be problems reading the drive and so be an example of >> garbage-in/garbage-out. >> >>>>> . . . >>>>> >>>>> That seqeunce makes no mention of: "using platform 'bcm2835'" >>>>> and the like. An example is: "found override pwr_led_gpio". >>>>> >>>>> Again, all this looks like tehre are two msdosfs involved and >>>>> the two are not the same by content. >>>>> >>>> >>>> Another possibility is that you have more in the microsd card's >>>> msdosfs than just bootcode.bin so that that microsd card might >>>> be the source of alternative files. (That makes up to 3 media >>>> that might be sources of files.) >>> >>> That's correct. The microSD's msdos partition contains >>> -rwxr-xr-x 1 root wheel 52456 Oct 28 02:12 bootcode.bin >>> -rwxr-xr-x 1 root wheel 52456 Oct 22 16:00 bootcode.bin-e >>> -rwxr-xr-x 1 root wheel 52304 Nov 22 2019 bootcode.old >>> -rwxr-xr-x 1 root wheel 0 Jan 16 2021 timeout >>> drwxr-xr-x 1 root wheel 4096 Jan 16 2021 unused >>> >>> I'm expecting that only bootcode.bin and timeout are involved. >> >> For that microsd card msdosfs file system content: yep. >> > === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From nobody Sat Oct 30 08:45:39 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id AA6201820750 for ; Sat, 30 Oct 2021 08:45:52 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HhCYr4HM0z3PwW for ; Sat, 30 Oct 2021 08:45:52 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by mail-yb1-xb35.google.com with SMTP id a129so17317415yba.10 for ; Sat, 30 Oct 2021 01:45:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cSGULIP5uvUh05mXCJyLM7VB8hIcdAQcqxBKrX+IxLo=; b=o5sNbnL8wAf8gmhFNXq6ZYA7U7XkovLhcb/Occbe+P29BdtfotJngKZV2KO4ScyUx7 gP2zWu366inIUzGNAaAbf/TzER8noqUTvL4BC7dvi6f38Qo2+KsLZCS6FrnekoiBJ3yN cSoHPni2S4DOMw5s55JmC2w4F9FMcSVHdeMtCDzViIP5z1v7HHJ+SOC631/QrrCMyvlR cAMxUbjaQlTrAKH/vOjZNRxZufl0MIQHBbF7ndDWawMDV77r4pKw5zW72FKpYJEgVpQs r7z/mQXNqNplRpQd25EPj0skhQCF1z4ZKfuIZIqoa3KldpgI/rk5BaRvRxzhRtTj/DtT vvbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cSGULIP5uvUh05mXCJyLM7VB8hIcdAQcqxBKrX+IxLo=; b=M2T+i4dUQ8lva5I7A/IqEZuFgPxmBnu8wuQbSIyDpLMFf0uTafdcJY3DkeHfkO9EX2 WKRuNY3G5vPSl/A5l8uzpTIy6teTmSiRLiBC3ZeLZam27zq0WblmG8Hlc/+hRs8DapKv 5Wdko3CfSD4bTaz8W7nRvSqPQ7Qx5aMe38gmUWFuS/GuA9AJJewWERPtz4KBNet+kQ6D bEjBoCyugHgX+wJEmm6GKcnxDBLyL4/0+0ZakAXjPHAtM94bt0nhQ0rANX7AV60nogaW D1QGnyNl+dzN2sUjw6H3gShcjLq2jgLalqtw3ylIXIOFtIjbrJ2m4MQs5ZO4LYjBcV+/ GxaA== X-Gm-Message-State: AOAM530kitbwNNj90jqMCMLoFIPLuKmt6Fsn+FqGrFAx1+jaDE9qufNm 4PfUtxzKwjRKSAIsPTfQUKejUvs0owN5pNHaG0KnNVo1 X-Google-Smtp-Source: ABdhPJysmZzZ7jLkyx73J8c8oZHdmoxvOd6fzKe9XcshHbF4yILIA5xMm0xUtTPq8guI6Qac0sgMnbKohoDNRrrkxqE= X-Received: by 2002:a25:e651:: with SMTP id d78mr8762340ybh.438.1635583552141; Sat, 30 Oct 2021 01:45:52 -0700 (PDT) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 References: <813ed641-d781-5e36-554c-65b8887f9f64@gmail.com> In-Reply-To: <813ed641-d781-5e36-554c-65b8887f9f64@gmail.com> From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Date: Sat, 30 Oct 2021 10:45:39 +0200 Message-ID: Subject: Re: (258107) audacity port needing updating To: Graham Perrin Cc: ports FreeBSD Content-Type: multipart/alternative; boundary="000000000000a041ea05cf8df8a6" X-Rspamd-Queue-Id: 4HhCYr4HM0z3PwW X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: Y --000000000000a041ea05cf8df8a6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable El s=C3=A1b., 30 oct. 2021 9:58, Graham Perrin esc= ribi=C3=B3: > On 30/10/2021 08:44, Jack L. wrote: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D25810 > > > > I'll commit this soon today. Cheers > --000000000000a041ea05cf8df8a6-- From nobody Sun Oct 31 16:14:46 2021 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BD24C1834AC3 for ; Sun, 31 Oct 2021 16:14:46 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hj1TL4tZxz3mJR for ; Sun, 31 Oct 2021 16:14:46 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.nyi.freebsd.org (portscout.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 881F82095F for ; Sun, 31 Oct 2021 16:14:46 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.nyi.freebsd.org ([127.0.1.10]) by portscout.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id 19VGEk5H060992 for ; Sun, 31 Oct 2021 16:14:46 GMT (envelope-from portscout@FreeBSD.org) Received: (from portscout@localhost) by portscout.nyi.freebsd.org (8.15.2/8.15.2/Submit) id 19VGEkdO060991; Sun, 31 Oct 2021 16:14:46 GMT (envelope-from portscout@FreeBSD.org) Message-Id: <202110311614.19VGEkdO060991@portscout.nyi.freebsd.org> X-Authentication-Warning: portscout.nyi.freebsd.org: portscout set sender to portscout@FreeBSD.org using -f Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Date: Sun, 31 Oct 2021 16:14:46 +0000 From: portscout@FreeBSD.org To: ports@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 X-ThisMailContainsUnwantedMimeParts: N Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/ports@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ devel/R-cran-crayon | 1.4.1 | 1.4.2 ------------------------------------------------+-----------------+------------ devel/pmd | 6.38.0 | 6.40.0 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt Reported by: portscout!