From nobody Wed Jul 6 00:14:26 2022 X-Original-To: freebsd-arm@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 555961D08665 for ; Wed, 6 Jul 2022 00:14:38 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic307-8.consmr.mail.gq1.yahoo.com (sonic307-8.consmr.mail.gq1.yahoo.com [98.137.64.32]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ld0R12X85z4mPP for ; Wed, 6 Jul 2022 00:14:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1657066469; bh=u/xI5sgjoZZy9wmL49ieq8yZWIP0TfE6StsWDizR5vg=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=Dd9rmkmZ0AlqVWemX+qxQkvfELOHi2+HashkI0sopDNzl1rbGMEh5NOuPXfpN/bsnGXAcgJoRkQXnFD4Pifp74rK4d50pduFMav2QxWDoS+1guGs1Vu6NYHMvsfJdYxeL6D9f7zN/5EJXLzyUF1cab3iADXtkrfdZilfeG2ukT9pSDJcmiRIihPiiiAJwzroGibU9YqNzldjKszx159ZkG0EzL2I1uNjZRcPs7I0sJquv2xjKqMKB1EfeII3wSx0C9sZpCtYbojuAgUKnGq7nm2EGqnEbw+ZLWi9gtCLySle+3w1/7BG7UgmsFBRRvduuNyUdk14NQhnd+OjHmG7ww== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1657066469; bh=BZ41PdQKOz8Gd1gxL8CCasxWHjf0khUSkLpPKkS0iyE=; h=X-Sonic-MF:Subject:From:Date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D5ib4p7HDygWRY6soOuY._yC0k_k jUiS0lGOwCWg1zIsi4K0EKIDIvHB5o.HewjoW7zZjHoEX998QObdoE447obYELHyUxDP2.ktng3L Zmh6HA_LnrYvBGPvAZYYjvb1EaX01yAItHMP2Ytm0ccjkfSPOPz7W4O5ut4_tN7xBDws6vTbMjRH 6SoeRAXvcXH7gfz_0YfZWsSjRw4YH2VHzCE3WaNJkZizwB4Af.K6T1yc72NYqLsjbkBeQsvAn6I8 8iLAxt7Djyyq8088C2eN0SrICZJ8V9Cl2jllq7QSXoyvjMWcXIDCmfkF3BvjzMBCpWYdeg.o8af8 1hxA0QwJqGc1jiExpd9689S4iGPhBtga_zTd4PYB91HNNEA8uXGeBW6UPdvAKFnYwR9qrwdRIiTV hyLAWIXsS_vdvt5TPd7JrSf_ctEej0quC3ppHzcDWznBFn6XgRDQepf4JOpGWA384SA3EZkL8ml3 IKX6k_LpQMZ0.5MwnMhUdv6dzFCluBxMbjy.M1U4MTIhjbiZUu7Y8Wn.zibXu1ZF7eQbZSuFoqDn PUg-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.gq1.yahoo.com with HTTP; Wed, 6 Jul 2022 00:14:29 +0000 Received: by hermes--production-gq1-56bb98dbc7-fn7k9 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID eeb02c5400c22052f898b70bad5562f6; Wed, 06 Jul 2022 00:14:27 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: duplicate MAC - Re: 13.1R problems on Pi3 From: Mark Millard In-Reply-To: <0cd9ee13-9340-8bc4-2b92-171ca83534ee@denninger.net> Date: Tue, 5 Jul 2022 17:14:26 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <7663F129-6A84-469C-B89A-F24142E3CEEE@yahoo.com> References: <20220704003639.GA1165@www.zefox.net> <8820A9EC-A25E-4D0A-9F8F-52114E58B66F@yahoo.com> <6c377413-9430-54d2-3f92-1215055ca30a@denninger.net> <20220704152834.GA1771@www.zefox.net> <7ce87eef-ded5-8b00-3f11-14407b8af78d@denninger.net> <20220704182526.GB1771@www.zefox.net> <212C86C0-17DB-45F5-A59D-8BDC1932378E@yahoo.com> <1645012198.135.1657014956867@localhost> <6B24FF55-7010-40ED-B32B-AA46F0E7ED80@yahoo.com> <20220705233440.GA9228@www.zefox.net> <0cd9ee13-9340-8bc4-2b92-171ca83534ee@denninger.net> To: Karl Denninger X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4Ld0R12X85z4mPP X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=Dd9rmkmZ; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.32 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]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; 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_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.32:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MLMMJ_DEST(0.00)[freebsd-arm]; 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] X-ThisMailContainsUnwantedMimeParts: N On 2022-Jul-5, at 16:37, Karl Denninger wrote: > On 7/5/2022 19:34, bob prohaska wrote: >> On Tue, Jul 05, 2022 at 07:02:18AM -0700, Mark Millard wrote: >>=20 >>=20 >>>> So for you I would guess: >>>>=20 >>>> ifconfig_ue0=3D"ether ??:??:??:??:??:?? inet 50.1.20.28 netmask = 255.255.255.0" >>>>=20 >> =20 >> I tried a few variants, all produced a dead connection.=20 >>=20 >> Using one like you suggested: >>=20 >> # ethernet address increased by 1 in the last digit >> ifconfig ue0=3D"ether b8:27:eb:71:46:4f inet 50.1.20.28 netmask = 255.255.255.0" >>=20 >> produced a flood of errors during boot: >> ifconfig: interface ue0=3Dether b8:27:eb:71:46:4f inet 50.1.20.28 = netmask 255.255.255.0 does not exist >>=20 >> There was clearly no network connectivity, but the serial console >> remained responsive. The host sharing the same MAC address exhibited >> no connectivity problems.=20 >>=20 >>=20 >> Another suggestion was found in an old forum post, assigning the IP >> in the usual fashion but adding an alias: >>=20 >> ifconfig_ue0=3D"inet 50.1.20.28 netmask 255.255.255.0"=20 >> ifconfig_ue0_alias0=3D"link b8:27:eb:71:46:4f" >> (trading ether for link had no effect) >>=20 >> resulted in the gateway (and everything else) being unreachable.=20 >>=20 >> Thanks for writing! >>=20 >> bob prohaska >>=20 > Crap - you have to see if you can get u-boot (e.g. in config.txt) to = do it then.... config.txt is for the RPi* firmware. I've sent notes about doing this earlier. U-Boot is not part of the RPi* firmware, it is an optional, separate addition. (An alternative is EDK2 UEFI/ACPI software.) FreeBSD choose to use U-Boot instead of EDK2. Some linux based distributions do not use either. But all use some vintage of RPI* firmware. > that's not supposed to happen (manufacturing two devices with the same = MAC address) and is EXTREMELY not-nice for the very reason you've = discovered. Bob P. has not reported on what a RaspiOS reports for: # vcgencmd otp_dump Parts of the output should be interesting relative to the duplication if he can generate and capture the output. > Linux's boot line has an override available for it, so there IS a way. Quoting a prior message that avoid even boot line use: I've found references to an undocumented control in config.txt : force_mac_address=3D??:??:??:??:??:?? See, for example, https://forums.raspberrypi.com/viewtopic.php?t=3D327562 Apparently, force_mac_address controls what value shows up in the device tree for what the ethernet0 alias points to in the device tree. Note that having a odd .dtb file could lead to force_mac_address not working. (The RPi* firmware reads the file and then makes a device tree with some modifications applied.) END QUOTE While the official documentation does not cover it, RPi* engineers talk about it on the forums at times when supporting people with problems. =3D=3D=3D Mark Millard marklmi at yahoo.com