Slashdot Log In
OpenSUSE Beta Can Brick Intel e1000e Network Cards
Posted by
timothy
on Tue Sep 23, 2008 09:23 AM
from the price-of-progress dept.
from the price-of-progress dept.
An anonymous reader writes "Some Intel cards don't just not work with the new OpenSUSE beta, they can get bricked as well. Check your hardware before you install!" The only card mentioned as affected is the Intel e1000e, and it's not just OpenSUSE for which this card is a problem, according to this short article: "Bug reports for Fedora 9 and 10 and Linux Kernel 2.6.27rc1 match the symptoms reported by SUSE users."
Related Stories
Firehose:New OpenSUSE beta can fry your network card by Anonymous Coward
[+]
e1000e Bug Squashed — Linux Kernel Patch Released 111 comments
ruphus13 writes "As mentioned earlier, there was a kernel bug in the alpha/beta version of the Linux kernel (up to 2.6.27 rc7), which was corrupting (and rendering useless) the EEPROM/NVM of adapters. Thankfully, a patch is now out that prevents writing to the EEPROM once the driver is loaded, and this follows a patch released by Intel earlier in the week. From the article: 'The Intel team is currently working on narrowing down the details of how and why these chipsets were affected. They also plan on releasing patches shortly to restore the EEPROM on any adapters that have been affected, via saved images using ethtool -e or from identical systems.' This is good news as we move towards a production release!"
[+]
openSUSE Launches 11.1 173 comments
Novell has unveiled their latest release to the openSUSE line with 11.1. Offering both updates and new features, Novell continues to push for more openness and transparency. The new release includes Linux kernel 2.6.27, Python 2.6, Mono 2.0, OpenOffice 3.0, and many others. "[...] Our choice was also influenced by impressive changes that are transpiring in the openSUSE community, which is growing rapidly and is also becoming more open, inclusive, and transparent. Last month, the project announced its first community-elected board, a major milestone in its advancement towards community empowerment. This is a very good openSUSE release and it delivers some very impressive enhancements. The distro has evolved tremendously in the past two releases and is becoming a very solid and usable option for regular users."
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
Badly written firmware. (Score:5, Insightful)
Re:Badly written firmware. (Score:4, Informative)
Parent
Re: (Score:3, Informative)
It appears that the bug is a combination of memory-mapped control registers which can enable flash writing and another (graphics related) problem which causes random data to be written to that area. The driver itself does not attempt to rewrite the firmware.
Re:Badly written firmware. (Score:5, Interesting)
Parent
Re: (Score:3, Insightful)
err, what's the point of having firmware if your driver can't talk to it?
Also, this isn't about firmware, it's about Non-volatile memory. The chip uses it to store things like its MAC address.
You fail.
Re:Badly written firmware. (Score:5, Informative)
the NVM is checksummed. If the checksum fails, the driver refuses to initialise the card.
It seems that something is able to write garbage data to the NVM, leaving all of its settings broken.
This isn't some database API where you get to do lots of nice high-level verification, this is twiddling bits in hardware. Of course it should be properly protected, and my discussions with Intel about this suggest that it is, and that something else is at work here, but until they release a fix, we won't know for sure.
Also, their own DOS tools to restore NIC EEPROMs actually break the laptop NICs to the point that they won't enumerate on the PCI bus, so there is literally no hope of recovery unless you happen to have a BIOS update which will rewrite all of the memory the NIC uses.
Parent
Re: (Score:3, Insightful)
There's no way that a device can check all possible combinations of input for crash-inducing behaviour. If you think it can, go read "GÃdel, Escher, Bach". In fact, go read it anyway, it's awesome.
Also there's a difference between a NIC and a web site - the NIC's API input is coming from its owner, the web site's customer is not. If you're a piece of hardware, you do what your owner tells you.
Re: (Score:3, Interesting)
Can you get us an ISBN for that book? The non-ASCII character in there got mangled by slashdot (or my browser) and all search results based on my assumptions, are trash.
Re:Badly written firmware. (Score:5, Informative)
A few years back, Mandrake merged a kernel patch in their new release that would accidentally brick certain LG CDROM drives using old firmware versions when it checked if it had writing capabilities. This was largely LG's fault for re-using a valid command code to mean 'start flashing me now' instead, and of course, no firmware was then forthcoming, leaving the drive in an unusable state.
LG ended up replacing old affected drives, and the kernel patch was rewritten. Mandrake bore the brunt of the reputation hit though for quite a while, which I suspect will happen to SuSE.
The e1000e driver is the new one for pci-e based intel pro 1000 chipsets, with the old pci and pci-x cards unaffected with the original e1000 driver. Still, that's going to be quite a lot of cards affected.
Parent
Re: (Score:2)
I don't think that's entirely possible.
Consider a cooling system. Is there any reason that shouldn't be software-controlled? If it is, the user could conceivably turn off all fans, thus overheating the device.
Sure, you could take away enough functionality that the user can't do that. But that's the tradeoff -- functionality. No decent gun wouldn't allow you to shoot yourself in the foot.
But then, I do think Linux should be in Intel's Q&A, especially for something like a network card.
Agreed, in this instance (Score:2, Interesting)
Gun and air-conditioning aside, devices should not allow accidental bricking or physical damage unless it is inherent in the function of the hardware.
For cases of loading bad firmware, the "load new firmware" instruction should have a few failsafes like magic words or what-not so it isn't accidentally invoked.
Even better, hardware devices should have a failsafe firmware burned on silicon that can be reactivated by flipping a switch, setting a jumper, or some other hardware-action-required setting. This "fa
Re: (Score:2)
!Bricked (Score:5, Funny)
Why won't people stop using the word brick to mean things that aren't bricked! All you have to do is use a quasi-negative reverse transponder linked to your flux capacitor to generate an inverse tachyon field, connect it to the JTAG while chanting Siaynoq and it will come right up. Sheesh!
Re:!Bricked (Score:5, Funny)
I also hate it when people call these things bricked incorrectly.
Bricked XBOXen, bricked PSPs, bricked iPhones and now bricked network cards.
People, these things are not bricked! Believe me. I've tried building houses and garden walls out of them and they are absolutely fecking useless as bricks!
Please use the correct term in future. These items are not bricked, they are just FUBI (fecked up by incompetence)
Thank you...
Parent
That's not what Bricked means!!!!oneone1 (Score:5, Funny)
I hate it when people keep incorrectly using brick . . . . wait, what? They used it right? Oh . . . my bad, carry on.
Kernel fix, perhaps? (Score:4, Informative)
Kernel 2.6.27-rc7 has a changelog entry that reads:
Christopher Li (1):
e1000: prevent corruption of EEPROM/NVM
Re:Kernel fix, perhaps? (Score:5, Informative)
Andrey reports e1000 corruption, and that a patch in vmware's ESX fixed it.
The EEPROM corruption is triggered by concurrent access of the EEPROM read/write. Putting a lock around it solve the problem.
link [kernel.org]
Parent
Oh great. (Score:5, Interesting)
Remember how everyone on /. called bullshit?
This doesn't look good for our cause.
Re: (Score:3)
This doesn't look good for our cause.
It doesn't, but it does get me thinking: Given that it's possible for a badly behaved driver running in the kernel to stamp over NVRAM rendering hardware useless, how many pieces of bricked hardware have I thrown out over the years that were bricked because of a freak coincidence involving a rogue driver?
Bear in mind that many drivers in Windows run quite close to ring 0 of the kernel and they would be just as capable of causing such a problem.
What is really happening regarding this problem (Score:5, Informative)
I work on the e1000 team (including the e1000e driver) and here is what we know. A panic in another driver (believed to be the gfx driver but uncertain) which scribbles over the NIC/LOM non-volatile memory (NVM). This is only happening with the 2.6.27-rc kernels on ICHx systems. Since the NIC/LOM VNM is part of the whole BIOS image other things in the system could be effected by this driver panic as well. An update of the system BIOS will restore the NIC/LOM to be operational. We have some patches under test right now that we will be releasing later today to protect the NIC/LOM NVM. That should help narrow down who is scribbling over NVM.
Re: (Score:3, Funny)
This post was what to helpful and informative.
It doesn't belong in the comments of a Slashdot article!
Re:What is really happening regarding this problem (Score:5, Funny)
This post was what to helpful and informative.
Good thing you set it straight again with a sentence that's both incomprehensible and contains a typo.
Parent
Re:What is really happening regarding this problem (Score:4, Informative)
As I just pointed out elsewhere, that particular comment is not correct.
A BIOS update *may* restore the NIC, but it depends purely on the BIOS update including that information.
All of the available updates for my laptop do not include that, so the device was not recoverable. ie bricked.
Parent
Re:What is really happening regarding this problem (Score:4, Informative)
I've written an E1000 driver (for a realtime program on a different OS). The issue is that once you have the base address registers for the card mapped into system memory, they are there. There's no super-special secret mechanisim devoted to writing only to the flash RAM.
Oversimplifying things a great deal (so experts out there, please don't roast me over the nitty details), every PCI device in your system presents software drivers with up to 6 "Base Address Registers" (BARs). Most PCI devices really only use one or two of those. This is (mostly) the device-driver's only window into the PCI device.
At bootup the system places the physical address [wikipedia.org] of the device's control registers and memory into its BARs. When the device driver starts up later, it grabs those physical addresses and maps them into virtual memory [wikipedia.org] so that software can get at them.
Once this is done, *all* the device's control registers are avialble to software. If one of these registers can command the card to write data to flash (as one of the control registers on the E1000 does), then the proper (or improper) value written to that memory location by *anyone* will cause a flash write. Its that simple.
Parent
Mandriva notification (Score:4, Insightful)
It affects any 2.6.27rc kernel, whether it's in a distribution or a clean upstream build.
We have posted a full, detailed notification of the issue [mandriva.com] for Mandriva users.