Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| linux:changemacnvramethtool [2026/02/12 16:42] – Tabelle Magic-Numbers devnull | linux:changemacnvramethtool [2026/02/12 17:17] (aktuell) – hinweis devnull | ||
|---|---|---|---|
| Zeile 57: | Zeile 57: | ||
| Es hat sich herausgestellt, | Es hat sich herausgestellt, | ||
| </ | </ | ||
| + | |||
| + | ===== Hilfe ===== | ||
| + | ===== Bad Address beim Aufruf von ethtool -E ===== | ||
| + | Bis jetzt deutete das immer auf eine fehlerhafte Magic Number hin | ||
| + | |||
| + | ===== Invalid MAC Address ===== | ||
| + | Nachdem man eine neue Mac-Adresse in den NVRAM geschrieben hat und auch keine Fehlermeldung von ethtool bekam, kann es dennoch sein, dass es Quatsch war, was man rein schrieb. | ||
| + | Ich " | ||
| + | Beim nächsten Boot des Systems bemängelte der Kernel: <wrap hi> | ||
| + | |||
| + | Diese Meldung wird von der Methode '' | ||
| + | |||
| + | **Die Lösung sieht wir folgt aus:** | ||
| + | * Kernel als Source herunterladen | ||
| + | * Datei **include/ | ||
| + | * die Methode muss dazu gebracht werden, immer true zurückzugeben, | ||
| + | * is_valid_ether_addr - Determine if the given Ethernet address is valid | ||
| + | * @addr: Pointer to a six-byte array containing the Ethernet address | ||
| + | * | ||
| + | * Check that the Ethernet address (MAC) is not 00: | ||
| + | * a multicast address, and is not FF: | ||
| + | * | ||
| + | * Return: true if the address is valid. | ||
| + | * | ||
| + | * Please note: addr must be aligned to u16. | ||
| + | */ | ||
| + | static inline bool is_valid_ether_addr(const u8 *addr) | ||
| + | { | ||
| + | /* FF: | ||
| + | * explicitly check for it here. */ | ||
| + | return !is_multicast_ether_addr(addr) && !is_zero_ether_addr(addr); | ||
| + | }</ | ||
| + | * is_valid_ether_addr - Determine if the given Ethernet address is valid | ||
| + | * @addr: Pointer to a six-byte array containing the Ethernet address | ||
| + | * | ||
| + | * Check that the Ethernet address (MAC) is not 00: | ||
| + | * a multicast address, and is not FF: | ||
| + | * | ||
| + | * Return: true if the address is valid. | ||
| + | * | ||
| + | * Please note: addr must be aligned to u16. | ||
| + | */ | ||
| + | static inline bool is_valid_ether_addr(const u8 *addr) | ||
| + | { | ||
| + | return true | ||
| + | }</ | ||
| + | * den Kernel konfigurieren | ||
| + | * den Kernel kompilieren | ||
| + | * die Module kompilieren | ||
| + | * den neuen Kernel booten | ||
| + | * <WRAP center round alert 60%> | ||
| + | Dieser Kernel sollte nicht produktiv verwendet werden, sondern nur für die Reparatur dieses Fehlers. | ||
| + | </ | ||
| + | |||
×
iphelper toolbox
you see this when javscript or css is not working correct
Untested