Western Digital Drive Update Guide Without Windows/WD Dashboard

I’ve been watching this thread while getting increasingly irritated by my WD SN770’s propensity to flub a wake-from-s2-idle and cause the kernel to remount all my filesystems read-only.

Yesterday, irritation exceeded trepidation and encouraged by @Klaas successfully hacking on @not_a_feature’s script I decided to take the plunge. In case it matters:

$ uname -r
6.1.0-1027-oem
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Linuxmint
Description:	Linux Mint 21.1
Release:	21.1
Codename:	vera

My first attempt at running the script failed. The output gave me the clue I needed. Mint does not include the nvme-cli package and so the command-line tools were not available.
Suggestion: the script be modified to check this and bale early. Happy to submit a patch (not sure it warrats a pull request).

With nvme-cli installed the script ran and produced some unexpected and faintly troubling output.

Model: WD_BLACK SN770 500GB
Firmware Revision: 731030WD

Firmware File: 731120WD.fluf
Dependencies:
731030WD
731100WD

Downloading firmware from https://wddashboarddownloads.wdc.com/wdDashboard/firmware/WD_BLACK_SN770_500GB/731120WD/731120WD.fluf...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 2732k  100 2732k    0     0  2442k      0  0:00:01  0:00:01 --:--:-- 2443k

Firmware download success
Firmware download complete. Switching to new firmware...
Success committing firmware action:3 slot:2
Multiple Update Detected (MUD) Value: 2202615
Detected an overlapping firmware/boot partition image update command sequence due to processing a command from a Management Endpoint
Detected an overlapping firmware/boot partition image update command sequence due to processing a command from an Admin SQ on a controller
Firmware update process completed. Please reboot.

I steeled myself for a bricked SSD and rebooted. Happily, everything seemed peachy (and continues to be so).

$ cat /sys/class/nvme/nvme0/firmware_rev
731120WD

Perhaps one of you knowledgeable contributors could help NVMe newbies (like me) understand what ‘Multiple Update’ means in this context.

Thanks for making this available. I’ll report back if it didn’t fix my read-only filesystem problem.

Dino

2 Likes