From nobody Thu Oct 12 13:04:47 2023 X-Original-To: net@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 4S5qc05BLBz4wL9p for ; Thu, 12 Oct 2023 13:04:48 +0000 (UTC) (envelope-from bugzilla-noreply@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 4S5qc043cZz4HcS for ; Thu, 12 Oct 2023 13:04:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697115888; a=rsa-sha256; cv=none; b=aJnVxrEEWasW8QBmZ25tx8jqBCXpUirANXy3kHi8AICL69Dwx+MGG18yIg0bHHSXtcbfwr NEKlcm7rObOcHpJ6RE4fTBeEhFSDFaVqiPSIzruItGL+Unw0zrdUwiK3cwFXpGMIN1CHr8 4q54/eq1mlXwUY2+HDIJDxpqIQ4bLmuVBDRKPD2YsHSq3+qPKQPV/K+VbkZR+MuDuhS/IY B58g12ZGvM9E0mpu8x46xlhicDTQ9UG2+059617kDzsNwyoy0Ay76pr1GRoRzp2m9ayfKL kQ3A4XlO2gsE0gs9Xrl4NJZXsv07OcuKiNpe5r8mhBvs5/u9/ptVtHFMZMlOTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697115888; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=p0Xo0yUZd0bjMDyT5yhF+oHRqY1l18SlbKcXXCZux+s=; b=jAY75ZFNpz3ENxvpFJrt8t5x3GMLgpkEgN/Mj5CUZxjFizvtmD/lgpZCbKDSKyCRRxZSSy wTHOT8AGsWwWn40dgQJyvMYzwn0UcmaRTt6nUyUANRtl5xHe6uhbSDON3Ut3Tc0mNvrlIQ Ph9gXmo6KyGEAa29X4cK3EI9qc2I2sGVf0sno3jYpnmKfQzgz6xu0/57TsGDJhrhZI4upD 3KaPu5KXjVJEkbcbxSTWZGK3SA2oZuzVsXXsTvZMr3M1FW62li9DaPqcIsbxs5dv0NtcLA El/9kbQAE3YDRXE0Q0WoonriXVUm5AAe/gJf3Vvgld1nY/c6eHk0xcl+NpdcDQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4S5qc036hzz155c for ; Thu, 12 Oct 2023 13:04:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 39CD4m5j057556 for ; Thu, 12 Oct 2023 13:04:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39CD4mH0057554 for net@FreeBSD.org; Thu, 12 Oct 2023 13:04:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 274092] if_smsc.c needs to use ether_gen_addr instead of read_random for more stable MAC address Date: Thu, 12 Oct 2023 13:04:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pmh@hausen.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274092 --- Comment #17 from Patrick M. Hausen --- Unfortunately I cannot boot the board without USB Ethernet connected. It's a compute module placed into this board: https://www.waveshare.com/wiki/Compute_Module_PoE_Board Also although I tried for a long time I could not get serial console to wor= k. So once the system crashes at boot and I lose SSH access all I can do is re-image. With a debug kernel will there be more output to get a screenshot with a camera? Or can I dd the entire EMMC of the module to a file and then extract information, somehow? Kind regards, Patrick For the moment I am satisfied to be able to use these tasks in Ansible to s= olve the matter: - name: Read serial number ansible.builtin.shell: | set -o pipefail && /bin/kenv | \ /usr/bin/awk '/smbios.system.serial/ {printf "%s:%s:%s\n", substr($0, length($0)-6, 2), substr($0, length($0)-4, 2), substr($0, length($0)-2, 2= )}' register: mac_lower changed_when: false - name: Set MAC address ansible.builtin.copy: dest: "/etc/start_if.{{ network.wired.interface }}" owner: root group: wheel mode: '0644' content: | /sbin/ifconfig $1 down /sbin/ifconfig $1 link b8:27:eb:{{ mac_lower.stdout }} /sbin/ifconfig $1 up Anyway what would be the result if we get this to work? As I have been argu= ing on the mailinglist the RPi foundation clearly documents that we should use = the device's serial number to generate the MAC and nothing else for all RPi 3 a= nd older. Kind regards, Patrick --=20 You are receiving this mail because: You are the assignee for the bug.=