Live data from Hacker News

Update Firmware of Samsung SSDs in Linux

blog.quindorian.org

71–80 of 131 posts

Re: Update Firmware of Samsung SSDs in Linux

#71

This is unfortunate. Can't do simple things easily, or at all, unless you boot windows. My mouse looked like Christmas tree until I installed some electron app on windows. There has to be a better way without the need to hack everything

> My mouse looked like Christmas tree until I installed some electron app on windows.

At least solaar exists for Logitech stuff. Too bad it's still not something Logitech provides, but the reverse engineering work of some volunteers.

https://pwr-solaar.github.io/Solaar/

Re: Update Firmware of Samsung SSDs in Linux

#72
post #53

Earlier quoted context omitted.

That reminds me of an internal hard disk I had several years ago. I think it was a Seagate, but it might have been Western Digital. This was a retail drive bought at BestBuy, and the box specifically said that it worked with Windows, MacOS, and Linux, although it noted that their fancy add-on software only worked under Windows. No problem for me, because I didn't need the fancy add-on software. A year later the drive…

>I'm not sure what would have happened if I had been a purely MacOS and Linux household. Passthrough to a VM, though I suppose the Windows license could be an issue.

Actually, since Win 10 you can run the OS indefinitely without a license. It just doesn't allow you to customize stuff like the wallpaper etc.

Ref: https://www.howtogeek.com/244678/you-dont-need-a-product-key...

Re: Update Firmware of Samsung SSDs in Linux

#73
post #58

Earlier quoted context omitted.

> it's a shame you can only make bootable Windows USB disks using the enterprise editions I remember in the Windows XP era, there was a third-party piece of software called BartPE. With BartPE you could create a preinstalled environment with WinXP Home even. Here is a page someone wrote with some details about BartPE: http://www.optimizingpc.com/miscellaneous/manual_bartpe.html Wikipedia: > As with Windows Preinstall…

Yeah, I remember this, seems like Microsoft copied a good idea.

BartPE was inspired by what Microsoft had already done.

From the http://www.optimizingpc.com/miscellaneous/manual_bartpe.html page linked above:

