[Serious Bug] #1734147 Ubuntu 17.10 Linux corrupting BIOS

If it doesn't relate to Debian, but you still want to share it, please do it here

[Serious Bug] #1734147 Ubuntu 17.10 Linux corrupting BIOS

Postby praka123 » 2017-12-21 10:00

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
praka123
 
Posts: 188
Joined: 2007-06-23 08:11
Location: Cochin,India

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

Postby acewiza » 2017-12-21 17:08

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
acewiza
 
Posts: 358
Joined: 2013-05-28 12:38
Location: Out West

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

Postby pylkko » 2017-12-21 18:41

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.
User avatar
pylkko
 
Posts: 1353
Joined: 2014-11-06 19:02

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

Postby Segfault » 2017-12-21 18:53

Getting simple soldering equipment and serial programmer is much less than new motherboard.
Segfault
 
Posts: 766
Joined: 2005-09-24 12:24

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

Postby bw123 » 2017-12-21 18:55

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
User avatar
bw123
 
Posts: 3532
Joined: 2011-05-09 06:02
Location: TN_USA

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

Postby stevepusser » 2017-12-23 21:19

Certain users have advocated using Ubuntu kernels in Debian. I hope this hasn't come back around to bite them.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, Pale Moon 28.2.0, wine-staging 3.20, GIMP 2.10.8, Cinnamon 3.8, Midori 6.0
User avatar
stevepusser
 
Posts: 10138
Joined: 2009-10-06 05:53

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

Postby Wheelerof4te » 2017-12-24 12:04

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
Wheelerof4te
 
Posts: 1134
Joined: 2015-08-30 20:14

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

Postby HuangLao » 2017-12-24 19:07

Shiny new shit 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
HuangLao
 
Posts: 461
Joined: 2015-01-27 01:31

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

Postby stevepusser » 2017-12-24 20:28

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.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, Pale Moon 28.2.0, wine-staging 3.20, GIMP 2.10.8, Cinnamon 3.8, Midori 6.0
User avatar
stevepusser
 
Posts: 10138
Joined: 2009-10-06 05:53

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

Postby Segfault » 2017-12-24 20:29

Looking at 4.14.8 sources I do not see Intel SPI driver. Was it removed altogether? It was probably written by Intel.
Segfault
 
Posts: 766
Joined: 2005-09-24 12:24

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

Postby Innovate » 2017-12-25 15:35

It's so ridiculous for end-user to run non lts on daily usage from the very beginning
humans always doing crazy things. :lol:
Innovate
 
Posts: 174
Joined: 2015-12-27 01:28
Location: /dev/urandom


Return to Offtopic

Who is online

Users browsing this forum: bester69 and 2 guests

fashionable