-
Notifications
You must be signed in to change notification settings - Fork 64
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
Firmware update results in "Unaligned Writes"... #152
Comments
Thank you for reporting this. Most likely the drive is rejecting the command with an error of some kind, but the code translating to sense data sees a bit that is referred to as "alignment error" set, however that bit only has meaning on SATA drives for write commands (Write DMA, Write DMA ext, Write FPDMA, etc) and not others like the Download Microcode command that is being issued. One thing you can try is using the |
Hi! Noted on that point. Related to the issue I raised using the CFS file, this issue may be a red herring (although it would have been better to have a correct error message). Nevertheless, I have attached the logs using (i) the SeaChest utility that came packaged with the firmware files, and (ii) extended the test runs to include |
Thank you for that additional set of logs. What is interesting is that in these new logs, the status is coming back up as
I saw this when I checked the full download attempt, then went back into the other files and I noticed this showed up in the file While we cannot know the exact meaning of this status, I can guess it's trying to say something like "The drive failed this download so there was something wrong in the data sent to the drive that it did not like" since 5/26/00 means "Invalid field in parameter list" and sometimes controllers/drivers try to set their own unique codes....however I have not been able to find anything in the kernel's AHCI driver that sets this unique code. What is also interesting is that in this file, it used the default deferred download and this status happened when transferring the final data segment of the file to the drive and then when it attempted to send an activate firmware command that is where the "unaligned write" showed up. What this tells me is that the drive likely received all the firmware code, did its validation of the data it received, then reported some error back because something did not look right/compatible to the current firmware on the drive. I found one place where an ASC of 26h is set, but the ASCQ is set to zero. Reviewing some of the libATA code, I suspect the "unaligned write" is coming from here The TLDR: it seems like the drive received the entire firmware, didn't like something about it, and rejected it with an abort status. |
Attempting to update firmware on Seagate Exos X18 16TB (ST16000NM000J-2TW103) fails.
Using firmware file results in "unaligned writes" error.
Tried different variations of commands used. Used both RAID and Non-RAID versions.
Attached are the
-v3
logs and output, including system and drive information*_system_drive_info.txt
along with the two RAID/Non-RAID scripts used to generate them.More platform information as follows:
run_fwupgrade_Non-RAID.tar.gz
run_fwupgrade_RAID.tar.gz
firmware_unaligned_write.tar.gz
The text was updated successfully, but these errors were encountered: