Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Serious Bug] #1734147 Ubuntu 17.10 Linux corrupting BIOS

Off-Topic discussions about science, technology, and non Debian specific topics.
Post Reply
Message
Author
User avatar
praka123
Posts: 195
Joined: 2007-06-23 08:11
Location: Muvattupuzha,India
Has thanked: 2 times

[Serious Bug] #1734147 Ubuntu 17.10 Linux corrupting BIOS

#1 Post by praka123 »

Ubuntu 17.10 Temporarily Pulled Due To A BIOS Corrupting Problem
Written by Michael Larabel in Ubuntu on 20 December 2017 at 05:55 AM EST.


Canonical has temporarily pulled the download links for Ubuntu 17.10 "Artful Aardvark" from the Ubuntu website due to ongoing reports of some laptops finding their BIOS corrupted after installing this latest Ubuntu release. The issue is appearing most frequently with Lenovo laptops but there are also reports of issues with other laptop vendors as well.

This issue appears to stem from the Intel SPI driver in the 17.10's Linux 4.13 kernel corrupting the BIOS for a select number of laptop motherboards. Canonical is aware of this issue and is planning to disable the Intel SPI drivers in their kernel builds. Canonical's hardware enablement team has already verified this works around the problem, but doesn't provide any benefit if your BIOS is already corrupted.

A respun Ubuntu 17.10 release with the updated kernel is expected, but as of writing the download page is still discouraging the use of 17.10.


Should your BIOS be corrupted, you may need to replace your motherboard if there is not a removable flash chip. There are some reports that resetting the BIOS does work, but it's too early to know if that works for everyone. This issue has been confirmed for several different lines of Lenovo laptops including the Yoga and IdeaPad products. There is also the reports of it affecting a few Acer, Toshiba and Dell laptops.

When the BIOS is corrupted by the Intel SPI kernel driver, the effects range from being unable to save BIOS settings to no longer being able to boot from USB devices.

The Intel SPI kernel driver is responsible for reading/writing to SPI serial flash. Due to the SPI serial flash holding the BIOS and other platform specific data, Intel's driver is supposed to make the contents read-only, but clearly something is going awry with the driver in 17.10.



https://www.phoronix.com/scan.php?page= ... -Corrupter
Debian (Testing/Unstable)

User avatar
acewiza
Posts: 357
Joined: 2013-05-28 12:38
Location: Out West

Re: [Serious Bug] #1734147 Ubuntu 17.10 Linux corrupting BIO

#2 Post by acewiza »

It's hard to imagine something like this doesn't show up in testing.
Nobody would ever ask questions If everyone possessed encyclopedic knowledge of the man pages.

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: [Serious Bug] #1734147 Ubuntu 17.10 Linux corrupting BIO

#3 Post by pylkko »

I am not at a Debian machine now so I cannot check, but according to some random commentator in the link, Debian's (unstalble/Sid) kernel config does has the Intel SPI configurations set to "N". If this is true, and the cause is indeed the SPI module, then that would mean that Debian (testing/unstalble) is not affected.

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: [Serious Bug] #1734147 Ubuntu 17.10 Linux corrupting BIO

#4 Post by Segfault »

Getting simple soldering equipment and serial programmer is much less than new motherboard.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: [Serious Bug] #1734147 Ubuntu 17.10 Linux corrupting BIO

#5 Post by bw123 »

pylkko wrote:I am not at a Debian machine now so I cannot check, but according to some random commentator in the link, Debian's (unstalble/Sid) kernel config does has the Intel SPI configurations set to "N". If this is true, and the cause is indeed the SPI module, then that would mean that Debian (testing/unstalble) is not affected.
That's good, it's okay on current stretch backport also.

Code: Select all

$ uname -a
Linux debian 4.13.0-0.bpo.1-amd64 #1 SMP Debian 4.13.13-1~bpo9+1 (2017-11-22) x86_64 GNU/Linux
$ grep -i intel_spi /boot/config-4.13.0-0.bpo.1-amd64 
# CONFIG_SPI_INTEL_SPI_PLATFORM is not set
From what I've read, sounds more like a buggy chip that bricks itself after being written. Cheap BIOS component with limited writes(once?) or buggy code from Insyde (cool name though, insyde with a 'y')

https://duckduckgo.com/html/?q=insyde+lenovo+bios
resigned by AI ChatGPT

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: [Serious Bug] #1734147 Ubuntu 17.10 Linux corrupting BIO

#6 Post by stevepusser »

Certain users have advocated using Ubuntu kernels in Debian. I hope this hasn't come back around to bite them.
MX Linux packager and developer

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: [Serious Bug] #1734147 Ubuntu 17.10 Linux corrupting BIO

#7 Post by Wheelerof4te »

It is suspicious that the bug affects only specific Ubuntu version, and only Ubuntu. More proof that regular releases of Ubuntu are just beta previews for future LTS. I had 17.10 installed, and it didn't corrupt my BIOS on HP notebook, at least I can mount and boot from USB. Even had Windows 10 after it, and now Debian.
Never heard of kernel corrupting BIOS before, but such things happen, it seems.

User avatar
HuangLao
Posts: 485
Joined: 2015-01-27 01:31
Been thanked: 1 time

Re: [Serious Bug] #1734147 Ubuntu 17.10 Linux corrupting BIO

#8 Post by HuangLao »

Shiny new crap syndrome (aka SNSS) will almost always bit you in the rear. Also, will be interesting to see if this was the result of an Ubuntu specific patch/compile.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: [Serious Bug] #1734147 Ubuntu 17.10 Linux corrupting BIO

#9 Post by stevepusser »

On Ubuntu's part, it was the result of enabling the INTEL_SPI drivers in the kernel configuration before the build, which had to be done consciously. Debian's kernel does not enable those drivers.

The reviewer's Lenovo laptop displayed the symptoms right about the same time as the 17.10 release: https://www.dedoimedo.com/computers/len ... nvram.html

Though he doesn't say anything about 17.10 on the machine, the timing makes it very suspicious.
MX Linux packager and developer

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: [Serious Bug] #1734147 Ubuntu 17.10 Linux corrupting BIO

#10 Post by Segfault »

Looking at 4.14.8 sources I do not see Intel SPI driver. Was it removed altogether? It was probably written by Intel.

Innovate
Posts: 188
Joined: 2015-12-27 01:28

Re: [Serious Bug] #1734147 Ubuntu 17.10 Linux corrupting BIO

#11 Post by Innovate »

It's so ridiculous for end-user to run non lts on daily usage from the very beginning
humans always doing crazy things. :lol:

Post Reply