From nobody Fri Oct 13 14:06:40 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 4S6Sww5wBhz4x3Mf for ; Fri, 13 Oct 2023 14:06:40 +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 4S6Sww466Mz3MNH for ; Fri, 13 Oct 2023 14:06:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697206000; a=rsa-sha256; cv=none; b=x2Hu4WJTTOB5HKzhwa7Lo93lrK/myj4PbxLwF0vSrJl7oNqxb3iwcADguGkE0L1/9DiUkT nr7fdwvfjIi8cAAhrPIqoHYTsTb9jkLAf+PIiFelFhYtMarZ29tWoe8HOdx/X4JjNs5QAb dl8EpIHXeuful9tz0M3yywXvwuqdb3zMRxF3udxmClNhRW2u0LdgS+r5zgMirP6pRN3yvE b8mOJhhUCdxsXHPhLhoZNI7vhv+6RVusIGVCJEeUQq/k6O/m5DgRQRZuRV2wWZcYFaX3Eu cVoJCFuYICHa2VMVQRJS6kiohzLjwb8YTOk0A/rja/W9WGnJOdpdPDCRXtLwEw== 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=1697206000; 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=rwq2jtZoikKfQxXMFKdN2TZRkZMd0OY8RLFJkfnIG0g=; b=L9HdVqETamazCXrRZjk+mw1UgPM/s27jntzk9UHtZm/NY4Ng9EuK+HX4WNnEOt33kvV58S JGRQWqZ+L8gTHbBZ7xEAjTQ5QyVP3aejAVtlXKum4YV2AfUJ0e50FnAiotT1qsINX83p/c 9dphnulDd8srV8f0NyRgd9PxJb1ptGqLZ58NDibOb5TRtxRkxSr6lsMOYKAK7b70FuA6BL IlTnk8XwE17Bq9q0k5v5avc0Vr15sZwDYoCgimrJ/6oAjpk5NMZyI6bGKqGOUxh84DlnwJ lSkUoGl7m/MM+cKVCe82ls10hDFM4gWTe35nNwQQD4W9W2zpcF3O7RgebOj0EQ== 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 4S6Sww38z6zr7W for ; Fri, 13 Oct 2023 14:06:40 +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 39DE6ee2073599 for ; Fri, 13 Oct 2023 14:06:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39DE6eSW073598 for net@FreeBSD.org; Fri, 13 Oct 2023 14:06:40 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: Fri, 13 Oct 2023 14:06:40 +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: ronald@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ronald@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete bug_status assigned_to attachments.created 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 Ronald Klop changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #245239|0 |1 is obsolete| | Attachment #245577|0 |1 is obsolete| | Status|Open |In Progress Assignee|net@FreeBSD.org |ronald@FreeBSD.org --- Comment #25 from Ronald Klop --- Created attachment 245603 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D245603&action= =3Dedit git diff using attach_post_sub (In reply to Patrick M. Hausen from comment #24) Thanks you for the testing. I think I found what is causing the crash. ue->ifp is NULL I made a new patch. Please undo the previous two and apply this one. git restore sys/dev/usb/net/if_smsc.c git restore sys/net/if_ethersubr.c Please make a picture again about what happens. If this works I have a bonus for you. =F0=9F=A4=A9=F0=9F=A4=A9=F0=9F=A4=A9 With the patch applied change line 1657 in if_smsc.c from "#if 0" to "#if 1= ". This should give you the MAC address supplied by Raspberry Pi. --=20 You are receiving this mail because: You are the assignee for the bug.=