Updating the HGST HDD & SSD firmware

thinking

New Member
Mar 3, 2021
7
0
1
Thank you,Whaaat.

I haven't seen this software before. What kind of command is used to flash firmware.

At the same time, can it be applied to WD hard disks? After hgst was acquired by WD, some models of hard disks are directly labeled with WD. Can this program be applied to such hard disks?
 

Schizophre

New Member
Mar 28, 2021
4
0
1
Hello,
I get the same error as sand_storm.
When I try to update my HUS724040ALS640 here is what I get:
Code:
root@schizo:~# sg_write_buffer -vv -m 5 --in=MPGNA3A0.bin /dev/sg3
open /dev/sg3 with flags=0x802
tried to read 8388608 bytes from MPGNA3A0.bin, got 1179648 bytes
will write 1179648 bytes
sending single write buffer, mode=0x5, mpsec=0, id=0, offset=0, len=1179648
    Write buffer cdb: 3b 05 00 00 00 00 12 00 00 00
    Write buffer parameter list (first 256 bytes):
12 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00  00 00 00 00 ff ff ff ff
48 47 53 54 2c 20 61 20  57 65 73 74 65 72 6e 20
44 69 67 69 74 61 6c 20  43 6f 6d 70 61 6e 79 20
49 43 33 35 4c 78 78 78  55 78 44 33 32 31 30 2d
30 20 4d 69 63 72 6f 63  6f 64 65 20 28 43 29 20
43 6f 70 79 72 69 67 68  74 20 57 65 73 74 65 72
6e 20 44 69 67 69 74 61  6c 20 43 6f 72 70 2e 20
32 30 31 32 2c 20 32 30  31 32 2d 32 30 31 33 2e
20 41 6c 6c 20 72 69 67  68 74 73 20 72 65 73 65
72 76 65 64 2e 20 20 55  53 20 47 6f 76 65 72 6e
6d 65 6e 74 20 55 73 65  72 73 20 52 65 73 74 72
69 63 74 65 64 20 52 69  67 68 74 73 20 2d 20 55
73 65 20 64 75 70 6c 69  63 61 74 69 6f 6e 20 66
6f 72 20 64 69 73 63 6c  6f 73 75 72 65 20 72 65
73 74 72 69 63 74 65 64  20 62 79 20 47 43 41 20
ioctl(SG_IO v3) failed: Invalid argument (errno=22)
Write buffer: pass-through os error: Invalid argument
Write buffer failed: OS error: Invalid argument
Here is my lsscsi output:
Code:
root@schizo:~# lsscsi -sig
[0:0:32:0]   enclosu DP       BACKPLANE        1.07  -          -  /dev/sg0        -
[0:2:0:0]    disk    DELL     PERC 6/i         1.22  /dev/sda   36842b2b053f1d100244390220b2c638b  /dev/sg1    119GB
[0:2:1:0]    disk    DELL     PERC 6/i         1.22  /dev/sdb   36842b2b053f1d1002443903f0ceb8a75  /dev/sg2   1.99TB
[1:0:0:0]    disk    HGST     HUS724040ALS640  A280  /dev/sdd   35000cca0734fd568  /dev/sg3   4.00TB
Maybe it is because my card does not support direct passthrough? It is a Dell H310 not IT flashed.
I tried many things but can't find any solution.
I'm not trying to reflash it to get a newer version but because my drive makes clicking noise for no reason (no bad sectors, good SMART) so I thought I could try that in case such utility as Norton Disk Encryption could have changed the firmware, or a similar HP utility (since there is an HP Security sticker) or just simply some weird options set. One of my friend had a similar behavior on a SATA disk and flashing the firmware "fixed" it.
Thanks a lot in advance!
 
Last edited:

Schizophre

