[Bug 274092] if_smsc.c needs to use ether_gen_addr instead of read_random for more stable MAC address
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Oct 2023 14:06:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274092
Ronald Klop <ronald@FreeBSD.org> 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 <ronald@FreeBSD.org> ---
Created attachment 245603
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=245603&action=edit
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
<apply this patch>
<build kernel>
<boot>
Please make a picture again about what happens.
If this works I have a bonus for you. 🤩🤩🤩
With the patch applied change line 1657 in if_smsc.c from "#if 0" to "#if 1".
<build kernel>
<boot>
This should give you the MAC address supplied by Raspberry Pi.
--
You are receiving this mail because:
You are the assignee for the bug.