Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2007 20:56:57 +0800
From:      "Rong-en Fan" <grafan@gmail.com>
To:        "Jack Vogel" <jfvogel@gmail.com>
Cc:        Bill Paul <wpaul@freebsd.org>, jon.otterholm@ide.resurscentrum.se, Gleb Smirnoff <glebius@freebsd.org>, freebsd-stable@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: Lenovo X60 em workaround
Message-ID:  <6eb82e0703150556u39ee7769s29fa73cbbbc25811@mail.gmail.com>
In-Reply-To: <2a41acea0701221030x52dd8821pd858ae7e6740ce92@mail.gmail.com>
References:  <2a41acea0701171258k16b4c6ebuf1d4794b89d0749b@mail.gmail.com> <20070120065321.DB61216A405@hub.freebsd.org> <2a41acea0701201435g6f960b40r3cf0552d87ab2bfd@mail.gmail.com> <20070122083506.GW4485@FreeBSD.org> <2a41acea0701221030x52dd8821pd858ae7e6740ce92@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/23/07, Jack Vogel <jfvogel@gmail.com> wrote:
>
> Hey Gleb,
>
> Acknowledge... I can do better than that, I have a fix for this problem, and
> its not temporary. Here is the code change (not a patch, I'm very busy),
> its in hardware_init, should be obvious how to patch:
>
>        /* Make sure we have a good EEPROM before we read from it */
>         if (e1000_validate_nvm_checksum(&adapter->hw) < 0) {
>                 /*
>                 ** Some PCI-E parts fail the first check due to
>                 ** the link being in sleep state, call it again,
>                 ** if it fails a second time its a real issue.
>                 */
>                 if (e1000_validate_nvm_checksum(&adapter->hw) < 0) {
>                         device_printf(dev,
>                             "The EEPROM Checksum Is Not Valid\n");
>                         return (EIO);
>                 }
>         }
>
> This is already checked into my code base at Intel, I've just been too
> busy to do anything with it, be my guest if you wish to check it in after
> testing...

I accidentally found this :

http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-67166

which patches the eeprom. And it solves by problem.

Regards,
Rong-En Fan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6eb82e0703150556u39ee7769s29fa73cbbbc25811>