New Member
Mar 28, 2021
4
0
1
Update (I'm not sure my last post is being showed because I edited it too much and is under approbation): After flashing the H310 to IT mode I could easily flash the new firmware.
The IR mode was not allowing direct passthrough. Didn't fix my clicking problem but eh
 

Schizophre

New Member
Mar 28, 2021
4
0
1
I Ielieve it's normal, but if you prefer complete silence disable background media scan and enable idle power saving - this will prevent drive from unnecessary head movements
Ok thank you! But how can I do that? Is it a setting on the drive controller or somehow on the HDD itself? Because the drive is simply connected to the controller and not event mounted or does this even if its disconnected from the SAS and only powered.
Thanks!
 

Terry Kennedy

Well-Known Member
Jun 25, 2015
1,075
513
113
New York City
www.glaver.org
That number sounds like an OEM firmware version (maybe that's what was asked for, I didn't review the entire thread). White-box versions of the HUH728080AL4200 drive normally come with 5xx series firmware versions. Also, I thing there are multiple underlying part numbers for the HUH728080AL4200 drive. The one I'm familiar with is 0F23651. I don't know if un-bundled firmware is universal across part numbers.
 

Whaaat

Active Member
Jan 31, 2020
149
40
28
White-box versions of the HUH728080AL4200 drive normally come with 5xx series firmware versions
Well, actually first letter "A" of microcode revision is omitted on the drive label but will be shown by the software info tools like smartctl. A5xx is a very old fimware (2014), you will rather find a drive with A7J0 (2015-2016) or A907 (2017-2018). I don't have anything fresher than A7JX for this particular model.
 

Terry Kennedy

Well-Known Member
Jun 25, 2015
1,075
513
113
New York City
www.glaver.org
Well, actually first letter "A" of microcode revision is omitted on the drive label but will be shown by the software info tools like smartctl. A5xx is a very old fimware (2014), you will rather find a drive with A7J0 (2015-2016) or A907 (2017-2018). I don't have anything fresher than A7JX for this particular model.
You're correct - I was mistaken. I have a bunch of drives at different revision levels, including A907. Is there any way to extract the firmware from the drive - I'd be glad to post A907 if it is retrievable. There's no documented SAS command to do it, but if it can be done via the serial management port or JTAG, I'm game.

Code:
<HGST HUH728080AL4200 A7JD>        at scbus7 target 16 lun 0 (pass3,da0)
<HGST HUH728080AL4200 A7JD>        at scbus7 target 17 lun 0 (pass4,da1)
<HGST HUH728080AL4200 A7JD>        at scbus7 target 18 lun 0 (pass5,da2)
<HGST HUH728080AL4200 A7JD>        at scbus7 target 19 lun 0 (pass6,da3)
<HGST HUH728080AL4200 A515>        at scbus7 target 20 lun 0 (pass7,da4)
<HGST HUH728080AL4200 A7JD>        at scbus7 target 21 lun 0 (pass8,da5)
<HGST HUH728080AL4200 A515>        at scbus7 target 22 lun 0 (pass9,da6)
<HGST HUH728080AL4200 A515>        at scbus7 target 23 lun 0 (pass10,da7)
<HGST HUH728080AL4200 A515>        at scbus7 target 24 lun 0 (pass11,da8)
<HGST HUH728080AL4200 A515>        at scbus7 target 25 lun 0 (pass12,da9)
<HGST HUH728080AL4200 A907>        at scbus7 target 26 lun 0 (pass13,da10)
<HGST HUH728080AL4200 A907>        at scbus7 target 27 lun 0 (pass14,da11)
<HGST HUH728080AL4200 A907>        at scbus7 target 28 lun 0 (pass15,da12)
<HGST HUH728080AL4200 A907>        at scbus7 target 29 lun 0 (pass16,da13)
<HGST HUH728080AL4200 A907>        at scbus7 target 30 lun 0 (pass17,da14)
<HGST HUH728080AL4200 A907>        at scbus7 target 31 lun 0 (pass18,da15)
 

korpas

New Member
Apr 8, 2021
1
0
1
Hello! Does anyone have a firmware for HGST HUSMR1616ASS205? And can someone upload HUGO again? The link doesn't work anymore...
 
Last edited:

DeffoWill

New Member
May 6, 2021
1
0
1
Hi guys wondering if someone can help me. I have a HUS727404ALS640 drive that's running A1C0 firmware, do you think it's possible to flash it to W3F0 (dell certified) firmware using this method? I've tried the tactic of editing .fwh files with no success this far.
 

Pheckphul

New Member
Feb 28, 2013
10
2
3
SF Bay Area
Hello. I picked up five NetApp-branded HGST HUS726060AL5214 SAS drives, and would like to replace the firmware with the most current HGST-generic firmware. smartctl reports the following:

Code:
Vendor:               NETAPP
Product:              X316_HAKPE06TA07
Revision:             NA00
Here's a photo of one of the drive's label:

HUS726060AL5214.small.jpg

Does anyone have generic firmware for this drive?

Thank you for your time.
 
Last edited:

Icenix

New Member
May 23, 2021
1
0
1
Hello,

Does anyone happen to have firmware for Hitachi HUSSL4040ASS600 ?
They were manufactured in 2012.

Thanks for all the info and help to the community.
 

Evanc9126

New Member
May 30, 2021
1
0
1
Hello there,

I have 3 HGST drives model HUSMR1616ASS200 with mixed firmwares, does anyone have links to the latest firmware for these? Two of them were manufactured in 2016 and the other 2017. The 2016s have firmware A300 and appear to have been pulled from a Dell appliance but not sure which one. The 2017 has A360 and no indication of a specific appliance.