> WinPE (Microsoft's tool Windows Preinstallation Environment) is used by system builders to install and configure the Windows operating system on new computers. WinPE is commercial software and only available for system builders. Bart Lagerweij saw the advantages of this tool and decided to develop his own PE, named BartPE.

Re: Update Firmware of Samsung SSDs in Linux

#74
post #53

Earlier quoted context omitted.

That reminds me of an internal hard disk I had several years ago. I think it was a Seagate, but it might have been Western Digital. This was a retail drive bought at BestBuy, and the box specifically said that it worked with Windows, MacOS, and Linux, although it noted that their fancy add-on software only worked under Windows. No problem for me, because I didn't need the fancy add-on software. A year later the drive…

Yeah my Ryzen CPU came with a free game but the only way to submit the form was to run some Windows tool. I had to get the state consumer fraud bureau involved before AMD would honor their promotion.

Hah, I still remember that promo. Even on Windows, the tool was super flaky and often did not detect the hardware.

Re: Update Firmware of Samsung SSDs in Linux

#75

Earlier quoted context omitted.

> After a couple of decades of updating firmware on things whenever possible, I'm yet to have a real issue. I used to be in the same boat, up until a few weeks ago when I updated the BIOS on my new work laptop. It's been a shitshow ever since: it takes around one minute to POST, the webcam isn't detected anymore, it doesn't go to sleep. And the best part? "Because this update contains security features, it cannot be…

I have found that on my machines, they provide a means to disable the security check and allow the downgrade anyway. This is a real issue though, there is the risk of failure during the procedure, less so than it once was, but then the risk that the update actually performs worse than the previous version. The latter I don't know how we resolve.

> I have found that on my machines, they provide a means to disable the security check and allow the downgrade anyway.

I was usually able to this, and my other HP machines propose to do a BIOS downgrade. But in this particular case I haven't managed to do a rollback, even with a "BIOS recovery", whatever that is.

Re: Update Firmware of Samsung SSDs in Linux

#76
I was confronted with this last Saturday and ended up following this how-to.

I simply couldn't believe that their tool required a PS/2 keyboard, when most modern Mainboards no longer have such a port.

In any case, updating the firmware didn't fix the issue that my 980 Pro NVMes (all 4 of them) only have a write speed of between 400 and 500 MB/s (read is at ~6.7 GB/s), using Ubuntu 20.04.

A WD_BLACK SN850 NVMe manages to write at 3.8 GB/s in the same slot (Ryzen 9 5950X on ASUS Pro WS X570-ACE)

BTW: I faced the same keyboard issue a month ago when I wanted to use another Samsung tool to erase a Evo 870 SSD for RMA with the Secure Erase feature.

Re: Update Firmware of Samsung SSDs in Linux

#77
post #4

Earlier quoted context omitted.

A pain Linux users know all too well. https://robots.org.uk/ToshibaX30X40FirmwareUpdate

Not just Linux users. My wife got a Satechi On-the-Go USB-C hub for her MacBook. Satechi sells itself as a premium brand for Mac accessories. However, when the advertised 4k@60Hz support did not work, their support suggested that we update the firmware. They could only provide firmware updater for Windows. Unfortunately, even on Windows the firmware update would not work, spitting out completely uninformative error m…

Oof. That'd be an RTM for me--product not fit for purpose.

At least with Toshiba/Dynabook, it's vaguely possible for a techie to pull apart their firmware update process & hack something together that doesn't require Windows any more...

Re: Update Firmware of Samsung SSDs in Linux

#78
post #13

does that firmware update come with any changelog? I have the same drive for my database dev work and I somehow feel uneasy to update it without really knowing what will change, will my specific workload improve or tank due to some other edge case they might have solved or broken? I mean, the drive works fine, will it work even better? for what workloads exactly? All I could find was someone mentioning it works bette…

Same thing for me. A quick search did not result in any official changelog, but some forum entries (e.g. [1] and [2]) suggest that random read + write performance under windows seems to have been improved. [1] https://www.elevenforum.com/t/samsung-980-pro-firmware-updat... [2] (in german) https://www.deskmodder.de/blog/2022/01/26/samsung-firmwareup...

FWIW: Write speed does not improve on Ubuntu 20.04. Still stuck at 400 to 500 MB/s. This was the issue which made me want to install the new firmware, and there was nothing on the drives which I cared about.

Upgraded from to 3B2QGXA7 to 5B2QGXA7.

Re: Update Firmware of Samsung SSDs in Linux

#79
post #76

I was confronted with this last Saturday and ended up following this how-to. I simply couldn't believe that their tool required a PS/2 keyboard, when most modern Mainboards no longer have such a port. In any case, updating the firmware didn't fix the issue that my 980 Pro NVMes (all 4 of them) only have a write speed of between 400 and 500 MB/s (read is at ~6.7 GB/s), using Ubuntu 20.04. A WD_BLACK SN850 NVMe manages…

> updating the firmware didn't fix the issue that my 980 Pro NVMes (all 4 of them) only have a write speed of ...

In order to see spec sheet read/write speeds you can/should bypass the filesystem and the buffer cache. On Linux you can write directly to the device node (make sure to enable O_DIRECT and make your write sizes big enough).

EDIT: added a quote to clarify context

Re: Update Firmware of Samsung SSDs in Linux

#80

This is unfortunate. Can't do simple things easily, or at all, unless you boot windows. My mouse looked like Christmas tree until I installed some electron app on windows. There has to be a better way without the need to hack everything

I thought linux users wanted to be HaX0rs :p

It'd be nice if companies didn't necessitate installing a completely different operating system just to make your mouse not look like a rave. Thankfully, some open source projects are gaining the proper functionality to replace the awful lighting configuration software most manufacturers provide.
Post reply on HN