Your message dated Sat, 15 May 2021 05:06:24 -0700 (PDT) with message-id <609fb940.1c69fb81.488e4.ddf2@mx.google.com> and subject line Closing this bug (BTS maintenance for src:linux bugs) has caused the Debian Bug report #856049, regarding e1000: EEPROM write failed on 82540EM to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 856049: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856049 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: ethtool: Can not use --change-eeprom option
- From: Yvan Masson <yvan.masson@openmailbox.org>
- Date: Fri, 24 Feb 2017 19:52:43 +0100
- Message-id: <20170224195243.13782288@thinkpad-t42.home>
Package: ethtool Version: 1:4.8-1 Severity: normal Dear maintainer, The EEPROM of my Ethernet NIC has been flushed for some unknown reason. I would like to use ethtool to restore my EEPROM (fortunately I have a dump). Here is one simple "test command" I tried and which should be valid according to the manpage and examples found on the net: # ethtool --change-eeprom enp2s1 magic 0x100e8086 offset 0x10 length 1 \ value 0xff But unfortunately, I always get this error: "Cannot set EEPROM data: Operation not permitted" I am probably missing something, in which case please apologize, but maybe it is really a bug/something we can not do anymore with recent kernels? Maybe what I am probably be missing should be written in the manpage or in /usr/share/doc/ethtool/...? Do not hesitate to ask if i can provide more information. Best regards, Yvan # ethtool -e enp2s1 Offset Values ------ ------ 0x0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # lspci -vnn: ... 02:01.0 Ethernet controller [0200]: Intel Corporation 82540EM Gigabit Ethernet Controller [8086:100e] (rev 03) Subsystem: Intel Corporation 82540EM Gigabit Ethernet Controller [8086:100e] Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11 Memory at c0220000 (64-bit, non-prefetchable) [size=128K] Memory at c0200000 (64-bit, non-prefetchable) [size=64K] I/O ports at 8000 [size=64] [virtual] Expansion ROM at c0210000 [disabled] [size=64K] Capabilities: [dc] Power Management version 2 Capabilities: [e4] PCI-X non-bridge device Capabilities: [f0] MSI: Enable- Count=1/1 Maskable- 64bit+ Kernel driver in use: e1000 Kernel modules: e1000 The dump I would like to restore at the end (I just need to change the MAC address): Offset Values ------ ------ 0x0000: 00 01 6c cb 09 3c 00 0b ff ff ff ff ff ff ff ff 0x0010: 00 00 00 00 0b 66 49 05 14 10 1e 10 86 80 a5 b1 0x0020: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0x0030: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0x0040: cf 00 61 78 0b 14 00 00 c8 04 ff ff ff ff ff ff 0x0050: ff ff ff ff ff ff ff ff ff ff ff ff ff ff 02 06 0x0060: 2c 01 00 40 11 12 ff ff ff ff ff ff ff ff ff ff 0x0070: ff ff ff ff ff ff ff ff ff ff ff ff ff ff 7c fe You will also find attached the strace for the above command. -- System Information: Debian Release: 9.0 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 4.9.0-1-686 (SMP w/1 CPU core) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages ethtool depends on: ii libc6 2.24-9 ethtool recommends no packages. ethtool suggests no packages. -- no debconf informationAttachment: ethtool.strace
Description: Binary dataAttachment: pgpZi_NQe704f.pgp
Description: Signature digitale OpenPGP
--- End Message ---
--- Begin Message ---
- To: 856049-done@bugs.debian.org
- Cc: 856049-submitter@bugs.debian.org
- Subject: Closing this bug (BTS maintenance for src:linux bugs)
- From: carnil@debian.org
- Date: Sat, 15 May 2021 05:06:24 -0700 (PDT)
- Message-id: <609fb940.1c69fb81.488e4.ddf2@mx.google.com>
Hi This bug was filed for a very old kernel or the bug is old itself without resolution. If you can reproduce it with - the current version in unstable/testing - the latest kernel from backports please reopen the bug, see https://www.debian.org/Bugs/server-control for details. Regards, Salvatore
--- End Message ---