Thinkpad T60's ethernet device doesn't work

If you have the Thinkpad T60 laptop, maybe you will have a problem - ethernet device doesn't work. With command "dmesg", we can get some error messages that is just like:
0000:02:00.0: The NVM Checksum Is Not Valid
ACPI: PCI interrupt for device 0000:02:00.0 disabled
e1000e: probe of 0000:02:00.0 failed with error -5

It means the contents of EEPROM on the ethernet device was broken, because the checksum is not valid. For all I know, so many Thinkpad T60 laptops has the problem cause e1000e or e1000 driver return the error message and the device doesn't work.

Here is a patch to add a parameter - "eeprom_bad_csum_allow" for the e1000e kernel driver:

e1000e-allow_eeprom_bad_checksums.patch

To enable the option will lead e1000e driver to ignore checking checksums of EEPROM. So you can use the command to load the e1000e driver be patched to enable your ethernet device:
sudo modprobe e1000e eeprom_bad_csum_allow=1

BTW, I think you might see the similar patch for e1000 driver, it also do the same thing.

Well, my patch is base on original kernel of openSUSE 11.0, it also can be applied on the latest version of kernel, because the e1000e driver doesn't change with the security update. If you are not a openSUSE guy, you can try to patch your kernel driver with that still. Let me know if you got any problems on other version of kernel.

留言

  1. 您好
    在blog上看見您在Linux Kernel上
    有著很深入的了解
    想請問一下
    如何進入Open Source的世界
    目前的我沒有任何頭緒 
    謝謝....   

    回覆刪除
  2. 您過獎了,對於博大精深的 Linux Kernel ,我也只是略知一二罷了。

    Open Source 如其名,是用許多的 Source Code 所堆積出來的,了解有多深入,其實取決看 code 的數量和親自實作的多寡。當然,不只是寫程式,多去使用也是重點。

    這些是從書上比較難去得到的經驗,更何況 open source 是每天再進步的。

    BTW, 多上 IRC 與同好交流,也是一條好的管道。

    回覆刪除

張貼留言

這個網誌中的熱門文章

有趣的邏輯問題:是誰在說謊

Web 技術中的 Session 是什麼?

淺談 USB 通訊架構之定義(一)

淺談 USB 通訊架構之定義(二)

Reverse SSH Tunnel 反向打洞實錄