-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSD Firmware #124
Comments
Does anybody know, which versions of the firmware have this problem? I am on 1.8 and never had any issue running arch on it (including luks-encryption, no swap). |
The point I was trying to make is that it's not normal usage to rewrite the -- rec -- On Wed, Mar 16, 2016 at 10:39 AM, Eric Hegnes notifications@github.com
|
@recri I got a new flash drive, put arch linux 2016.03.01 on it, booted it, then rsync'd the firmware over from a separate machine, then ran the command. |
@recri, I did mention that it should probably be done from a LiveCD. Google solves this issue by providing the firmware in a |
@remexre just curious: is that an actual SSD or a USB flash drive? |
The live disk was from a flash drive from some conference, |
@stefanwiegmann i can confirm that 1.8 is affected, my ssd died about 5 minutes ago and i was running firmware version 1.8. (Ubuntu not Arch but it probably doesnt matter) Luckily i dd'd my drive on Wednesday so if i can get a replacement ill be able to re-image it @raphael did google give you a hard time about being in developer mode? |
thanks for the info, pruddiman. guess I'll dd and sit down on the weekend to do whatever I have to do. |
Uh oh. Looks like this is a bigger issue than I originally thought. I suppose I too will be In the worst case (most kludgy) scenario, would it be possible to restore ChromeOS with the official recovery images, boot with their EDIT: I'll be on IRC if anybody has some more insights. I'm not exactly an expert in the world of firmware. |
@pruddiman it took some convincing, had to send videos. If you have fsck logs these help. @ehegnes I keep 5gb to dual boot chromeos for updates. |
@raphael, that sounds like a wise idea for whenever I reinstall next. On Thu, Mar 17, 2016, 10:10 PM Raphaël Simon notifications@github.com
|
as I said, I'll dd and flash the firmware, no problem. But I am still curious: is the firmware really the reason for the ssd failures? Or do we have to be careful with something else as well. I remember the arch thread https://bbs.archlinux.org/viewtopic.php?pid=1587933#p1587933 had comments about degrading performance for some. I never had these issues. Could it be something like passing all the discards through fstab, lvm and luks or swap space/swappiness? |
Hey I have been following this repo for a little while and going through the threads. I just got my pixel, but I don't know how to check my SSD firmware. I am running Arch with kernel version 4.4.2-6. Also, @ehegnes what channel are you guys on? |
@pierater you can check your firmware version with |
@stefanwiegmann good question. I had my swap mounted on a usb drive so we know that's not the problem. I wonder if my 10 Linux kernel compilation a day usage pattern contributed to the problem although I'm not sure it's the right order of magnitude (in terms of how many writes one can make before the SSD starts failing). It did degrade progressively as I had to run fsck a few times before the final failure. I wish I knew the real root cause. |
@raphael so you had constantly errors piling up in fsck's? I don't think your compiling is enough to have these issues already, if it should last years under "normal" usage, with "normal" covering average users writing, reading, caching movies and music all the time |
Agreed. I had to run |
I've got Arch running on firmware revision S9FM01.8 for SSD without any performance issues. I've got it formatted with BTRFS though, so read/writes patterns are probably going to be slightly different. |
I'm running arch with 1.8, although it's only been just over a week and I haven't noticed anything. How long is it taking for the SSDs to die? |
Same situation for me as @nelsonni: Arch, btrfs, firmware 1.8. Good partition scheme with nothing fancy on top. I've had the Pixel set up this way since August. But I'm scared. I can't have my computer stop working while I'm at school. |
it's good to read, that some report no issues on 1.8. But having updated firmware wouldn't be bad either. Did anybody flash the firmware outside of chromeOS (from other liveCD?) via |
I'm using F2FS on 1.8, and @stefanwiegmann I just tried If it's any consolation, it seems that 1.7 is the earliest fw, not 1.8. I'm going to ditch this custom update method for now and try to dual boot as per @raphael's suggestion, updating via the official payload. |
Although it will be a longer solution, I can do a write-up if it works. |
@ehegnes did you try this: https://wiki.archlinux.org/index.php/SSD_memory_cell_clearing. I wonder if that would fix it. I did that before I did my install, just as a pre-caution. It will wipe everything, so you either dd or take your time to install everything all over again. |
@stefanwiegmann neat resource! I'll try it before I recover ChromeOS. |
@stefanwiegmann, full disk erasure did not solve the I'm currently in the process of recovering and setting up dual boot. |
@ehegnes "hdparm issues" meaning being able to flash the firmware? I was more hoping/expecting the fsck errors would go away :-) Good luck! |
@stefanwiegmann oops! I meant being able to flash the firmware. I suppose I misread your suggestion and just missed my chance to check the errors. I am, however, on 2.3 now. I used this script, provided by Google, to create a recovery drive. After recovery (hold ESC + F3 and tap Power), on its first boot it warns of a "critical update" and reboots twice, presumably installing firmware update(s), before launching into ChomeOS. At this point, I could either |
@ehegnes :-) at least you have newest firmware now. So, do we know now, if you don't get any errors anymore, what it was? firmware or ssd-reset? Guess it wouldn't matter much to you ;-) |
I actually don't know if I'm error-free. I don't have a LiveCD with recent enough |
Okay, I am curious. Thanks for updating! |
Finally got a dual boot working. Ran a full check on all partitions and everything seems fine with the disk. I suppose we never found a proper solution to updating the firmware, but I'd be glad to do a write-up if there is interest? Some of the intricacies of dual booting with ChromeOS are not trivial. |
How did you do it? The script in the Arch wiki was painless and nearly fully automated if I recall correctly (it was many months ago at this point. I had decided to dual boot for this exact reason - firmware updates - though I was more concerned about the typec->dp adapter). |
@colemickens, after restoring ChromeOS, I used Google's GPT partitioning tool That was a mite rushed. I can include resource links and specific commands if it would help. |
The parts that weren't trivial for me were recognizing that you can only resize partitions, not delete or create them (otherwise, ChormeOS complains that you need to restore the OS again) and recognizing that you need to use |
I just used this: https://wiki.archlinux.org/index.php/Chrome_OS_devices#Alternative_installation.2C_Install_Arch_Linux_in_addition_to_Chrome_OS Worked out of the box. Didn't have to do anything special with kernel placement or anything. A completely normal install of Arch worked and I could dual boot afterward. |
@colemickens Right, that's the kind of script that I would recommend for partitioning. Is your boot partition separate from your root partition, or is everything on one partition? |
I was lazy, it's just one partition. |
Then I stand corrected and suppose you don't need to use KERN-C. :) Thanks for the added info. |
glad you are back in business! Guess for now, I am to lazy to change anything. Sounds like everybody had visible errors leading up to this and you two just proofed it can be fixed at that point by yourself. As long as I don't get fsck issues, I keep what I have. Thanks! |
So what's the state of play now? I've been running Slackware current since a little after the launch of the pixel, and as a result haven't received any of Google's firmware updates. Is it critically recommended to get these updates? Seeing this has kinda scared me, I can't have my SSD die during uni. |
@iain-logan, I would I opted to dual boot, if only because it makes playing DRM content much less painful. Updating the firmware is probably a good idea, and if you are getting Would you like a detailed guide? :) EDIT: Also, Slackware is awesome. |
Thanks for the prompt response! Cool, I've got Dual boot does sound like an attractive option for getting future updates, but I think I'll need to leave that for when I have more time. In regards to I'm ashamed to admit that I'm no expert when it comes to this kind of thing, so a bit of a guide would be really appreciated. Perhaps this kind of information would be worth adding to the README here? |
if I remember correctly, the situation is this; @ehegnes, @raphael, please correct me, if I'm wrong: There are pixels with ssd firmware 1.8 or lower, which suffer from degrading performance and visible fsck errors. There are many pixels on 1.8 which don't have issues. fsck on boot should be on by default. You would know, if you turned it off. If you have errors, you should see them during boot. fsck on ArchWiki @raphael didn't do anything about it and it died. He was able to get it replaced, but it didn't sound like the standard-no-questions-asked procedure. Once you get fsck errors or have degrading performance, you still have time to do what @ehegnes did. I don't have problems (I am on 1.8) and will wait until I get them or until I want to redo everything anyway. |
Dual boot seems like a good way to go for future updates. It would be On Sun, Apr 3, 2016 at 4:34 PM, Stefan Wiegmann notifications@github.com
|
@stefanwiegmann, that all seems correct, except I didn't do the disk erasure in the way that the Arch wiki describes. I just restored ChomeOS, which is (probably?) effectively the same. @SimionKreimer, I'll do a full write-up tomorrow morning with directions for dual-booting Arch, Ubuntu, and other distros, along with directions for backing up, installing the updates through ChromeOS, and restoring without dual-booting. @raphael, the README is getting kinda long. Might it make sense to add my write-up to a wiki page instead and add a link to it on the README? |
Well, I have a dirt simple dual boot which may not be for everyone. I simply told Ubuntu 15.10 to install on /dev/sda1 as the root and only It's extremely unhygienic, but there it is. -- rec -- On Sun, Apr 3, 2016 at 7:55 PM, SimionKreimer notifications@github.com
|
Actually, I didn't realize that there wasn't an install script for Arch, so that won't be in the write-up. @recri that may work, although I wouldn't know how. I was thinking of summarizing the instructions here and providing a script so that people can understand how their system is being partitioned while also easily making room for another distribution. Then they can simply use an official installer or install normally, taking care to select a certain partition as their root partition. |
Is there any way to update the firmware after the SSD stops working? Right now using the recovery media doesn't help either and responds with "and unexpected error has occurred." Seabios stopped working a while ago as well, which meant I couldn't boot to external media either. Now I don't see how it could possibly boot. I might try to see if they will replace my chromebook, but I imagine they wont. Edit: Also looks like I've gone over the 1 year warranty as well. |
Hey y'all, just to confirm. The SSD issues were definitely due to firmware? I was having SSD problems and just assumed it was a hardware failure, so I reinstalled chromeos so that I could get this thing warrantied. But upon installing chromos, the failures stopped and I'm not sure how to detect the errors with chomeos. The "crosh" |
:-) you basically did, what @ehegnes did. Restored ChromeOS, which in the process updated your firmware. It also wiped your ssd completely before doing that. This is "a" way to fix it. Good to know it works this way. The other way I was curious about is doing the wipe yourself, keep the old firmware and install from scratch (Not ChromeOS). But this is hypothetical, if anybody tries this, please keep me posted. |
@ehegnes I'd appreciate a write up. I'd like to dual boot Arch and chromeos so I can still get firmware updates. Also I've never installed Arch, I was on Debian before. |
@cowlicks, I have been meaning to do a write up for a while. I'll make that a priority for the wiki. @colemickens pointed out above that he used this Arch wiki section to guide him in installing Arch alongside Chrome OS. That guide, however, is a mite vague, and I aim to provide something that is much more detailed. |
Good news, they replaced my Pixel! I tried to make crouton work, but it just doesn't work well with Arch Linux. Hopefully there wont be another firmware bug like the previous one... Just to be clear, ChromeOS permanently updates the firmware, right? |
Prompted by @sprc's suggestion in issue #122, discussion of the SSD firmware shall be confined to this thread.
The following update was suggested by me:
This didn't work, resulting in:
But this also did not harm the drive.
Mentions: @remexre, @recri, @aeroevan
The text was updated successfully, but these errors were encountered: