All of lore.kernel.org
 help / color / mirror / Atom feed
* PROBLEM: No static MAC address for usb gadget ethernet via kernel parameter any more.
@ 2022-05-12 13:38 Maximilian Senftleben
  2022-05-12 21:34 ` Marian Postevca
  2022-05-17 18:55 ` Marian Postevca
  0 siblings, 2 replies; 8+ messages in thread
From: Maximilian Senftleben @ 2022-05-12 13:38 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: linux-usb, linux-kernel, Marian Postevca

[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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-05-31  8:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-12 13:38 PROBLEM: No static MAC address for usb gadget ethernet via kernel parameter any more Maximilian Senftleben
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.