Skip to content
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

sg_write_buffer firmware flashing #69

Open
david-bojnansky opened this issue Jul 8, 2021 · 1 comment
Open

sg_write_buffer firmware flashing #69

david-bojnansky opened this issue Jul 8, 2021 · 1 comment

Comments

@david-bojnansky
Copy link

Hello,

I am not involved in sg3_utils and know nothing about it in detail. I am just user of it...

I have been trying to flash firmware to SAS SSD drive with command such as:

sudo sg_write_buffer -b 4k -m dmc_offs_save -I file.rel -v /dev/sg1

and got an error:

image

I am just curious if I can do something with it or not... Is it related to the input file?

In fact, I am trying to flash Samsung PM1643 (not HPE labeled) with HPE firmware which is compatibile with such drive labeled with HPE label.

Thanks.

@doug-gilbert
Copy link
Contributor

Everything looks fine, 4 KB blocks going down to the drive, then on the fourteenth block it rejects it. Almost as if the drive didn't expect its firmware to be that long. 14x4096 bytes isn't very long for firmware. You could try different block sizes and modes. Perhaps HPE firmware has added key signing which the Samsung firmware does not have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants