From: Maximilian Senftleben <kernel@mail.msdigital.de>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
Marian Postevca <posteuca@mutex.one>
Subject: PROBLEM: No static MAC address for usb gadget ethernet via kernel parameter any more.
Date: Thu, 12 May 2022 15:38:47 +0200 [thread overview]
Message-ID: <dfaa54ab-1b03-7aec-5927-d52a4233e56a@msdigital.de> (raw)
[1.] One line summary of the problem:
No static MAC address for usb gadget ethernet via kernel boot parameter
any more.
[2.] Full description of the problem/report:
In 5.15. and before we were able to set a static MAC address for the usb
gadget ethernet connection using kernel parameters "g_ether.dev_addr"
and "g_ether.host_addr".
Since 5.16. and more concrete after commit
890d5b40908bfd1a79be018d2d297cf9df60f4ee, this is no longer possible,
and a random MAC address is assigned.
(Possible Regression)
[3.] Keywords (i.e., modules, networking, kernel):
usb, gadget, mac, g_ether
[4.] Kernel information
[4.1.] Kernel version (from /proc/version):
Linux version 5.17.4-141174-ge11818a6ec02 (ms@local)
(arm-v7a-linux-gnueabihf-gcc (OSELAS.Toolchain-2020.08.0 10-20200822)
10.2.1 20200822, GNU ld (GNU Binutils) 2.35) #14 SMP Thu May 12 13:51:50
CEST 2022
[4.2.] Kernel .config file:
-
[5.] Most recent kernel version which did not have the bug:
5.15
[6.] Output of Oops.. message (if applicable) with symbolic information
resolved (see Documentation/admin-guide/bug-hunting.rst)
-
[7.] A small shell script or example program which triggers the problem
(if possible)
-
[8.] Environment
-
[9.] Other notes, patches, fixes, workarounds:
In 5.17.4 reverting said commit 890d5b40908bfd1a79be018d2d297cf9df60f4ee
did resolve the issue for me.
next reply other threads:[~2022-05-12 13:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-12 13:38 Maximilian Senftleben [this message]
2022-05-12 21:34 ` Marian Postevca
2022-05-17 18:55 ` Marian Postevca
2022-05-18 10:00 ` Maximilian Senftleben
[not found] ` <83b013eb-b320-f397-0ecc-f4824f3f45b9@msdigital.de>
2022-05-22 20:17 ` Marian Postevca
2022-05-23 14:36 ` Maximilian Senftleben
2022-05-26 6:54 ` Marian Postevca
2022-05-31 8:38 ` Maximilian Senftleben
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dfaa54ab-1b03-7aec-5927-d52a4233e56a@msdigital.de \
--to=kernel@mail.msdigital.de \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=posteuca@mutex.one \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®