Re: [bug] e100 bug: checksum mismatch on 82551ER rev10




Molle Bestefich wrote:

Auke Kok wrote:

If you have received a motherboard or card with a broken EEPROM then your card is in a limbo state - it might work but results are unreliable and may cause your entire system to break (and even data
corruption).

Sure, and on the other hand, it might work (seemingly) perfectly, as it has done in the past, and will continue to do so as long as the owner wishes it to.

You should contact the hardware vendor and have the board replaced or
upgraded with a proper EEPROM. Continuing to work with the corrupted
EEPROM image that you have now can seriously hurt you later on.

Or a driver change can hurt me *right now*, by leaving my system without connectivity.

Every single IP130 I've had my hands on has had an EEPROM that the
Linux driver declared bad.

I'm now seeing this problem with a Thinkpad T23. I have a second T23 I can test, and will try to do so tonight.

I second the request to at least have a driver option to ignore checksum failures.

Auke said earlier:

The NICs are working perfectly.

How can you tell? Do you know if jumbo frames work correctly? Is the
device properly checksumming? is flow control working properly? These
and many, many more settings are determined by the EEPROM. Seemingly it
may work correctly, but there is no guarantee whatsoever that it will work
correctly at all if the checksum is bad. Again, you can lose data, or
worse, you could corrupt memory in the system causing massive failure (DMA
timings, etc). Unlikely? sure, but not impossible.

Let's assume that these things are all true, and the NIC currently does not work perfectly, just imperfectly, but acceptably. With the recent driver change, it now does not work at all. That's surely a bug in the driver.

---
Charlie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • New max6875 driver may corrupt EEPROMs
    ... driver may cause EEPROM corruptions if used on random systems. ... The EEPROM part of the MAX6875 chip is accessed using rather uncommon ... data write operation, but for a standard EEPROM, this instead means ... system with such a chip would corrupt it as well. ...
    (Linux-Kernel)
  • [PATCH] max6875: new i2c device driver
    ... max6875: new i2c device driver ... +It also provides 512 bytes of user EEPROM. ... the config EEPROM is read into the registers. ... +static struct bin_attribute config_eeprom_attr = { ...
    (Linux-Kernel)
  • Re: [bug] e100 bug: checksum mismatch on 82551ER rev10
    ... Maybe they've changed the BABA magic, or the checksum logic entirely, ... Intel provides the vendors with the proper tools to make valid EEPROMs, ... the driver checks them for a very good reason. ... (Do you happen to know where the EEPROM is located, ...
    (Linux-Kernel)
  • Re: Need to access Specific EHCI operational registers
    ... In this eeprom, there are the PCI ... But as some registers exist to ... This driver must be mapping the PCI BAR and access to the standard area ...
    (microsoft.public.development.device.drivers)
  • Re: checksum in (i2c) eeprom driver
    ... >> IMHO the eeprom driver is more of a demonstration driver than one of ... In as much as eeprom is a demonstration driver, ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)